#CDC660#CDC660
#CDC660 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.125 H 105.3°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC660 |
|---|---|
| RGB | rgb(205, 198, 96) |
| HSL | hsl(56, 52%, 59%) |
| HSV | hsv(56, 53%, 80%) |
| CMYK | cmyk(0%, 3.4%, 53.2%, 19.6%) |
| CIE-LAB | lab(78.59, -10.96, 51.26) |
| CIE-LCH | lch(78.59, 52.42, 102.07°) |
| OKLab | oklab(81.16% -0.0328 0.1201) |
| OKLCH | oklch(81.16% 0.125 105.3) |
| XYZ | xyz(47.4836, 54.2133, 19.0270) |
| Luminance | 0.5421 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.30
Darkkhaki
#BDB76B
ΔE00 5.45
Sand (survey)
#E2CA76
ΔE00 5.94
Vomit Yellow
#C7C10C
ΔE00 6.62
Puke Yellow
#C2BE0E
ΔE00 6.62
Dirty Yellow
#CDC50A
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC660 #6067CD
analogous
#CD9060 #CDC660 #9ECD60
triadic
#CDC660 #60CDC6 #C660CD
tetradic
#CDC660 #60CD90 #6067CD #CD609E
square
#CDC660 #60CD90 #6067CD #CD609E
split-complementary
#CDC660 #609ECD #9060CD
monochromatic
#88822B #B6AE39 #CDC660 #DCD78F #EAE7BD
Accessibility & contrast
On white
1.77
#CDC660 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.84
#CDC660 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC660
11.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC660 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC660 | 1.00 | 1.77 | 11.84 | 11.84 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C056
Deuteranopia (green-blind)
#D8C565
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc660; /* rgb */ color: rgb(205, 198, 96); /* oklch */ color: oklch(81.2% 0.125 105.3);
Tailwind
colors: {
custom: {
50: '#ded790',
500: '#cdc660',
950: '#000000',
},
}SCSS
$custom: #cdc660; $custom-light: #ded790; $custom-dark: #000000;
JSON
{
"hex": "#cdc660",
"rgb": {
"r": 205,
"g": 198,
"b": 96
},
"hsl": {
"h": 56.147,
"s": 52.153,
"l": 59.02
},
"oklch": {
"l": 0.8116,
"c": 0.12454,
"h": 105.3
},
"luminance": 0.54212
}Semantic roles & 50–950 ramp
primary
#CDC660
secondary
#42478F
accent
#55DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F