#CDCA5A#CDCA5A
#CDCA5A is a light, vivid yellow. Relative luminance 0.560; OKLCH L 81.9% C 0.134 H 107.6°. Best body text is #000000 at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #CDCA5A |
|---|---|
| RGB | rgb(205, 202, 90) |
| HSL | hsl(58, 53%, 58%) |
| HSV | hsv(58, 56%, 80%) |
| CMYK | cmyk(0%, 1.5%, 56.1%, 19.6%) |
| CIE-LAB | lab(79.59, -13.46, 55.18) |
| CIE-LCH | lch(79.59, 56.79, 103.71°) |
| OKLab | oklab(81.94% -0.0406 0.1279) |
| OKLCH | oklch(81.94% 0.134 107.6) |
| XYZ | xyz(48.1442, 55.9598, 17.9361) |
| Luminance | 0.5596 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.13
Vomit Yellow
#C7C10C
ΔE00 5.92
Puke Yellow
#C2BE0E
ΔE00 5.99
Dirty Yellow
#CDC50A
ΔE00 6.01
Dull Yellow
#EEDC5B
ΔE00 6.53
Baby Puke Green
#B6C406
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDCA5A #5A5DCD
analogous
#CD915A #CDCA5A #96CD5A
triadic
#CDCA5A #5ACDCA #CA5ACD
tetradic
#CDCA5A #5ACD91 #5A5DCD #CD5A96
square
#CDCA5A #5ACD91 #5A5DCD #CD5A96
split-complementary
#CDCA5A #5A96CD #915ACD
monochromatic
#848228 #B3B036 #CDCA5A #DBD989 #E9E8B8
Accessibility & contrast
On white
1.72
#CDCA5A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.19
#CDCA5A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDCA5A
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDCA5A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDCA5A | 1.00 | 1.72 | 12.19 | 12.19 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C34E
Deuteranopia (green-blind)
#DBC760
Tritanopia (blue-blind)
#DABEB1
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cdca5a; /* rgb */ color: rgb(205, 202, 90); /* oklch */ color: oklch(81.9% 0.134 107.6);
Tailwind
colors: {
custom: {
50: '#dfd98c',
500: '#cdca5a',
950: '#000000',
},
}SCSS
$custom: #cdca5a; $custom-light: #dfd98c; $custom-dark: #000000;
JSON
{
"hex": "#cdca5a",
"rgb": {
"r": 205,
"g": 202,
"b": 90
},
"hsl": {
"h": 58.435,
"s": 53.488,
"l": 57.843
},
"oklch": {
"l": 0.8194,
"c": 0.13418,
"h": 107.6
},
"luminance": 0.55958
}Semantic roles & 50–950 ramp
primary
#CDCA5A
secondary
#40428C
accent
#4FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F