#CDC06C#CDC06C
#CDC06C is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.107 H 100.6°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC06C |
|---|---|
| RGB | rgb(205, 192, 108) |
| HSL | hsl(52, 49%, 61%) |
| HSV | hsv(52, 47%, 80%) |
| CMYK | cmyk(0%, 6.3%, 47.3%, 19.6%) |
| CIE-LAB | lab(77.14, -6.82, 43.74) |
| CIE-LCH | lch(77.14, 44.26, 98.86°) |
| OKLab | oklab(80.06% -0.0197 0.1047) |
| OKLCH | oklch(80.06% 0.107 100.6) |
| XYZ | xyz(46.7345, 51.7627, 21.7139) |
| Luminance | 0.5176 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 3.60
Sand (survey)
#E2CA76
ΔE00 4.40
Greenish Beige
#C9D179
ΔE00 6.61
Desert
#CCAD60
ΔE00 7.08
Tan (survey)
#D1B26F
ΔE00 7.21
Sandy
#F1DA7A
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC06C #6C79CD
analogous
#CD906C #CDC06C #AACD6C
triadic
#CDC06C #6CCDC0 #C06CCD
tetradic
#CDC06C #6CCD90 #6C79CD #CD6CAA
square
#CDC06C #6CCD90 #6C79CD #CD6CAA
split-complementary
#CDC06C #6CAACD #906CCD
monochromatic
#8E8230 #BCAB40 #CDC06C #DDD49A #ECE7C7
Accessibility & contrast
On white
1.85
#CDC06C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.35
#CDC06C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC06C
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC06C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC06C | 1.00 | 1.85 | 11.35 | 11.35 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEBB65
Deuteranopia (green-blind)
#D2C170
Tritanopia (blue-blind)
#DAB5AC
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cdc06c; /* rgb */ color: rgb(205, 192, 108); /* oklch */ color: oklch(80.1% 0.107 100.6);
Tailwind
colors: {
custom: {
50: '#ded298',
500: '#cdc06c',
950: '#000000',
},
}SCSS
$custom: #cdc06c; $custom-light: #ded298; $custom-dark: #000000;
JSON
{
"hex": "#cdc06c",
"rgb": {
"r": 205,
"g": 192,
"b": 108
},
"hsl": {
"h": 51.959,
"s": 49.239,
"l": 61.373
},
"oklch": {
"l": 0.80057,
"c": 0.10654,
"h": 100.6
},
"luminance": 0.51761
}Semantic roles & 50–950 ramp
primary
#CDC06C
secondary
#485395
accent
#3DBD29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F