#CDC552#CDC552
#CDC552 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.136 H 105.3°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC552 |
|---|---|
| RGB | rgb(205, 197, 82) |
| HSL | hsl(56, 55%, 56%) |
| HSV | hsv(56, 60%, 80%) |
| CMYK | cmyk(0%, 3.9%, 60%, 19.6%) |
| CIE-LAB | lab(78.18, -11.51, 57.17) |
| CIE-LCH | lch(78.18, 58.31, 101.38°) |
| OKLab | oklab(80.79% -0.0359 0.1311) |
| OKLCH | oklch(80.79% 0.136 105.3) |
| XYZ | xyz(46.6677, 53.5224, 15.8536) |
| Luminance | 0.5352 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 4.91
Puke Yellow
#C2BE0E
ΔE00 4.98
Dirty Yellow
#CDC50A
ΔE00 5.08
Ugly Yellow
#D0C101
ΔE00 5.57
Olive Yellow
#C2B709
ΔE00 5.70
Mustard Yellow
#D2BD0A
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC552 #525ACD
analogous
#CD8852 #CDC552 #98CD52
triadic
#CDC552 #52CDC5 #C552CD
tetradic
#CDC552 #52CD88 #525ACD #CD5298
square
#CDC552 #52CD88 #525ACD #CD5298
split-complementary
#CDC552 #5298CD #8852CD
monochromatic
#807A25 #AFA733 #CDC552 #DBD581 #E8E5B1
Accessibility & contrast
On white
1.79
#CDC552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.70
#CDC552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC552
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC552 | 1.00 | 1.79 | 11.70 | 11.70 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5BE45
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#DBB9AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc552; /* rgb */ color: rgb(205, 197, 82); /* oklch */ color: oklch(80.8% 0.136 105.3);
Tailwind
colors: {
custom: {
50: '#dfd687',
500: '#cdc552',
950: '#000000',
},
}SCSS
$custom: #cdc552; $custom-light: #dfd687; $custom-dark: #000000;
JSON
{
"hex": "#cdc552",
"rgb": {
"r": 205,
"g": 197,
"b": 82
},
"hsl": {
"h": 56.098,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.80795,
"c": 0.13597,
"h": 105.3
},
"luminance": 0.53521
}Semantic roles & 50–950 ramp
primary
#CDC552
secondary
#3C4187
accent
#53DE49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F