#E7D270#E7D270
#E7D270 is a very light, vivid yellow. Relative luminance 0.643; OKLCH L 86.1% C 0.121 H 97.5°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D270 |
|---|---|
| RGB | rgb(231, 210, 112) |
| HSL | hsl(49, 71%, 67%) |
| HSV | hsv(49, 52%, 91%) |
| CMYK | cmyk(0%, 9.1%, 51.5%, 9.4%) |
| CIE-LAB | lab(84.10, -5.11, 50.73) |
| CIE-LCH | lch(84.10, 50.99, 95.75°) |
| OKLab | oklab(86.12% -0.0158 0.1201) |
| OKLCH | oklch(86.12% 0.121 97.5) |
| XYZ | xyz(58.9282, 64.2543, 24.6244) |
| Luminance | 0.6425 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.06
Sand (survey)
#E2CA76
ΔE00 2.92
Wheat (survey)
#FBDD7E
ΔE00 3.90
Light Mustard
#F7D560
ΔE00 4.21
Dull Yellow
#EEDC5B
ΔE00 4.41
Pale Gold
#FDDE6C
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D270 #7085E7
analogous
#E79770 #E7D270 #C0E770
triadic
#E7D270 #70E7D2 #D270E7
tetradic
#E7D270 #70E797 #7085E7 #E770C0
square
#E7D270 #70E797 #7085E7 #E770C0
split-complementary
#E7D270 #70C0E7 #9770E7
monochromatic
#BDA120 #DEC23C #E7D270 #F0E2A4 #F9F3D9
Accessibility & contrast
On white
1.52
#E7D270 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.85
#E7D270 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D270
13.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D270 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D270 | 1.00 | 1.52 | 13.85 | 13.85 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CE67
Deuteranopia (green-blind)
#E9D574
Tritanopia (blue-blind)
#F6C5BB
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e7d270; /* rgb */ color: rgb(231, 210, 112); /* oklch */ color: oklch(86.1% 0.121 97.5);
Tailwind
colors: {
custom: {
50: '#f1df9b',
500: '#e7d270',
950: '#000000',
},
}SCSS
$custom: #e7d270; $custom-light: #f1df9b; $custom-dark: #000000;
JSON
{
"hex": "#e7d270",
"rgb": {
"r": 231,
"g": 210,
"b": 112
},
"hsl": {
"h": 49.412,
"s": 71.257,
"l": 67.255
},
"oklch": {
"l": 0.86118,
"c": 0.1211,
"h": 97.5
},
"luminance": 0.64252
}Semantic roles & 50–950 ramp
primary
#E7D270
secondary
#3F55BC
accent
#34D312
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F