#E4E38B#E4E38B

#E4E38B is a very light, moderate yellow. Relative luminance 0.733; OKLCH L 89.7% C 0.110 H 107.9°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#E4E38B
RGBrgb(228, 227, 139)
HSLhsl(59, 62%, 72%)
HSVhsv(59, 39%, 89%)
CMYKcmyk(0%, 0.4%, 39%, 10.6%)
CIE-LABlab(88.59, -12.29, 43.07)
CIE-LCHlch(88.59, 44.79, 105.92°)
OKLaboklab(89.73% -0.0338 0.1049)
OKLCHoklch(89.73% 0.11 107.9)
XYZxyz(64.1251, 73.2976, 35.1909)
Luminance0.7330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E38B #8B8CE4
analogous
#E4B78B #E4E38B #B9E48B
triadic
#E4E38B #8BE4E3 #E38BE4
tetradic
#E4E38B #8BE4B7 #8B8CE4 #E48BB9
square
#E4E38B #8BE4B7 #8B8CE4 #E48BB9
split-complementary
#E4E38B #8BB9E4 #B78BE4
monochromatic
#C6C52E #D8D759 #E4E38B #F0EFBD #F9F9E6

Accessibility & contrast

On white

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

On black

15.66
#E4E38B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E38B
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E38B#FFFFFF#000000##000000
##E4E38B1.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DC84
Deuteranopia (green-blind)
#F2E08F
Tritanopia (blue-blind)
#F0D9CD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e4e38b;
/* rgb */ color: rgb(228, 227, 139);
/* oklch */ color: oklch(89.7% 0.110 107.9);
Tailwind
colors: {
  custom: {
    50: '#eeebae',
    500: '#e4e38b',
    950: '#000000',
  },
}
SCSS
$custom: #e4e38b;
$custom-light: #eeebae;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e38b",
  "rgb": {
    "r": 228,
    "g": 227,
    "b": 139
  },
  "hsl": {
    "h": 59.326,
    "s": 62.238,
    "l": 71.961
  },
  "oklch": {
    "l": 0.89733,
    "c": 0.11018,
    "h": 107.9
  },
  "luminance": 0.73296
}

Semantic roles & 50–950 ramp

primary
#E4E38B
secondary
#5658BD
accent
#1DCA1C
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E4E38B

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

Preview Lab → · Contrast checker → · Palette generator →

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