#CDC662#CDC662
#CDC662 is a light, vivid yellow. Relative luminance 0.542; OKLCH L 81.2% C 0.123 H 105.2°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC662 |
|---|---|
| RGB | rgb(205, 198, 98) |
| HSL | hsl(56, 52%, 59%) |
| HSV | hsv(56, 52%, 80%) |
| CMYK | cmyk(0%, 3.4%, 52.2%, 19.6%) |
| CIE-LAB | lab(78.61, -10.79, 50.35) |
| CIE-LCH | lch(78.61, 51.49, 102.10°) |
| OKLab | oklab(81.18% -0.0321 0.1184) |
| OKLCH | oklch(81.18% 0.123 105.2) |
| XYZ | xyz(47.5769, 54.2506, 19.5181) |
| Luminance | 0.5425 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.15
Darkkhaki
#BDB76B
ΔE00 5.27
Sand (survey)
#E2CA76
ΔE00 5.82
Puke Yellow
#C2BE0E
ΔE00 6.88
Vomit Yellow
#C7C10C
ΔE00 6.88
Greenish Tan
#BCCB7A
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC662 #6269CD
analogous
#CD9162 #CDC662 #9FCD62
triadic
#CDC662 #62CDC6 #C662CD
tetradic
#CDC662 #62CD91 #6269CD #CD629F
square
#CDC662 #62CD91 #6269CD #CD629F
split-complementary
#CDC662 #629FCD #9162CD
monochromatic
#89832C #B7AF3A #CDC662 #DCD790 #EBE8BF
Accessibility & contrast
On white
1.77
#CDC662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.85
#CDC662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC662
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC662 | 1.00 | 1.77 | 11.85 | 11.85 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C059
Deuteranopia (green-blind)
#D7C567
Tritanopia (blue-blind)
#DABBAF
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc662; /* rgb */ color: rgb(205, 198, 98); /* oklch */ color: oklch(81.2% 0.123 105.2);
Tailwind
colors: {
custom: {
50: '#ded791',
500: '#cdc662',
950: '#000000',
},
}SCSS
$custom: #cdc662; $custom-light: #ded791; $custom-dark: #000000;
JSON
{
"hex": "#cdc662",
"rgb": {
"r": 205,
"g": 198,
"b": 98
},
"hsl": {
"h": 56.075,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.81184,
"c": 0.12263,
"h": 105.2
},
"luminance": 0.54249
}Semantic roles & 50–950 ramp
primary
#CDC662
secondary
#434890
accent
#56DB4D
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F