#CDC666#CDC666
#CDC666 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.119 H 105.0°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC666 |
|---|---|
| RGB | rgb(205, 198, 102) |
| HSL | hsl(56, 51%, 60%) |
| HSV | hsv(56, 50%, 80%) |
| CMYK | cmyk(0%, 3.4%, 50.2%, 19.6%) |
| CIE-LAB | lab(78.65, -10.45, 48.49) |
| CIE-LCH | lch(78.65, 49.61, 102.16°) |
| OKLab | oklab(81.24% -0.0307 0.1147) |
| OKLCH | oklch(81.24% 0.119 105) |
| XYZ | xyz(47.7705, 54.3280, 20.5378) |
| Luminance | 0.5433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.88
Darkkhaki
#BDB76B
ΔE00 4.91
Sand (survey)
#E2CA76
ΔE00 5.60
Greenish Tan
#BCCB7A
ΔE00 6.70
Sandy
#F1DA7A
ΔE00 7.03
Puke Yellow
#C2BE0E
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC666 #666DCD
analogous
#CD9266 #CDC666 #A1CD66
triadic
#CDC666 #66CDC6 #C666CD
tetradic
#CDC666 #66CD92 #666DCD #CD66A1
square
#CDC666 #66CD92 #666DCD #CD66A1
split-complementary
#CDC666 #66A1CD #9266CD
monochromatic
#8B852D #B9B13D #CDC666 #DCD794 #EBE8C2
Accessibility & contrast
On white
1.77
#CDC666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.87
#CDC666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC666
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC666 | 1.00 | 1.77 | 11.87 | 11.87 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4C05D
Deuteranopia (green-blind)
#D7C56B
Tritanopia (blue-blind)
#DABBB0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc666; /* rgb */ color: rgb(205, 198, 102); /* oklch */ color: oklch(81.2% 0.119 105.0);
Tailwind
colors: {
custom: {
50: '#ded794',
500: '#cdc666',
950: '#000000',
},
}SCSS
$custom: #cdc666; $custom-light: #ded794; $custom-dark: #000000;
JSON
{
"hex": "#cdc666",
"rgb": {
"r": 205,
"g": 198,
"b": 102
},
"hsl": {
"h": 55.922,
"s": 50.739,
"l": 60.196
},
"oklch": {
"l": 0.81235,
"c": 0.11873,
"h": 105
},
"luminance": 0.54327
}Semantic roles & 50–950 ramp
primary
#CDC666
secondary
#454B92
accent
#32BE27
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F