#CDD462#CDD462
#CDD462 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.2% C 0.138 H 112.2°. Best body text is #000000 at 13.19:1 contrast (WCAG AA passes).
Color values
| HEX | #CDD462 |
|---|---|
| RGB | rgb(205, 212, 98) |
| HSL | hsl(64, 57%, 61%) |
| HSV | hsv(64, 54%, 83%) |
| CMYK | cmyk(3.3%, 0%, 53.8%, 16.9%) |
| CIE-LAB | lab(82.35, -17.82, 54.69) |
| CIE-LCH | lch(82.35, 57.52, 108.05°) |
| OKLab | oklab(84.17% -0.0521 0.1277) |
| OKLCH | oklch(84.17% 0.138 112.2) |
| XYZ | xyz(50.9260, 60.9489, 20.6345) |
| Luminance | 0.6095 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.87
Greenish Tan
#BCCB7A
ΔE00 6.18
Green Yellow
#B5CE08
ΔE00 6.78
Sickly Yellow
#D0E429
ΔE00 6.93
Baby Puke Green
#B6C406
ΔE00 7.07
Bile
#B5C306
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDD462 #6962D4
analogous
#D4A262 #CDD462 #94D462
triadic
#CDD462 #62CDD4 #D462CD
tetradic
#CDD462 #62D4A2 #6962D4 #D46294
square
#CDD462 #62D4A2 #6962D4 #D46294
split-complementary
#CDD462 #6294D4 #A262D4
monochromatic
#8D9328 #BBC335 #CDD462 #DCE192 #ECEEC2
Accessibility & contrast
On white
1.59
#CDD462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.19
#CDD462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDD462
13.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDD462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDD462 | 1.00 | 1.59 | 13.19 | 13.19 |
| #FFFFFF | 1.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#E2CE68
Tritanopia (blue-blind)
#D9C9BB
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #cdd462; /* rgb */ color: rgb(205, 212, 98); /* oklch */ color: oklch(84.2% 0.138 112.2);
Tailwind
colors: {
custom: {
50: '#dee192',
500: '#cdd462',
950: '#000000',
},
}SCSS
$custom: #cdd462; $custom-light: #dee192; $custom-dark: #000000;
JSON
{
"hex": "#cdd462",
"rgb": {
"r": 205,
"g": 212,
"b": 98
},
"hsl": {
"h": 63.684,
"s": 57,
"l": 60.784
},
"oklch": {
"l": 0.84168,
"c": 0.13797,
"h": 112.2
},
"luminance": 0.60948
}Semantic roles & 50–950 ramp
primary
#CDD462
secondary
#474299
accent
#21C52B
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F