#CDC650#CDC650
#CDC650 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.0% C 0.139 H 105.9°. Best body text is #000000 at 11.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC650 |
|---|---|
| RGB | rgb(205, 198, 80) |
| HSL | hsl(57, 56%, 56%) |
| HSV | hsv(57, 61%, 80%) |
| CMYK | cmyk(0%, 3.4%, 61%, 19.6%) |
| CIE-LAB | lab(78.43, -12.15, 58.31) |
| CIE-LCH | lch(78.43, 59.56, 101.77°) |
| OKLab | oklab(80.99% -0.0379 0.1333) |
| OKLCH | oklch(80.99% 0.139 105.9) |
| XYZ | xyz(46.8205, 53.9480, 15.5346) |
| Luminance | 0.5395 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit Yellow
#C7C10C
ΔE00 4.66
Puke Yellow
#C2BE0E
ΔE00 4.77
Dirty Yellow
#CDC50A
ΔE00 4.81
Ugly Yellow
#D0C101
ΔE00 5.43
Olive Yellow
#C2B709
ΔE00 5.66
Mustard Yellow
#D2BD0A
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC650 #5057CD
analogous
#CD8750 #CDC650 #95CD50
triadic
#CDC650 #50CDC6 #C650CD
tetradic
#CDC650 #50CD87 #5057CD #CD5095
square
#CDC650 #50CD87 #5057CD #CD5095
split-complementary
#CDC650 #5095CD #8750CD
monochromatic
#7E7924 #AEA732 #CDC650 #DBD680 #E8E5AF
Accessibility & contrast
On white
1.78
#CDC650 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.79
#CDC650 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC650
11.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC650 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC650 | 1.00 | 1.78 | 11.79 | 11.79 |
| #FFFFFF | 1.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BF42
Deuteranopia (green-blind)
#D9C457
Tritanopia (blue-blind)
#DBBAAD
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #cdc650; /* rgb */ color: rgb(205, 198, 80); /* oklch */ color: oklch(81.0% 0.139 105.9);
Tailwind
colors: {
custom: {
50: '#dfd786',
500: '#cdc650',
950: '#000000',
},
}SCSS
$custom: #cdc650; $custom-light: #dfd786; $custom-dark: #000000;
JSON
{
"hex": "#cdc650",
"rgb": {
"r": 205,
"g": 198,
"b": 80
},
"hsl": {
"h": 56.64,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.80988,
"c": 0.13859,
"h": 105.9
},
"luminance": 0.53946
}Semantic roles & 50–950 ramp
primary
#CDC650
secondary
#3B3F86
accent
#51DF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E