#CDC460#CDC460
#CDC460 is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.7% C 0.122 H 104.1°. Best body text is #000000 at 11.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CDC460 |
|---|---|
| RGB | rgb(205, 196, 96) |
| HSL | hsl(55, 52%, 59%) |
| HSV | hsv(55, 53%, 80%) |
| CMYK | cmyk(0%, 4.4%, 53.2%, 19.6%) |
| CIE-LAB | lab(78.05, -9.94, 50.65) |
| CIE-LCH | lch(78.05, 51.61, 101.10°) |
| OKLab | oklab(80.74% -0.0299 0.1188) |
| OKLCH | oklch(80.74% 0.123 104.1) |
| XYZ | xyz(47.0295, 53.3050, 18.8756) |
| Luminance | 0.5330 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.08
Sand (survey)
#E2CA76
ΔE00 5.54
Greenish Beige
#C9D179
ΔE00 5.78
Puke Yellow
#C2BE0E
ΔE00 6.71
Vomit Yellow
#C7C10C
ΔE00 6.73
Dirty Yellow
#CDC50A
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDC460 #6069CD
analogous
#CD8E60 #CDC460 #A0CD60
triadic
#CDC460 #60CDC4 #C460CD
tetradic
#CDC460 #60CD8E #6069CD #CD60A0
square
#CDC460 #60CD8E #6069CD #CD60A0
split-complementary
#CDC460 #60A0CD #8E60CD
monochromatic
#88802B #B6AC39 #CDC460 #DCD58F #EAE7BD
Accessibility & contrast
On white
1.80
#CDC460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.66
#CDC460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDC460
11.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDC460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDC460 | 1.00 | 1.80 | 11.66 | 11.66 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE56
Deuteranopia (green-blind)
#D6C365
Tritanopia (blue-blind)
#DAB9AD
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cdc460; /* rgb */ color: rgb(205, 196, 96); /* oklch */ color: oklch(80.7% 0.122 104.1);
Tailwind
colors: {
custom: {
50: '#ded590',
500: '#cdc460',
950: '#000000',
},
}SCSS
$custom: #cdc460; $custom-light: #ded590; $custom-dark: #000000;
JSON
{
"hex": "#cdc460",
"rgb": {
"r": 205,
"g": 196,
"b": 96
},
"hsl": {
"h": 55.046,
"s": 52.153,
"l": 59.02
},
"oklch": {
"l": 0.80738,
"c": 0.1225,
"h": 104.1
},
"luminance": 0.53304
}Semantic roles & 50–950 ramp
primary
#CDC460
secondary
#42498F
accent
#58DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F