#CDC06F#CDC06F
#CDC06F is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.103 H 100.3°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC06F |
|---|---|
| RGB | rgb(205, 192, 111) |
| HSL | hsl(52, 48%, 62%) |
| HSV | hsv(52, 46%, 80%) |
| CMYK | cmyk(0%, 6.3%, 45.9%, 19.6%) |
| CIE-LAB | lab(77.18, -6.53, 42.29) |
| CIE-LCH | lch(77.18, 42.79, 98.78°) |
| OKLab | oklab(80.1% -0.0185 0.1017) |
| OKLCH | oklch(80.1% 0.103 100.3) |
| XYZ | xyz(46.8969, 51.8276, 22.5692) |
| Luminance | 0.5183 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.48
Sand (survey)
#E2CA76
ΔE00 4.38
Greenish Beige
#C9D179
ΔE00 6.63
Tan (survey)
#D1B26F
ΔE00 6.99
Desert
#CCAD60
ΔE00 7.00
Sand
#C2B280
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC06F #6F7CCD
analogous
#CD916F #CDC06F #ABCD6F
triadic
#CDC06F #6FCDC0 #C06FCD
tetradic
#CDC06F #6FCD91 #6F7CCD #CD6FAB
square
#CDC06F #6FCD91 #6F7CCD #CD6FAB
split-complementary
#CDC06F #6FABCD #916FCD
monochromatic
#908332 #BDAC42 #CDC06F #DDD49C #EDE8CA
Accessibility & contrast
On white
1.85
#CDC06F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.37
#CDC06F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC06F
11.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC06F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC06F | 1.00 | 1.85 | 11.37 | 11.37 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBC68
Deuteranopia (green-blind)
#D2C172
Tritanopia (blue-blind)
#DAB6AD
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #cdc06f; /* rgb */ color: rgb(205, 192, 111); /* oklch */ color: oklch(80.1% 0.103 100.3);
Tailwind
colors: {
custom: {
50: '#ded29a',
500: '#cdc06f',
950: '#000000',
},
}SCSS
$custom: #cdc06f; $custom-light: #ded29a; $custom-dark: #000000;
JSON
{
"hex": "#cdc06f",
"rgb": {
"r": 205,
"g": 192,
"b": 111
},
"hsl": {
"h": 51.702,
"s": 48.454,
"l": 61.961
},
"oklch": {
"l": 0.801,
"c": 0.10338,
"h": 100.3
},
"luminance": 0.51826
}Semantic roles & 50–950 ramp
primary
#CDC06F
secondary
#4A5596
accent
#3EBC2A
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F