#E7E27F#E7E27F
#E7E27F is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.6% C 0.122 H 106.1°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).
Color values
| HEX | #E7E27F |
|---|---|
| RGB | rgb(231, 226, 127) |
| HSL | hsl(57, 68%, 70%) |
| HSV | hsv(57, 45%, 91%) |
| CMYK | cmyk(0%, 2.2%, 45%, 9.4%) |
| CIE-LAB | lab(88.41, -11.82, 48.76) |
| CIE-LCH | lch(88.41, 50.17, 103.63°) |
| OKLab | oklab(89.6% -0.0336 0.1169) |
| OKLCH | oklch(89.6% 0.122 106.1) |
| XYZ | xyz(63.9835, 72.9156, 30.7782) |
| Luminance | 0.7291 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.21
Dark Cream
#FFF39A
ΔE00 4.70
Buff
#FEF69E
ΔE00 4.92
Sandy Yellow
#FDEE73
ΔE00 4.98
Sandy
#F1DA7A
ΔE00 5.04
Straw
#FCF679
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7E27F #7F84E7
analogous
#E7AE7F #E7E27F #B8E77F
triadic
#E7E27F #7FE7E2 #E27FE7
tetradic
#E7E27F #7FE7AE #7F84E7 #E77FB8
square
#E7E27F #7FE7AE #7F84E7 #E77FB8
split-complementary
#E7E27F #7FB8E7 #AE7FE7
monochromatic
#C6BF25 #DDD64B #E7E27F #F1EEB3 #FAF9E5
Accessibility & contrast
On white
1.35
#E7E27F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.58
#E7E27F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7E27F
15.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7E27F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7E27F | 1.00 | 1.35 | 15.58 | 15.58 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DB77
Deuteranopia (green-blind)
#F3E083
Tritanopia (blue-blind)
#F4D7CB
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #e7e27f; /* rgb */ color: rgb(231, 226, 127); /* oklch */ color: oklch(89.6% 0.122 106.1);
Tailwind
colors: {
custom: {
50: '#f0eaa6',
500: '#e7e27f',
950: '#000000',
},
}SCSS
$custom: #e7e27f; $custom-light: #f0eaa6; $custom-dark: #000000;
JSON
{
"hex": "#e7e27f",
"rgb": {
"r": 231,
"g": 226,
"b": 127
},
"hsl": {
"h": 57.115,
"s": 68.421,
"l": 70.196
},
"oklch": {
"l": 0.89595,
"c": 0.12162,
"h": 106.1
},
"luminance": 0.72914
}Semantic roles & 50–950 ramp
primary
#E7E27F
secondary
#4B50BF
accent
#1ED015
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#17160F
muted
#858480