#E2E989#E2E989

#E2E989 is a very light, moderate yellow. Relative luminance 0.763; OKLCH L 90.8% C 0.120 H 112.2°. Best body text is #000000 at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#E2E989
RGBrgb(226, 233, 137)
HSLhsl(64, 69%, 73%)
HSVhsv(64, 41%, 91%)
CMYKcmyk(3%, 0%, 41.2%, 8.6%)
CIE-LABlab(89.98, -16.24, 45.77)
CIE-LCHlch(89.98, 48.57, 109.53°)
OKLaboklab(90.79% -0.0452 0.1109)
OKLCHoklch(90.79% 0.12 112.2)
XYZxyz(65.0191, 76.2537, 34.9554)
Luminance0.7625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E989 #9089E9
analogous
#E9C089 #E2E989 #B2E989
triadic
#E2E989 #89E2E9 #E989E2
tetradic
#E2E989 #89E9C0 #9089E9 #E989B2
square
#E2E989 #89E9C0 #9089E9 #E989B2
split-complementary
#E2E989 #89B2E9 #C089E9
monochromatic
#C4D127 #D5DF55 #E2E989 #EFF3BD #F9FAE5

Accessibility & contrast

On white

1.29
#E2E989 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.25
#E2E989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E989
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E989#FFFFFF#000000##000000
##E2E9891.001.2916.2516.25
#FFFFFF1.291.0021.0021.00
#00000016.2521.001.001.00
##00000016.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E181
Deuteranopia (green-blind)
#F6E48D
Tritanopia (blue-blind)
#EDDFD2
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e2e989;
/* rgb */ color: rgb(226, 233, 137);
/* oklch */ color: oklch(90.8% 0.120 112.2);
Tailwind
colors: {
  custom: {
    50: '#ecf0ad',
    500: '#e2e989',
    950: '#000000',
  },
}
SCSS
$custom: #e2e989;
$custom-light: #ecf0ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e989",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 137
  },
  "hsl": {
    "h": 64.375,
    "s": 68.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.90791,
    "c": 0.11972,
    "h": 112.2
  },
  "luminance": 0.76253
}

Semantic roles & 50–950 ramp

primary
#E2E989
secondary
#5C53C3
accent
#15D123
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161610
muted
#858581

Preview Lab

Preview with #E2E989

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

Preview Lab → · Contrast checker → · Palette generator →

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