#E4E07F#E4E07F

#E4E07F is a very light, moderate yellow. Relative luminance 0.713; OKLCH L 88.9% C 0.120 H 106.5°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#E4E07F
RGBrgb(228, 224, 127)
HSLhsl(58, 65%, 70%)
HSVhsv(58, 44%, 89%)
CMYKcmyk(0%, 1.8%, 44.3%, 10.6%)
CIE-LABlab(87.65, -12.01, 47.77)
CIE-LCHlch(87.65, 49.26, 104.11°)
OKLaboklab(88.94% -0.034 0.1147)
OKLCHoklch(88.94% 0.12 106.5)
XYZxyz(62.4826, 71.3392, 30.5530)
Luminance0.7134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E07F #7F83E4
analogous
#E4AE7F #E4E07F #B5E47F
triadic
#E4E07F #7FE4E0 #E07FE4
tetradic
#E4E07F #7FE4AE #7F83E4 #E47FB5
square
#E4E07F #7FE4AE #7F83E4 #E47FB5
split-complementary
#E4E07F #7FB5E4 #AE7FE4
monochromatic
#C0BA29 #D9D44C #E4E07F #EFECB2 #F9F8E4

Accessibility & contrast

On white

1.38
#E4E07F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#E4E07F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E07F
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E07F#FFFFFF#000000##000000
##E4E07F1.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD977
Deuteranopia (green-blind)
#F1DE83
Tritanopia (blue-blind)
#F1D5C9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e4e07f;
/* rgb */ color: rgb(228, 224, 127);
/* oklch */ color: oklch(88.9% 0.120 106.5);
Tailwind
colors: {
  custom: {
    50: '#eee9a6',
    500: '#e4e07f',
    950: '#000000',
  },
}
SCSS
$custom: #e4e07f;
$custom-light: #eee9a6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e07f",
  "rgb": {
    "r": 228,
    "g": 224,
    "b": 127
  },
  "hsl": {
    "h": 57.624,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88935,
    "c": 0.11966,
    "h": 106.5
  },
  "luminance": 0.71338
}

Semantic roles & 50–950 ramp

primary
#E4E07F
secondary
#4B50BC
accent
#20CD19
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17160F
muted
#858480

Preview Lab

Preview with #E4E07F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E4E07F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva