#E4D762#E4D762
#E4D762 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.7% C 0.138 H 103.0°. Best body text is #000000 at 14.20:1 contrast (WCAG AA passes).
Color values
| HEX | #E4D762 |
|---|---|
| RGB | rgb(228, 215, 98) |
| HSL | hsl(54, 71%, 64%) |
| HSV | hsv(54, 57%, 89%) |
| CMYK | cmyk(0%, 5.7%, 57%, 10.6%) |
| CIE-LAB | lab(84.99, -9.96, 58.18) |
| CIE-LCH | lch(84.99, 59.03, 99.72°) |
| OKLab | oklab(86.71% -0.0311 0.1348) |
| OKLCH | oklch(86.71% 0.138 103) |
| XYZ | xyz(58.5019, 65.9788, 21.2065) |
| Luminance | 0.6598 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.28
Sandy
#F1DA7A
ΔE00 4.17
Sand Yellow
#FCE166
ΔE00 4.61
Yellow Tan
#FFE36E
ΔE00 5.11
Sandy Yellow
#FDEE73
ΔE00 5.19
Khaki (CSS)
#F0E68C
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4D762 #626FE4
analogous
#E49662 #E4D762 #B0E462
triadic
#E4D762 #62E4D7 #D762E4
tetradic
#E4D762 #62E496 #626FE4 #E462B0
square
#E4D762 #62E496 #626FE4 #E462B0
split-complementary
#E4D762 #62B0E4 #9662E4
monochromatic
#AE9F1E #DBCA2E #E4D762 #EDE496 #F6F2CA
Accessibility & contrast
On white
1.48
#E4D762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.20
#E4D762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4D762
14.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4D762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4D762 | 1.00 | 1.48 | 14.20 | 14.20 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D156
Deuteranopia (green-blind)
#ECD768
Tritanopia (blue-blind)
#F3CABD
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e4d762; /* rgb */ color: rgb(228, 215, 98); /* oklch */ color: oklch(86.7% 0.138 103.0);
Tailwind
colors: {
custom: {
50: '#efe392',
500: '#e4d762',
950: '#000000',
},
}SCSS
$custom: #e4d762; $custom-light: #efe392; $custom-dark: #000000;
JSON
{
"hex": "#e4d762",
"rgb": {
"r": 228,
"g": 215,
"b": 98
},
"hsl": {
"h": 54,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.86713,
"c": 0.13835,
"h": 103
},
"luminance": 0.65977
}Semantic roles & 50–950 ramp
primary
#E4D762
secondary
#3B47AF
accent
#26D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F