#CDC450#CDC450
#CDC450 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.6% C 0.137 H 104.9°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC450 |
|---|---|
| RGB | rgb(205, 196, 80) |
| HSL | hsl(56, 56%, 56%) |
| HSV | hsv(56, 61%, 80%) |
| CMYK | cmyk(0%, 4.4%, 61%, 19.6%) |
| CIE-LAB | lab(77.90, -11.13, 57.73) |
| CIE-LCH | lch(77.90, 58.79, 100.91°) |
| OKLab | oklab(80.56% -0.0351 0.1321) |
| OKLCH | oklch(80.56% 0.137 104.9) |
| XYZ | xyz(46.3664, 53.0398, 15.3832) |
| Luminance | 0.5304 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 4.72
Puke Yellow
#C2BE0E
ΔE00 4.80
Dirty Yellow
#CDC50A
ΔE00 4.92
Ugly Yellow
#D0C101
ΔE00 5.31
Olive Yellow
#C2B709
ΔE00 5.40
Mustard Yellow
#D2BD0A
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC450 #5059CD
analogous
#CD8550 #CDC450 #97CD50
triadic
#CDC450 #50CDC4 #C450CD
tetradic
#CDC450 #50CD85 #5059CD #CD5097
square
#CDC450 #50CD85 #5059CD #CD5097
split-complementary
#CDC450 #5097CD #8550CD
monochromatic
#7E7824 #AEA532 #CDC450 #DBD480 #E8E4AF
Accessibility & contrast
On white
1.81
#CDC450 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.61
#CDC450 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC450
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC450 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC450 | 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)
#D4BE43
Deuteranopia (green-blind)
#D7C357
Tritanopia (blue-blind)
#DBB8AB
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc450; /* rgb */ color: rgb(205, 196, 80); /* oklch */ color: oklch(80.6% 0.137 104.9);
Tailwind
colors: {
custom: {
50: '#dfd586',
500: '#cdc450',
950: '#000000',
},
}SCSS
$custom: #cdc450; $custom-light: #dfd586; $custom-dark: #000000;
JSON
{
"hex": "#cdc450",
"rgb": {
"r": 205,
"g": 196,
"b": 80
},
"hsl": {
"h": 55.68,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.80563,
"c": 0.13663,
"h": 104.9
},
"luminance": 0.53038
}Semantic roles & 50–950 ramp
primary
#CDC450
secondary
#3B4086
accent
#54DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E