#CDC452#CDC452
#CDC452 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.6% C 0.135 H 104.8°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC452 |
|---|---|
| RGB | rgb(205, 196, 82) |
| HSL | hsl(56, 55%, 56%) |
| HSV | hsv(56, 60%, 80%) |
| CMYK | cmyk(0%, 4.4%, 60%, 19.6%) |
| CIE-LAB | lab(77.92, -11.00, 56.87) |
| CIE-LCH | lch(77.92, 57.93, 100.94°) |
| OKLab | oklab(80.58% -0.0344 0.1305) |
| OKLCH | oklch(80.58% 0.135 104.8) |
| XYZ | xyz(46.4414, 53.0698, 15.7782) |
| Luminance | 0.5307 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 4.96
Puke Yellow
#C2BE0E
ΔE00 5.02
Dirty Yellow
#CDC50A
ΔE00 5.15
Ugly Yellow
#D0C101
ΔE00 5.53
Olive Yellow
#C2B709
ΔE00 5.59
Mustard Yellow
#D2BD0A
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC452 #525BCD
analogous
#CD8752 #CDC452 #99CD52
triadic
#CDC452 #52CDC4 #C452CD
tetradic
#CDC452 #52CD87 #525BCD #CD5299
square
#CDC452 #52CD87 #525BCD #CD5299
split-complementary
#CDC452 #5299CD #8752CD
monochromatic
#807925 #AFA633 #CDC452 #DBD481 #E8E4B1
Accessibility & contrast
On white
1.81
#CDC452 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.61
#CDC452 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC452
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC452 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC452 | 1.00 | 1.81 | 11.61 | 11.61 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BE45
Deuteranopia (green-blind)
#D7C358
Tritanopia (blue-blind)
#DBB8AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc452; /* rgb */ color: rgb(205, 196, 82); /* oklch */ color: oklch(80.6% 0.135 104.8);
Tailwind
colors: {
custom: {
50: '#dfd587',
500: '#cdc452',
950: '#000000',
},
}SCSS
$custom: #cdc452; $custom-light: #dfd587; $custom-dark: #000000;
JSON
{
"hex": "#cdc452",
"rgb": {
"r": 205,
"g": 196,
"b": 82
},
"hsl": {
"h": 55.61,
"s": 55.157,
"l": 56.275
},
"oklch": {
"l": 0.80583,
"c": 0.13499,
"h": 104.8
},
"luminance": 0.53068
}Semantic roles & 50–950 ramp
primary
#CDC452
secondary
#3C4187
accent
#54DE49
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F