#E2CF4F#E2CF4F
#E2CF4F is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.7% C 0.147 H 100.8°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #E2CF4F |
|---|---|
| RGB | rgb(226, 207, 79) |
| HSL | hsl(52, 72%, 60%) |
| HSV | hsv(52, 65%, 89%) |
| CMYK | cmyk(0%, 8.4%, 65%, 11.4%) |
| CIE-LAB | lab(82.57, -8.00, 63.68) |
| CIE-LCH | lch(82.57, 64.18, 97.16°) |
| OKLab | oklab(84.7% -0.0275 0.144) |
| OKLCH | oklch(84.7% 0.147 100.8) |
| XYZ | xyz(55.0904, 61.3613, 16.3377) |
| Luminance | 0.6136 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.00
Maize
#F4D054
ΔE00 4.67
Light Mustard
#F7D560
ΔE00 4.74
Sand Yellow
#FCE166
ΔE00 4.95
Light Gold
#FDDC5C
ΔE00 5.07
Piss Yellow
#DDD618
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2CF4F #4F62E2
analogous
#E2864F #E2CF4F #ABE24F
triadic
#E2CF4F #4FE2CF #CF4FE2
tetradic
#E2CF4F #4FE286 #4F62E2 #E24FAB
square
#E2CF4F #4FE286 #4F62E2 #E24FAB
split-complementary
#E2CF4F #4FABE2 #864FE2
monochromatic
#9D8C1A #D1BB22 #E2CF4F #EBDD84 #F3ECB8
Accessibility & contrast
On white
1.58
#E2CF4F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.27
#E2CF4F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2CF4F
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2CF4F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2CF4F | 1.00 | 1.58 | 13.27 | 13.27 |
| #FFFFFF | 1.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E1C93F
Deuteranopia (green-blind)
#E7D156
Tritanopia (blue-blind)
#F3C1B4
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #e2cf4f; /* rgb */ color: rgb(226, 207, 79); /* oklch */ color: oklch(84.7% 0.147 100.8);
Tailwind
colors: {
custom: {
50: '#eedd86',
500: '#e2cf4f',
950: '#000000',
},
}SCSS
$custom: #e2cf4f; $custom-light: #eedd86; $custom-dark: #000000;
JSON
{
"hex": "#e2cf4f",
"rgb": {
"r": 226,
"g": 207,
"b": 79
},
"hsl": {
"h": 52.245,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.84704,
"c": 0.14656,
"h": 100.8
},
"luminance": 0.61359
}Semantic roles & 50–950 ramp
primary
#E2CF4F
secondary
#3543A0
accent
#51EE39
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F