#CDC07E#CDC07E
#CDC07E is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.087 H 98.4°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC07E |
|---|---|
| RGB | rgb(205, 192, 126) |
| HSL | hsl(50, 44%, 65%) |
| HSV | hsv(50, 39%, 80%) |
| CMYK | cmyk(0%, 6.3%, 38.5%, 19.6%) |
| CIE-LAB | lab(77.39, -4.95, 34.92) |
| CIE-LCH | lch(77.39, 35.27, 98.07°) |
| OKLab | oklab(80.34% -0.0127 0.0858) |
| OKLCH | oklch(80.34% 0.087 98.4) |
| XYZ | xyz(47.7932, 52.1862, 27.2900) |
| Luminance | 0.5219 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.06
Sand
#C2B280
ΔE00 4.97
Sand (survey)
#E2CA76
ΔE00 5.15
Tan (survey)
#D1B26F
ΔE00 6.31
Sandstone
#C9AE74
ΔE00 6.46
Very Light Brown
#D3B683
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC07E #7E8BCD
analogous
#CD997E #CDC07E #B2CD7E
triadic
#CDC07E #7ECDC0 #C07ECD
tetradic
#CDC07E #7ECD99 #7E8BCD #CD7EB2
square
#CDC07E #7ECD99 #7E8BCD #CD7EB2
split-complementary
#CDC07E #7EB2CD #997ECD
monochromatic
#96873A #BCAA52 #CDC07E #DED6AA #EFEBD6
Accessibility & contrast
On white
1.84
#CDC07E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.44
#CDC07E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC07E
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC07E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC07E | 1.00 | 1.84 | 11.44 | 11.44 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCBC79
Deuteranopia (green-blind)
#D0C180
Tritanopia (blue-blind)
#D8B7AF
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc07e; /* rgb */ color: rgb(205, 192, 126); /* oklch */ color: oklch(80.3% 0.087 98.4);
Tailwind
colors: {
custom: {
50: '#ddd2a4',
500: '#cdc07e',
950: '#000000',
},
}SCSS
$custom: #cdc07e; $custom-light: #ddd2a4; $custom-dark: #000000;
JSON
{
"hex": "#cdc07e",
"rgb": {
"r": 205,
"g": 192,
"b": 126
},
"hsl": {
"h": 50.127,
"s": 44.134,
"l": 64.902
},
"oklch": {
"l": 0.8034,
"c": 0.08674,
"h": 98.4
},
"luminance": 0.52185
}Semantic roles & 50–950 ramp
primary
#CDC07E
secondary
#535F9D
accent
#45B72E
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380