#CEC461#CEC461
#CEC461 is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.122 H 103.5°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CEC461 |
|---|---|
| RGB | rgb(206, 196, 97) |
| HSL | hsl(54, 53%, 59%) |
| HSV | hsv(54, 53%, 81%) |
| CMYK | cmyk(0%, 4.9%, 52.9%, 19.2%) |
| CIE-LAB | lab(78.15, -9.44, 50.31) |
| CIE-LCH | lch(78.15, 51.18, 100.63°) |
| OKLab | oklab(80.84% -0.0284 0.1181) |
| OKLCH | oklch(80.84% 0.122 103.5) |
| XYZ | xyz(47.3526, 53.4663, 19.1326) |
| Luminance | 0.5346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.08
Sand (survey)
#E2CA76
ΔE00 5.24
Greenish Beige
#C9D179
ΔE00 5.93
Vomit Yellow
#C7C10C
ΔE00 6.87
Puke Yellow
#C2BE0E
ΔE00 6.87
Sandy
#F1DA7A
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CEC461 #616BCE
analogous
#CE8D61 #CEC461 #A2CE61
triadic
#CEC461 #61CEC4 #C461CE
tetradic
#CEC461 #61CE8D #616BCE #CE61A2
square
#CEC461 #61CE8D #616BCE #CE61A2
split-complementary
#CEC461 #61A2CE #8D61CE
monochromatic
#8A812B #B9AD39 #CEC461 #DCD590 #EBE7BE
Accessibility & contrast
On white
1.80
#CEC461 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#CEC461 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CEC461
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CEC461 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CEC461 | 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)
#D3BE58
Deuteranopia (green-blind)
#D6C466
Tritanopia (blue-blind)
#DBB9AE
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #cec461; /* rgb */ color: rgb(206, 196, 97); /* oklch */ color: oklch(80.8% 0.122 103.5);
Tailwind
colors: {
custom: {
50: '#dfd591',
500: '#cec461',
950: '#000000',
},
}SCSS
$custom: #cec461; $custom-light: #dfd591; $custom-dark: #000000;
JSON
{
"hex": "#cec461",
"rgb": {
"r": 206,
"g": 196,
"b": 97
},
"hsl": {
"h": 54.495,
"s": 52.657,
"l": 59.412
},
"oklch": {
"l": 0.80837,
"c": 0.12151,
"h": 103.5
},
"luminance": 0.53465
}Semantic roles & 50–950 ramp
primary
#CEC461
secondary
#434A91
accent
#59DC4C
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F