#CDC667#CDC667
#CDC667 is a light, moderate yellow. Relative luminance 0.543; OKLCH L 81.2% C 0.118 H 104.9°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC667 |
|---|---|
| RGB | rgb(205, 198, 103) |
| HSL | hsl(56, 50%, 60%) |
| HSV | hsv(56, 50%, 80%) |
| CMYK | cmyk(0%, 3.4%, 49.8%, 19.6%) |
| CIE-LAB | lab(78.66, -10.36, 48.03) |
| CIE-LCH | lch(78.66, 49.13, 102.17°) |
| OKLab | oklab(81.25% -0.0303 0.1138) |
| OKLCH | oklch(81.25% 0.118 104.9) |
| XYZ | xyz(47.8203, 54.3480, 20.8005) |
| Luminance | 0.5435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.82
Darkkhaki
#BDB76B
ΔE00 4.82
Sand (survey)
#E2CA76
ΔE00 5.55
Greenish Tan
#BCCB7A
ΔE00 6.62
Sandy
#F1DA7A
ΔE00 7.03
Dull Yellow
#EEDC5B
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC667 #676ECD
analogous
#CD9367 #CDC667 #A1CD67
triadic
#CDC667 #67CDC6 #C667CD
tetradic
#CDC667 #67CD93 #676ECD #CD67A1
square
#CDC667 #67CD93 #676ECD #CD67A1
split-complementary
#CDC667 #67A1CD #9367CD
monochromatic
#8C852E #BAB13D #CDC667 #DCD795 #EBE9C3
Accessibility & contrast
On white
1.77
#CDC667 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.87
#CDC667 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC667
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC667 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC667 | 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)
#D4C05E
Deuteranopia (green-blind)
#D7C56B
Tritanopia (blue-blind)
#DABBB0
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #cdc667; /* rgb */ color: rgb(205, 198, 103); /* oklch */ color: oklch(81.2% 0.118 104.9);
Tailwind
colors: {
custom: {
50: '#ded795',
500: '#cdc667',
950: '#000000',
},
}SCSS
$custom: #cdc667; $custom-light: #ded795; $custom-dark: #000000;
JSON
{
"hex": "#cdc667",
"rgb": {
"r": 205,
"g": 198,
"b": 103
},
"hsl": {
"h": 55.882,
"s": 50.495,
"l": 60.392
},
"oklch": {
"l": 0.81248,
"c": 0.11774,
"h": 104.9
},
"luminance": 0.54347
}Semantic roles & 50–950 ramp
primary
#CDC667
secondary
#464B92
accent
#32BE28
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F