#CDC07D#CDC07D
#CDC07D is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.088 H 98.6°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC07D |
|---|---|
| RGB | rgb(205, 192, 125) |
| HSL | hsl(50, 44%, 65%) |
| HSV | hsv(50, 39%, 80%) |
| CMYK | cmyk(0%, 6.3%, 39%, 19.6%) |
| CIE-LAB | lab(77.38, -5.06, 35.42) |
| CIE-LCH | lch(77.38, 35.78, 98.14°) |
| OKLab | oklab(80.32% -0.0131 0.0869) |
| OKLCH | oklch(80.32% 0.088 98.6) |
| XYZ | xyz(47.7290, 52.1605, 26.9518) |
| Luminance | 0.5216 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.96
Sand (survey)
#E2CA76
ΔE00 5.05
Sand
#C2B280
ΔE00 5.10
Tan (survey)
#D1B26F
ΔE00 6.32
Sandstone
#C9AE74
ΔE00 6.52
Very Light Brown
#D3B683
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC07D #7D8ACD
analogous
#CD987D #CDC07D #B2CD7D
triadic
#CDC07D #7DCDC0 #C07DCD
tetradic
#CDC07D #7DCD98 #7D8ACD #CD7DB2
square
#CDC07D #7DCD98 #7D8ACD #CD7DB2
split-complementary
#CDC07D #7DB2CD #987DCD
monochromatic
#96873A #BCAB51 #CDC07D #DED5A9 #EFEBD5
Accessibility & contrast
On white
1.84
#CDC07D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.43
#CDC07D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC07D
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC07D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC07D | 1.00 | 1.84 | 11.43 | 11.43 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBC78
Deuteranopia (green-blind)
#D0C180
Tritanopia (blue-blind)
#D8B7AF
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc07d; /* rgb */ color: rgb(205, 192, 125); /* oklch */ color: oklch(80.3% 0.088 98.6);
Tailwind
colors: {
custom: {
50: '#ddd2a3',
500: '#cdc07d',
950: '#000000',
},
}SCSS
$custom: #cdc07d; $custom-light: #ddd2a3; $custom-dark: #000000;
JSON
{
"hex": "#cdc07d",
"rgb": {
"r": 205,
"g": 192,
"b": 125
},
"hsl": {
"h": 50.25,
"s": 44.444,
"l": 64.706
},
"oklch": {
"l": 0.80323,
"c": 0.08789,
"h": 98.6
},
"luminance": 0.52159
}Semantic roles & 50–950 ramp
primary
#CDC07D
secondary
#525E9C
accent
#44B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380