#CDC458#CDC458
#CDC458 is a light, vivid yellow. Relative luminance 0.532; OKLCH L 80.6% C 0.130 H 104.5°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC458 |
|---|---|
| RGB | rgb(205, 196, 88) |
| HSL | hsl(55, 54%, 57%) |
| HSV | hsv(55, 57%, 80%) |
| CMYK | cmyk(0%, 4.4%, 57.1%, 19.6%) |
| CIE-LAB | lab(77.97, -10.57, 54.26) |
| CIE-LCH | lch(77.97, 55.28, 101.02°) |
| OKLab | oklab(80.65% -0.0326 0.1257) |
| OKLCH | oklch(80.65% 0.13 104.5) |
| XYZ | xyz(46.6797, 53.1651, 17.0336) |
| Luminance | 0.5316 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 5.68
Puke Yellow
#C2BE0E
ΔE00 5.70
Darkkhaki
#BDB76B
ΔE00 5.88
Dirty Yellow
#CDC50A
ΔE00 5.89
Sand (survey)
#E2CA76
ΔE00 6.09
Olive Yellow
#C2B709
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC458 #5861CD
analogous
#CD8A58 #CDC458 #9BCD58
triadic
#CDC458 #58CDC4 #C458CD
tetradic
#CDC458 #58CD8A #5861CD #CD589B
square
#CDC458 #58CD8A #5861CD #CD589B
split-complementary
#CDC458 #589BCD #8A58CD
monochromatic
#837C27 #B2A935 #CDC458 #DBD587 #E9E5B6
Accessibility & contrast
On white
1.81
#CDC458 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.63
#CDC458 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC458
11.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC458 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC458 | 1.00 | 1.81 | 11.63 | 11.63 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE4D
Deuteranopia (green-blind)
#D7C35E
Tritanopia (blue-blind)
#DBB8AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc458; /* rgb */ color: rgb(205, 196, 88); /* oklch */ color: oklch(80.6% 0.130 104.5);
Tailwind
colors: {
custom: {
50: '#dfd58b',
500: '#cdc458',
950: '#000000',
},
}SCSS
$custom: #cdc458; $custom-light: #dfd58b; $custom-dark: #000000;
JSON
{
"hex": "#cdc458",
"rgb": {
"r": 205,
"g": 196,
"b": 88
},
"hsl": {
"h": 55.385,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.80646,
"c": 0.12984,
"h": 104.5
},
"luminance": 0.53164
}Semantic roles & 50–950 ramp
primary
#CDC458
secondary
#3F448B
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F