#E2D45F#E2D45F
#E2D45F is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 85.9% C 0.138 H 102.5°. Best body text is #000000 at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D45F |
|---|---|
| RGB | rgb(226, 212, 95) |
| HSL | hsl(54, 69%, 63%) |
| HSV | hsv(54, 58%, 89%) |
| CMYK | cmyk(0%, 6.2%, 58%, 11.4%) |
| CIE-LAB | lab(84.01, -9.49, 58.38) |
| CIE-LCH | lch(84.01, 59.14, 99.23°) |
| OKLab | oklab(85.89% -0.03 0.1349) |
| OKLCH | oklch(85.89% 0.138 102.5) |
| XYZ | xyz(56.9751, 64.0841, 20.1925) |
| Luminance | 0.6408 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.58
Sandy
#F1DA7A
ΔE00 4.26
Sand Yellow
#FCE166
ΔE00 4.84
Yellow Tan
#FFE36E
ΔE00 5.38
Pale Gold
#FDDE6C
ΔE00 5.43
Light Mustard
#F7D560
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D45F #5F6DE2
analogous
#E2925F #E2D45F #AEE25F
triadic
#E2D45F #5FE2D4 #D45FE2
tetradic
#E2D45F #5FE292 #5F6DE2 #E25FAE
square
#E2D45F #5FE292 #5F6DE2 #E25FAE
split-complementary
#E2D45F #5FAEE2 #925FE2
monochromatic
#A8991E #D9C62B #E2D45F #EBE293 #F5F0C7
Accessibility & contrast
On white
1.52
#E2D45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.82
#E2D45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D45F
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D45F | 1.00 | 1.52 | 13.82 | 13.82 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5CE53
Deuteranopia (green-blind)
#EAD465
Tritanopia (blue-blind)
#F2C7BA
Achromatopsia (no color)
#D1D1D1
Design tokens & code
CSS
--color: #e2d45f; /* rgb */ color: rgb(226, 212, 95); /* oklch */ color: oklch(85.9% 0.138 102.5);
Tailwind
colors: {
custom: {
50: '#eee190',
500: '#e2d45f',
950: '#000000',
},
}SCSS
$custom: #e2d45f; $custom-light: #eee190; $custom-dark: #000000;
JSON
{
"hex": "#e2d45f",
"rgb": {
"r": 226,
"g": 212,
"b": 95
},
"hsl": {
"h": 53.588,
"s": 69.312,
"l": 62.941
},
"oklch": {
"l": 0.85889,
"c": 0.1382,
"h": 102.5
},
"luminance": 0.64082
}Semantic roles & 50–950 ramp
primary
#E2D45F
secondary
#3B47AA
accent
#28D114
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F