#CDCA5B#CDCA5B
#CDCA5B is a light, vivid yellow. Relative luminance 0.560; OKLCH L 82.0% C 0.133 H 107.6°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #CDCA5B |
|---|---|
| RGB | rgb(205, 202, 91) |
| HSL | hsl(58, 53%, 58%) |
| HSV | hsv(58, 56%, 80%) |
| CMYK | cmyk(0%, 1.5%, 55.6%, 19.6%) |
| CIE-LAB | lab(79.60, -13.38, 54.73) |
| CIE-LCH | lch(79.60, 56.35, 103.74°) |
| OKLab | oklab(81.95% -0.0403 0.1271) |
| OKLCH | oklch(81.95% 0.133 107.6) |
| XYZ | xyz(48.1871, 55.9769, 18.1618) |
| Luminance | 0.5598 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 5.02
Vomit Yellow
#C7C10C
ΔE00 6.03
Puke Yellow
#C2BE0E
ΔE00 6.10
Dirty Yellow
#CDC50A
ΔE00 6.13
Dull Yellow
#EEDC5B
ΔE00 6.57
Baby Puke Green
#B6C406
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDCA5B #5B5ECD
analogous
#CD915B #CDCA5B #97CD5B
triadic
#CDCA5B #5BCDCA #CA5BCD
tetradic
#CDCA5B #5BCD91 #5B5ECD #CD5B97
square
#CDCA5B #5BCD91 #5B5ECD #CD5B97
split-complementary
#CDCA5B #5B97CD #915BCD
monochromatic
#858329 #B4B137 #CDCA5B #DBD98A #EAE8B9
Accessibility & contrast
On white
1.72
#CDCA5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.20
#CDCA5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDCA5B
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDCA5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDCA5B | 1.00 | 1.72 | 12.20 | 12.20 |
| #FFFFFF | 1.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C350
Deuteranopia (green-blind)
#DBC761
Tritanopia (blue-blind)
#DABEB2
Achromatopsia (no color)
#C5C5C5
Design tokens & code
CSS
--color: #cdca5b; /* rgb */ color: rgb(205, 202, 91); /* oklch */ color: oklch(82.0% 0.133 107.6);
Tailwind
colors: {
custom: {
50: '#dfd98d',
500: '#cdca5b',
950: '#000000',
},
}SCSS
$custom: #cdca5b; $custom-light: #dfd98d; $custom-dark: #000000;
JSON
{
"hex": "#cdca5b",
"rgb": {
"r": 205,
"g": 202,
"b": 91
},
"hsl": {
"h": 58.421,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.81951,
"c": 0.1333,
"h": 107.6
},
"luminance": 0.55976
}Semantic roles & 50–950 ramp
primary
#CDCA5B
secondary
#40428C
accent
#4FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F