#CDC07F#CDC07F
#CDC07F is a light, moderate yellow. Relative luminance 0.522; OKLCH L 80.4% C 0.086 H 98.3°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC07F |
|---|---|
| RGB | rgb(205, 192, 127) |
| HSL | hsl(50, 44%, 65%) |
| HSV | hsv(50, 38%, 80%) |
| CMYK | cmyk(0%, 6.3%, 38%, 19.6%) |
| CIE-LAB | lab(77.41, -4.84, 34.42) |
| CIE-LCH | lch(77.41, 34.76, 98.00°) |
| OKLab | oklab(80.36% -0.0123 0.0847) |
| OKLCH | oklch(80.36% 0.086 98.3) |
| XYZ | xyz(47.8581, 52.2121, 27.6315) |
| Luminance | 0.5221 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.18
Sand
#C2B280
ΔE00 4.84
Sand (survey)
#E2CA76
ΔE00 5.25
Tan (survey)
#D1B26F
ΔE00 6.30
Sandstone
#C9AE74
ΔE00 6.40
Very Light Brown
#D3B683
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC07F #7F8CCD
analogous
#CD997F #CDC07F #B3CD7F
triadic
#CDC07F #7FCDC0 #C07FCD
tetradic
#CDC07F #7FCD99 #7F8CCD #CD7FB3
square
#CDC07F #7FCD99 #7F8CCD #CD7FB3
split-complementary
#CDC07F #7FB3CD #997FCD
monochromatic
#97873B #BCAA53 #CDC07F #DED6AB #EFEBD7
Accessibility & contrast
On white
1.84
#CDC07F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.44
#CDC07F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC07F
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC07F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC07F | 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)
#CCBC7A
Deuteranopia (green-blind)
#D0C181
Tritanopia (blue-blind)
#D8B7B0
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc07f; /* rgb */ color: rgb(205, 192, 127); /* oklch */ color: oklch(80.4% 0.086 98.3);
Tailwind
colors: {
custom: {
50: '#ddd2a5',
500: '#cdc07f',
950: '#000000',
},
}SCSS
$custom: #cdc07f; $custom-light: #ddd2a5; $custom-dark: #000000;
JSON
{
"hex": "#cdc07f",
"rgb": {
"r": 205,
"g": 192,
"b": 127
},
"hsl": {
"h": 50,
"s": 43.82,
"l": 65.098
},
"oklch": {
"l": 0.80357,
"c": 0.08559,
"h": 98.3
},
"luminance": 0.52211
}Semantic roles & 50–950 ramp
primary
#CDC07F
secondary
#53609D
accent
#45B72F
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380