#CEC462#CEC462
#CEC462 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.121 H 103.5°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CEC462 |
|---|---|
| RGB | rgb(206, 196, 98) |
| HSL | hsl(54, 52%, 60%) |
| HSV | hsv(54, 52%, 81%) |
| CMYK | cmyk(0%, 4.9%, 52.4%, 19.2%) |
| CIE-LAB | lab(78.16, -9.36, 49.84) |
| CIE-LCH | lch(78.16, 50.72, 100.64°) |
| OKLab | oklab(80.85% -0.0281 0.1172) |
| OKLCH | oklch(80.85% 0.121 103.5) |
| XYZ | xyz(47.3995, 53.4851, 19.3797) |
| Luminance | 0.5348 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.98
Sand (survey)
#E2CA76
ΔE00 5.18
Greenish Beige
#C9D179
ΔE00 5.87
Sandy
#F1DA7A
ΔE00 6.88
Vomit Yellow
#C7C10C
ΔE00 7.01
Puke Yellow
#C2BE0E
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CEC462 #626CCE
analogous
#CE8E62 #CEC462 #A2CE62
triadic
#CEC462 #62CEC4 #C462CE
tetradic
#CEC462 #62CE8E #626CCE #CE62A2
square
#CEC462 #62CE8E #626CCE #CE62A2
split-complementary
#CEC462 #62A2CE #8E62CE
monochromatic
#8A822B #B9AD3A #CEC462 #DDD691 #EBE7BF
Accessibility & contrast
On white
1.80
#CEC462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.70
#CEC462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CEC462
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CEC462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CEC462 | 1.00 | 1.80 | 11.70 | 11.70 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BE59
Deuteranopia (green-blind)
#D6C467
Tritanopia (blue-blind)
#DBB9AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cec462; /* rgb */ color: rgb(206, 196, 98); /* oklch */ color: oklch(80.8% 0.121 103.5);
Tailwind
colors: {
custom: {
50: '#dfd591',
500: '#cec462',
950: '#000000',
},
}SCSS
$custom: #cec462; $custom-light: #dfd591; $custom-dark: #000000;
JSON
{
"hex": "#cec462",
"rgb": {
"r": 206,
"g": 196,
"b": 98
},
"hsl": {
"h": 54.444,
"s": 52.427,
"l": 59.608
},
"oklch": {
"l": 0.80849,
"c": 0.12055,
"h": 103.5
},
"luminance": 0.53484
}Semantic roles & 50–950 ramp
primary
#CEC462
secondary
#434A91
accent
#59DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F