#E4E38F#E4E38F

#E4E38F is a very light, moderate yellow. Relative luminance 0.734; OKLCH L 89.8% C 0.106 H 107.8°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#E4E38F
RGBrgb(228, 227, 143)
HSLhsl(59, 61%, 73%)
HSVhsv(59, 37%, 89%)
CMYKcmyk(0%, 0.4%, 37.3%, 10.6%)
CIE-LABlab(88.65, -11.85, 41.16)
CIE-LCHlch(88.65, 42.84, 106.06°)
OKLaboklab(89.8% -0.0323 0.1007)
OKLCHoklch(89.8% 0.106 107.8)
XYZxyz(64.4227, 73.4166, 36.7584)
Luminance0.7341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E38F #8F90E4
analogous
#E4B88F #E4E38F #BAE48F
triadic
#E4E38F #8FE4E3 #E38FE4
tetradic
#E4E38F #8FE4B8 #8F90E4 #E48FBA
square
#E4E38F #8FE4B8 #8F90E4 #E48FBA
split-complementary
#E4E38F #8FBAE4 #B88FE4
monochromatic
#C8C730 #D8D75E #E4E38F #F0EFC0 #F9F9E6

Accessibility & contrast

On white

1.34
#E4E38F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.68
#E4E38F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E38F
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E38F#FFFFFF#000000##000000
##E4E38F1.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DD89
Deuteranopia (green-blind)
#F1E093
Tritanopia (blue-blind)
#EFD9CE
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e4e38f;
/* rgb */ color: rgb(228, 227, 143);
/* oklch */ color: oklch(89.8% 0.106 107.8);
Tailwind
colors: {
  custom: {
    50: '#eeebb1',
    500: '#e4e38f',
    950: '#000000',
  },
}
SCSS
$custom: #e4e38f;
$custom-light: #eeebb1;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e38f",
  "rgb": {
    "r": 228,
    "g": 227,
    "b": 143
  },
  "hsl": {
    "h": 59.294,
    "s": 61.151,
    "l": 72.745
  },
  "oklch": {
    "l": 0.89797,
    "c": 0.10574,
    "h": 107.8
  },
  "luminance": 0.73415
}

Semantic roles & 50–950 ramp

primary
#E4E38F
secondary
#5A5BBD
accent
#1FC91D
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161611
muted
#858481

Preview Lab

Preview with #E4E38F

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

Preview Lab → · Contrast checker → · Palette generator →

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