#E2D767#E2D767
#E2D767 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.6% C 0.134 H 103.7°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D767 |
|---|---|
| RGB | rgb(226, 215, 103) |
| HSL | hsl(55, 68%, 65%) |
| HSV | hsv(55, 54%, 89%) |
| CMYK | cmyk(0%, 4.9%, 54.4%, 11.4%) |
| CIE-LAB | lab(84.87, -10.40, 55.74) |
| CIE-LCH | lch(84.87, 56.70, 100.57°) |
| OKLab | oklab(86.6% -0.0317 0.1302) |
| OKLCH | oklch(86.6% 0.134 103.7) |
| XYZ | xyz(58.1145, 65.7509, 22.4593) |
| Luminance | 0.6575 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 3.03
Sandy
#F1DA7A
ΔE00 4.19
Khaki (CSS)
#F0E68C
ΔE00 4.81
Sand Yellow
#FCE166
ΔE00 5.19
Sandy Yellow
#FDEE73
ΔE00 5.42
Yellow Tan
#FFE36E
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D767 #6772E2
analogous
#E29A67 #E2D767 #B0E267
triadic
#E2D767 #67E2D7 #D767E2
tetradic
#E2D767 #67E29A #6772E2 #E267B0
square
#E2D767 #67E29A #6772E2 #E267B0
split-complementary
#E2D767 #67B0E2 #9A67E2
monochromatic
#ADA121 #D8C934 #E2D767 #ECE59A #F6F2CE
Accessibility & contrast
On white
1.48
#E2D767 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.15
#E2D767 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D767
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D767 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D767 | 1.00 | 1.48 | 14.15 | 14.15 |
| #FFFFFF | 1.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D15C
Deuteranopia (green-blind)
#EBD76D
Tritanopia (blue-blind)
#F1CABE
Achromatopsia (no color)
#D4D4D4
Design tokens & code
CSS
--color: #e2d767; /* rgb */ color: rgb(226, 215, 103); /* oklch */ color: oklch(86.6% 0.134 103.7);
Tailwind
colors: {
custom: {
50: '#eee396',
500: '#e2d767',
950: '#000000',
},
}SCSS
$custom: #e2d767; $custom-light: #eee396; $custom-dark: #000000;
JSON
{
"hex": "#e2d767",
"rgb": {
"r": 226,
"g": 215,
"b": 103
},
"hsl": {
"h": 54.634,
"s": 67.956,
"l": 64.51
},
"oklch": {
"l": 0.86597,
"c": 0.13397,
"h": 103.7
},
"luminance": 0.65749
}Semantic roles & 50–950 ramp
primary
#E2D767
secondary
#3E48AF
accent
#26D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F