#CDC66D#CDC66D
#CDC66D is a light, moderate yellow. Relative luminance 0.545; OKLCH L 81.3% C 0.112 H 104.6°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC66D |
|---|---|
| RGB | rgb(205, 198, 109) |
| HSL | hsl(56, 49%, 62%) |
| HSV | hsv(56, 47%, 80%) |
| CMYK | cmyk(0%, 3.4%, 46.8%, 19.6%) |
| CIE-LAB | lab(78.74, -9.81, 45.20) |
| CIE-LCH | lch(78.74, 46.25, 102.25°) |
| OKLab | oklab(81.33% -0.0282 0.108) |
| OKLCH | oklch(81.33% 0.112 104.6) |
| XYZ | xyz(48.1324, 54.4728, 22.4439) |
| Luminance | 0.5447 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.37
Greenish Beige
#C9D179
ΔE00 4.56
Sand (survey)
#E2CA76
ΔE00 5.32
Greenish Tan
#BCCB7A
ΔE00 6.24
Sandy
#F1DA7A
ΔE00 7.06
Light Olive
#ACBF69
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC66D #6D74CD
analogous
#CD966D #CDC66D #A4CD6D
triadic
#CDC66D #6DCDC6 #C66DCD
tetradic
#CDC66D #6DCD96 #6D74CD #CD6DA4
square
#CDC66D #6DCD96 #6D74CD #CD6DA4
split-complementary
#CDC66D #6DA4CD #966DCD
monochromatic
#8F8831 #BCB340 #CDC66D #DDD89B #ECEAC8
Accessibility & contrast
On white
1.77
#CDC66D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.89
#CDC66D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC66D
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC66D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC66D | 1.00 | 1.77 | 11.89 | 11.89 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C065
Deuteranopia (green-blind)
#D6C571
Tritanopia (blue-blind)
#D9BCB1
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc66d; /* rgb */ color: rgb(205, 198, 109); /* oklch */ color: oklch(81.3% 0.112 104.6);
Tailwind
colors: {
custom: {
50: '#ded799',
500: '#cdc66d',
950: '#000000',
},
}SCSS
$custom: #cdc66d; $custom-light: #ded799; $custom-dark: #000000;
JSON
{
"hex": "#cdc66d",
"rgb": {
"r": 205,
"g": 198,
"b": 109
},
"hsl": {
"h": 55.625,
"s": 48.98,
"l": 61.569
},
"oklch": {
"l": 0.81329,
"c": 0.11162,
"h": 104.6
},
"luminance": 0.54471
}Semantic roles & 50–950 ramp
primary
#CDC66D
secondary
#494F95
accent
#34BC29
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F