#CDD452#CDD452
#CDD452 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.0% C 0.152 H 112.1°. Best body text is #000000 at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CDD452 |
|---|---|
| RGB | rgb(205, 212, 82) |
| HSL | hsl(63, 60%, 58%) |
| HSV | hsv(63, 61%, 83%) |
| CMYK | cmyk(3.3%, 0%, 61.3%, 16.9%) |
| CIE-LAB | lab(82.20, -19.01, 61.53) |
| CIE-LCH | lch(82.20, 64.40, 107.17°) |
| OKLab | oklab(84% -0.0571 0.1404) |
| OKLCH | oklch(84% 0.152 112.1) |
| XYZ | xyz(50.2447, 60.6764, 17.0459) |
| Luminance | 0.6068 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Green Yellow
#B5CE08
ΔE00 5.39
Sickly Yellow
#D0E429
ΔE00 5.49
Baby Puke Green
#B6C406
ΔE00 5.73
Greenish Beige
#C9D179
ΔE00 5.74
Bile
#B5C306
ΔE00 5.89
Piss Yellow
#DDD618
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDD452 #5952D4
analogous
#D49A52 #CDD452 #8CD452
triadic
#CDD452 #52CDD4 #D452CD
tetradic
#CDD452 #52D49A #5952D4 #D4528C
square
#CDD452 #52D49A #5952D4 #D4528C
split-complementary
#CDD452 #528CD4 #9A52D4
monochromatic
#848922 #B3BA2E #CDD452 #DBE083 #E9ECB4
Accessibility & contrast
On white
1.60
#CDD452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.14
#CDD452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDD452
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDD452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDD452 | 1.00 | 1.60 | 13.14 | 13.14 |
| #FFFFFF | 1.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#E3CE5A
Tritanopia (blue-blind)
#DAC8B9
Achromatopsia (no color)
#CCCCCC
Design tokens & code
CSS
--color: #cdd452; /* rgb */ color: rgb(205, 212, 82); /* oklch */ color: oklch(84.0% 0.152 112.1);
Tailwind
colors: {
custom: {
50: '#dfe188',
500: '#cdd452',
950: '#000000',
},
}SCSS
$custom: #cdd452; $custom-light: #dfe188; $custom-dark: #000000;
JSON
{
"hex": "#cdd452",
"rgb": {
"r": 205,
"g": 212,
"b": 82
},
"hsl": {
"h": 63.231,
"s": 60.185,
"l": 57.647
},
"oklch": {
"l": 0.84003,
"c": 0.15157,
"h": 112.1
},
"luminance": 0.60675
}Semantic roles & 50–950 ramp
primary
#CDD452
secondary
#3F3B90
accent
#44E34D
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F