#CDC153#CDC153
#CDC153 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.0% C 0.131 H 103.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC153 |
|---|---|
| RGB | rgb(205, 193, 83) |
| HSL | hsl(54, 55%, 56%) |
| HSV | hsv(54, 60%, 80%) |
| CMYK | cmyk(0%, 5.9%, 59.5%, 19.6%) |
| CIE-LAB | lab(77.13, -9.39, 55.56) |
| CIE-LCH | lch(77.13, 56.35, 99.60°) |
| OKLab | oklab(79.96% -0.0298 0.1279) |
| OKLCH | oklch(79.96% 0.131 103.1) |
| XYZ | xyz(45.8098, 51.7453, 15.7567) |
| Luminance | 0.5174 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 5.37
Puke Yellow
#C2BE0E
ΔE00 5.38
Olive Yellow
#C2B709
ΔE00 5.50
Dirty Yellow
#CDC50A
ΔE00 5.62
Ugly Yellow
#D0C101
ΔE00 5.65
Mustard Yellow
#D2BD0A
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC153 #535FCD
analogous
#CD8453 #CDC153 #9CCD53
triadic
#CDC153 #53CDC1 #C153CD
tetradic
#CDC153 #53CD84 #535FCD #CD539C
square
#CDC153 #53CD84 #535FCD #CD539C
split-complementary
#CDC153 #539CCD #8453CD
monochromatic
#807725 #B0A333 #CDC153 #DBD282 #E9E3B2
Accessibility & contrast
On white
1.85
#CDC153 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.35
#CDC153 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC153
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC153 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC153 | 1.00 | 1.85 | 11.35 | 11.35 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BB47
Deuteranopia (green-blind)
#D5C159
Tritanopia (blue-blind)
#DBB5A9
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #cdc153; /* rgb */ color: rgb(205, 193, 83); /* oklch */ color: oklch(80.0% 0.131 103.1);
Tailwind
colors: {
custom: {
50: '#dfd387',
500: '#cdc153',
950: '#000000',
},
}SCSS
$custom: #cdc153; $custom-light: #dfd387; $custom-dark: #000000;
JSON
{
"hex": "#cdc153",
"rgb": {
"r": 205,
"g": 193,
"b": 83
},
"hsl": {
"h": 54.098,
"s": 54.955,
"l": 56.471
},
"oklch": {
"l": 0.7996,
"c": 0.13128,
"h": 103.1
},
"luminance": 0.51744
}Semantic roles & 50–950 ramp
primary
#CDC153
secondary
#3C4488
accent
#58DE4A
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F