#E2E188#E2E188

#E2E188 is a very light, moderate yellow. Relative luminance 0.718; OKLCH L 89.1% C 0.111 H 107.9°. Best body text is #000000 at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#E2E188
RGBrgb(226, 225, 136)
HSLhsl(59, 61%, 71%)
HSVhsv(59, 40%, 89%)
CMYKcmyk(0%, 0.4%, 39.8%, 11.4%)
CIE-LABlab(87.87, -12.38, 43.61)
CIE-LCHlch(87.87, 45.34, 105.85°)
OKLaboklab(89.11% -0.0342 0.106)
OKLCHoklch(89.11% 0.111 107.9)
XYZxyz(62.7341, 71.7981, 33.8415)
Luminance0.7180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E188 #8889E2
analogous
#E2B488 #E2E188 #B6E288
triadic
#E2E188 #88E2E1 #E188E2
tetradic
#E2E188 #88E2B4 #8889E2 #E288B6
square
#E2E188 #88E2B4 #8889E2 #E288B6
split-complementary
#E2E188 #88B6E2 #B488E2
monochromatic
#C1BF2F #D6D557 #E2E188 #EEEDB9 #F9F9E6

Accessibility & contrast

On white

1.37
#E2E188 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.36
#E2E188 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E188
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E188#FFFFFF#000000##000000
##E2E1881.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDA81
Deuteranopia (green-blind)
#F0DE8C
Tritanopia (blue-blind)
#EED7CB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2e188;
/* rgb */ color: rgb(226, 225, 136);
/* oklch */ color: oklch(89.1% 0.111 107.9);
Tailwind
colors: {
  custom: {
    50: '#eceaac',
    500: '#e2e188',
    950: '#000000',
  },
}
SCSS
$custom: #e2e188;
$custom-light: #eceaac;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e188",
  "rgb": {
    "r": 226,
    "g": 225,
    "b": 136
  },
  "hsl": {
    "h": 59.333,
    "s": 60.811,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89111,
    "c": 0.11134,
    "h": 107.9
  },
  "luminance": 0.71797
}

Semantic roles & 50–950 ramp

primary
#E2E188
secondary
#5455BA
accent
#1FC91D
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2E188

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

Preview Lab → · Contrast checker → · Palette generator →

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