#E2E28D#E2E28D

#E2E28D is a very light, moderate yellow. Relative luminance 0.725; OKLCH L 89.4% C 0.107 H 108.4°. Best body text is #000000 at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#E2E28D
RGBrgb(226, 226, 141)
HSLhsl(60, 59%, 72%)
HSVhsv(60, 38%, 89%)
CMYKcmyk(0%, 0%, 37.6%, 11.4%)
CIE-LABlab(88.20, -12.35, 41.56)
CIE-LCHlch(88.20, 43.35, 106.55°)
OKLaboklab(89.4% -0.0337 0.1015)
OKLCHoklch(89.4% 0.107 108.4)
XYZxyz(63.3689, 72.4858, 35.8471)
Luminance0.7248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E28D #8D8DE2
analogous
#E2B88D #E2E28D #B8E28D
triadic
#E2E28D #8DE2E2 #E28DE2
tetradic
#E2E28D #8DE2B8 #8D8DE2 #E28DB8
square
#E2E28D #8DE2B8 #8D8DE2 #E28DB8
split-complementary
#E2E28D #8DB8E2 #B88DE2
monochromatic
#C3C332 #D6D65C #E2E28D #EEEEBE #F9F9E7

Accessibility & contrast

On white

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

On black

15.50
#E2E28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E28D
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E28D#FFFFFF#000000##000000
##E2E28D1.001.3615.5015.50
#FFFFFF1.361.0021.0021.00
#00000015.5021.001.001.00
##00000015.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFDB87
Deuteranopia (green-blind)
#F0DF91
Tritanopia (blue-blind)
#EDD8CD
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e2e28d;
/* rgb */ color: rgb(226, 226, 141);
/* oklch */ color: oklch(89.4% 0.107 108.4);
Tailwind
colors: {
  custom: {
    50: '#ecebaf',
    500: '#e2e28d',
    950: '#000000',
  },
}
SCSS
$custom: #e2e28d;
$custom-light: #ecebaf;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e28d",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 141
  },
  "hsl": {
    "h": 60,
    "s": 59.441,
    "l": 71.961
  },
  "oklch": {
    "l": 0.89397,
    "c": 0.10699,
    "h": 108.4
  },
  "luminance": 0.72485
}

Semantic roles & 50–950 ramp

primary
#E2E28D
secondary
#5959BA
accent
#1EC71E
background
#FFFEFD
surface
#FEFDF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E2E28D

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

Preview Lab → · Contrast checker → · Palette generator →

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