RAL Classic color

RAL 1002 Sand yellow #C6A664

RAL 1002 Sand yellow is shown here as #C6A664, a widely published sRGB approximation of the printed swatch. It is a light muted amber in the yellow family. In OKLCH it sits at lightness 0.739, chroma 0.093 and hue 84.3°. The nearest CSS named color is burlywood (#DEB887), ΔE2000 7.4 away.

Relative luminance
0.4020
OKLCH L · C · h
0.739 · 0.093 · 84.3
Best text
Black 9.03:1
Hue family
Yellow

#C6A664 color codes

HEX
#C6A664
RGB
rgb(198, 166, 100)
HSL
hsl(40, 46%, 58%)
OKLCH
oklch(0.739 0.093 84.3)
OKLab
oklab(0.739 0.009 0.092)
CIELAB (D65)
L* 69.61, a* 3.25, b* 38.36
XYZ (D65)
X 39.23, Y 40.20, Z 17.75
CMYK (naive)
cmyk(0%, 16%, 49%, 22%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #C6A664 accessible?

Black text on it reaches 9.03:1, passing AAA. White text fails at 2.32:1.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    9.03:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +58
  • White text on it

    2.32:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc −50
  • As text on black

    9.03:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc −56
  • As text on white

    2.32:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +45

Nearest versions that pass 4.5:1

  • For text on white

    #91722F 4.51:1

    Darkening its OKLCH lightness from 0.74 to 0.57 reaches 4.51:1 on white, keeping the hue.

  • For text on black

    #C6A664 9.03:1

    It already reaches 9.03:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #C6A664 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #C6A664

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #C6A664 sits at step 400.

  1. 50#FFF4DE
    White
    1.09
    Black
    19.24
  2. 100#FFE9BC
    White
    1.19
    Black
    17.63
  3. 200#F1D499
    White
    1.43
    Black
    14.61
  4. 300#D8BA7C
    White
    1.86
    Black
    11.23
  5. 400This color#C6A664
    White
    2.32
    Black
    9.03
  6. 500#A0813F
    White
    3.67
    Black
    5.70
  7. 600#886A26
    White
    5.07
    Black
    4.13
  8. 700#6F530B
    White
    7.19
    Black
    2.91
  9. 800#523C00
    White
    10.47
    Black
    2.00
  10. 900#362600
    White
    14.64
    Black
    1.43
  11. 950#1F1400
    White
    18.12
    Black
    1.15

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #C6A664 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.152; #C6A664 uses 61% of it. Display P3, which many recent phones and laptops show, reaches 0.175 there: 15% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.093
sRGB edge
0.152
Display P3 edge
0.175
Rec. 2020 edge
0.179
Dominant wavelength
578 nm
Excitation purity
49%
Chromaticity
x 0.4037, y 0.4137
  • This color#C6A664
  • Most vivid in sRGB#D7A100
  • Most vivid in Display P3oklch(0.739 0.175 84.3)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #c6a664;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.8311 0.6312 0); }
}

Mixing

Mixing #C6A664

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#E3D3B2
  • OKLab50%#E2D2B2
  • OKLCH50%#E2D2B2

Black #000000

  • sRGB50%#635332
  • OKLab50%#4B3E22
  • OKLCH50%#4B3E22

Its complement #8DAAE6

  • sRGB50%#AAA8A5
  • OKLab50%#AAAAAB
  • OKLCH50%#65BEA6
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #c6a664, white);
color: color-mix(in oklch, #c6a664 50%, white);

In use

#C6A664 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:19.03:1 Passes
  • Link and body-size textText, 4.5:12.32:1 Fails
  • Large headingLarge text, 3:12.32:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.32:1 Fails

For text on this page, the nearest shade that passes is #91722F 4.51:1

Dark page

  • Button labelText, 4.5:19.03:1 Passes
  • Link and body-size textText, 4.5:18.06:1 Passes
  • Large headingLarge text, 3:18.06:1 Passes
  • Icons, borders and focus ringsNon-text, 3:18.06:1 Passes

Color vision

How #C6A664 looks with color blindness

Tritanopia changes it most, ΔE2000 23.6; protanopia changes it least, 5.5.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #B5A55F ΔE2000 5.5

    Noticeable

    Reads as light muted amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #BDAE66 ΔE2000 5.9

    Noticeable

    Reads as light muted amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #D49B96 ΔE2000 23.6

    Distinct

    Reads as light muted red

  • Achromatopsia

    No cone color vision; lightness only

    #AAAAAA ΔE2000 20.7

    Distinct

    Reads as light gray

Pairing check

Checked against its complement, #8DAAE6. Their lightness contrast is only 1.00:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#C6A664 · #8DAAE642.1Stays distinct
Protanopia#B5A55F · #95AEE943.6Stays distinct
Deuteranopia#BDAE66 · #8CA6E545.0Stays distinct
Tritanopia#D49B96 · #70B6BF46.0Stays distinct
Achromatopsia#AAAAAA · #AAAAAA0.0Easily confused

Harmony

Color harmonies for #C6A664

Its complement is #8DAAE6, a light muted blue, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#C6A664
  • Complement#8DAAE6

Complementary

Open in Harmony Studio
  • −30°#D99B72
  • Base#C6A664
  • +30°#A9B26C
  • Base#C6A664
  • +120°#5ABCC6
  • +240°#C897CC
  • Base#C6A664
  • +150°#6CB4DC
  • +210°#AE9FE0

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-1002: #c6a664;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-1002': '#c6a664',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-1002: oklch(0.739 0.093 84.3);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-1002": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.7765, 0.651, 0.3922],
        "hex": "#c6a664"
      },
      "$description": "RAL 1002 Sand yellow (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral1002 = Color(.sRGB, red: 0.776, green: 0.651, blue: 0.392, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral1002 = Color(0xFFC6A664)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #C6A664 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.