#E4CF5B#E4CF5B
#E4CF5B is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 85.0% C 0.137 H 99.1°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).
Color values
| HEX | #E4CF5B |
|---|---|
| RGB | rgb(228, 207, 91) |
| HSL | hsl(51, 72%, 63%) |
| HSV | hsv(51, 60%, 89%) |
| CMYK | cmyk(0%, 9.2%, 60.1%, 10.6%) |
| CIE-LAB | lab(82.85, -6.41, 58.90) |
| CIE-LCH | lch(82.85, 59.25, 96.21°) |
| OKLab | oklab(85% -0.0217 0.1355) |
| OKLCH | oklch(85% 0.137 99.1) |
| XYZ | xyz(56.1983, 61.8774, 18.8788) |
| Luminance | 0.6188 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.28
Sandy
#F1DA7A
ΔE00 3.97
Light Mustard
#F7D560
ΔE00 3.97
Maize
#F4D054
ΔE00 4.12
Sand Yellow
#FCE166
ΔE00 4.62
Pale Gold
#FDDE6C
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4CF5B #5B70E4
analogous
#E48B5B #E4CF5B #B4E45B
triadic
#E4CF5B #5BE4CF #CF5BE4
tetradic
#E4CF5B #5BE48B #5B70E4 #E45BB4
square
#E4CF5B #5BE48B #5B70E4 #E45BB4
split-complementary
#E4CF5B #5BB4E4 #8B5BE4
monochromatic
#A9931C #DBC026 #E4CF5B #EDDE90 #F5EEC4
Accessibility & contrast
On white
1.57
#E4CF5B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.38
#E4CF5B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4CF5B
13.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4CF5B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4CF5B | 1.00 | 1.57 | 13.38 | 13.38 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CA4E
Deuteranopia (green-blind)
#E7D261
Tritanopia (blue-blind)
#F4C1B6
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #e4cf5b; /* rgb */ color: rgb(228, 207, 91); /* oklch */ color: oklch(85.0% 0.137 99.1);
Tailwind
colors: {
custom: {
50: '#efdd8e',
500: '#e4cf5b',
950: '#000000',
},
}SCSS
$custom: #e4cf5b; $custom-light: #efdd8e; $custom-dark: #000000;
JSON
{
"hex": "#e4cf5b",
"rgb": {
"r": 228,
"g": 207,
"b": 91
},
"hsl": {
"h": 50.803,
"s": 71.728,
"l": 62.549
},
"oklch": {
"l": 0.84996,
"c": 0.13721,
"h": 99.1
},
"luminance": 0.61875
}Semantic roles & 50–950 ramp
primary
#E4CF5B
secondary
#394AAB
accent
#2FD412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F