#E4E188#E4E188

#E4E188 is a very light, moderate yellow. Relative luminance 0.721; OKLCH L 89.3% C 0.111 H 106.8°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#E4E188
RGBrgb(228, 225, 136)
HSLhsl(58, 63%, 71%)
HSVhsv(58, 40%, 89%)
CMYKcmyk(0%, 1.3%, 40.4%, 10.6%)
CIE-LABlab(88.03, -11.61, 43.84)
CIE-LCHlch(88.03, 45.35, 104.83°)
OKLaboklab(89.27% -0.0321 0.1065)
OKLCHoklch(89.27% 0.111 106.8)
XYZxyz(63.3651, 72.1234, 33.8710)
Luminance0.7212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E188 #888BE4
analogous
#E4B388 #E4E188 #B9E488
triadic
#E4E188 #88E4E1 #E188E4
tetradic
#E4E188 #88E4B3 #888BE4 #E488B9
square
#E4E188 #88E4B3 #888BE4 #E488B9
split-complementary
#E4E188 #88B9E4 #B388E4
monochromatic
#C5C02D #D9D456 #E4E188 #EFEEBA #F9F9E6

Accessibility & contrast

On white

1.36
#E4E188 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.42
#E4E188 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E188
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E188#FFFFFF#000000##000000
##E4E1881.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB81
Deuteranopia (green-blind)
#F1DF8C
Tritanopia (blue-blind)
#F0D7CB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e188;
/* rgb */ color: rgb(228, 225, 136);
/* oklch */ color: oklch(89.3% 0.111 106.8);
Tailwind
colors: {
  custom: {
    50: '#eeeaac',
    500: '#e4e188',
    950: '#000000',
  },
}
SCSS
$custom: #e4e188;
$custom-light: #eeeaac;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e188",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 136
  },
  "hsl": {
    "h": 58.043,
    "s": 63.014,
    "l": 71.373
  },
  "oklch": {
    "l": 0.89274,
    "c": 0.11119,
    "h": 106.8
  },
  "luminance": 0.72122
}

Semantic roles & 50–950 ramp

primary
#E4E188
secondary
#5457BD
accent
#20CB1B
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E4E188

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

Preview Lab → · Contrast checker → · Palette generator →

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