#E4CF5F#E4CF5F
#E4CF5F is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 85.0% C 0.134 H 98.8°. Best body text is #000000 at 13.39:1 contrast (WCAG AA passes).
Color values
| HEX | #E4CF5F |
|---|---|
| RGB | rgb(228, 207, 95) |
| HSL | hsl(51, 71%, 63%) |
| HSV | hsv(51, 58%, 89%) |
| CMYK | cmyk(0%, 9.2%, 58.3%, 10.6%) |
| CIE-LAB | lab(82.89, -6.13, 57.16) |
| CIE-LCH | lch(82.89, 57.49, 96.12°) |
| OKLab | oklab(85.04% -0.0205 0.1323) |
| OKLCH | oklch(85.04% 0.134 98.8) |
| XYZ | xyz(56.3755, 61.9482, 19.8119) |
| Luminance | 0.6195 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.50
Sandy
#F1DA7A
ΔE00 3.63
Light Mustard
#F7D560
ΔE00 3.97
Maize
#F4D054
ΔE00 4.21
Sand (survey)
#E2CA76
ΔE00 4.28
Pale Gold
#FDDE6C
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4CF5F #5F74E4
analogous
#E48C5F #E4CF5F #B7E45F
triadic
#E4CF5F #5FE4CF #CF5FE4
tetradic
#E4CF5F #5FE48C #5F74E4 #E45FB7
square
#E4CF5F #5FE48C #5F74E4 #E45FB7
split-complementary
#E4CF5F #5FB7E4 #8C5FE4
monochromatic
#AC951D #DBBF2B #E4CF5F #EDDF93 #F6EEC8
Accessibility & contrast
On white
1.57
#E4CF5F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.39
#E4CF5F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4CF5F
13.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4CF5F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4CF5F | 1.00 | 1.57 | 13.39 | 13.39 |
| #FFFFFF | 1.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1CA53
Deuteranopia (green-blind)
#E7D264
Tritanopia (blue-blind)
#F4C2B6
Achromatopsia (no color)
#CECECE
Design tokens & code
CSS
--color: #e4cf5f; /* rgb */ color: rgb(228, 207, 95); /* oklch */ color: oklch(85.0% 0.134 98.8);
Tailwind
colors: {
custom: {
50: '#efdd90',
500: '#e4cf5f',
950: '#000000',
},
}SCSS
$custom: #e4cf5f; $custom-light: #efdd90; $custom-dark: #000000;
JSON
{
"hex": "#e4cf5f",
"rgb": {
"r": 228,
"g": 207,
"b": 95
},
"hsl": {
"h": 50.526,
"s": 71.123,
"l": 63.333
},
"oklch": {
"l": 0.85038,
"c": 0.13383,
"h": 98.8
},
"luminance": 0.61946
}Semantic roles & 50–950 ramp
primary
#E4CF5F
secondary
#3A4CAD
accent
#31D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F