#CEC460#CEC460
#CEC460 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.8% C 0.122 H 103.6°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CEC460 |
|---|---|
| RGB | rgb(206, 196, 96) |
| HSL | hsl(55, 53%, 59%) |
| HSV | hsv(55, 53%, 81%) |
| CMYK | cmyk(0%, 4.9%, 53.4%, 19.2%) |
| CIE-LAB | lab(78.14, -9.53, 50.76) |
| CIE-LCH | lch(78.14, 51.65, 100.63°) |
| OKLab | oklab(80.83% -0.0288 0.119) |
| OKLCH | oklch(80.83% 0.122 103.6) |
| XYZ | xyz(47.3063, 53.4478, 18.8886) |
| Luminance | 0.5345 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.17
Sand (survey)
#E2CA76
ΔE00 5.31
Greenish Beige
#C9D179
ΔE00 5.99
Vomit Yellow
#C7C10C
ΔE00 6.73
Puke Yellow
#C2BE0E
ΔE00 6.74
Sandy
#F1DA7A
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CEC460 #606ACE
analogous
#CE8D60 #CEC460 #A1CE60
triadic
#CEC460 #60CEC4 #C460CE
tetradic
#CEC460 #60CE8D #606ACE #CE60A1
square
#CEC460 #60CE8D #606ACE #CE60A1
split-complementary
#CEC460 #60A1CE #8D60CE
monochromatic
#89812A #B8AC39 #CEC460 #DCD58F #EBE7BE
Accessibility & contrast
On white
1.80
#CEC460 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#CEC460 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CEC460
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CEC460 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CEC460 | 1.00 | 1.80 | 11.69 | 11.69 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE56
Deuteranopia (green-blind)
#D6C465
Tritanopia (blue-blind)
#DBB9AD
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cec460; /* rgb */ color: rgb(206, 196, 96); /* oklch */ color: oklch(80.8% 0.122 103.6);
Tailwind
colors: {
custom: {
50: '#dfd590',
500: '#cec460',
950: '#000000',
},
}SCSS
$custom: #cec460; $custom-light: #dfd590; $custom-dark: #000000;
JSON
{
"hex": "#cec460",
"rgb": {
"r": 206,
"g": 196,
"b": 96
},
"hsl": {
"h": 54.545,
"s": 52.885,
"l": 59.216
},
"oklch": {
"l": 0.80825,
"c": 0.12246,
"h": 103.6
},
"luminance": 0.53446
}Semantic roles & 50–950 ramp
primary
#CEC460
secondary
#424990
accent
#59DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F