#CDD162#CDD162
#CDD162 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.5% C 0.135 H 110.9°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CDD162 |
|---|---|
| RGB | rgb(205, 209, 98) |
| HSL | hsl(62, 55%, 60%) |
| HSV | hsv(62, 53%, 82%) |
| CMYK | cmyk(1.9%, 0%, 53.1%, 18%) |
| CIE-LAB | lab(81.55, -16.34, 53.76) |
| CIE-LCH | lch(81.55, 56.19, 106.90°) |
| OKLab | oklab(83.52% -0.0479 0.1257) |
| OKLCH | oklch(83.52% 0.135 110.9) |
| XYZ | xyz(50.1831, 59.4630, 20.3869) |
| Luminance | 0.5946 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.73
Greenish Tan
#BCCB7A
ΔE00 6.07
Baby Puke Green
#B6C406
ΔE00 7.01
Dull Yellow
#EEDC5B
ΔE00 7.04
Green Yellow
#B5CE08
ΔE00 7.11
Bile
#B5C306
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDD162 #6662D1
analogous
#D19D62 #CDD162 #96D162
triadic
#CDD162 #62CDD1 #D162CD
tetradic
#CDD162 #62D19D #6662D1 #D16296
square
#CDD162 #62D19D #6662D1 #D16296
split-complementary
#CDD162 #6296D1 #9D62D1
monochromatic
#8B8F2A #B9BE38 #CDD162 #DCDF91 #EBEDC1
Accessibility & contrast
On white
1.63
#CDD162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.89
#CDD162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDD162
12.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDD162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDD162 | 1.00 | 1.63 | 12.89 | 12.89 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DFC957
Deuteranopia (green-blind)
#E0CC68
Tritanopia (blue-blind)
#D9C6B8
Achromatopsia (no color)
#CBCBCB
Design tokens & code
CSS
--color: #cdd162; /* rgb */ color: rgb(205, 209, 98); /* oklch */ color: oklch(83.5% 0.135 110.9);
Tailwind
colors: {
custom: {
50: '#dede92',
500: '#cdd162',
950: '#000000',
},
}SCSS
$custom: #cdd162; $custom-light: #dede92; $custom-dark: #000000;
JSON
{
"hex": "#cdd162",
"rgb": {
"r": 205,
"g": 209,
"b": 98
},
"hsl": {
"h": 62.162,
"s": 54.68,
"l": 60.196
},
"oklch": {
"l": 0.83524,
"c": 0.13456,
"h": 110.9
},
"luminance": 0.59462
}Semantic roles & 50–950 ramp
primary
#CDD162
secondary
#454295
accent
#23C229
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F