#E2F28D#E2F28D

#E2F28D is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 92.7% C 0.127 H 116.3°. Best body text is #000000 at 17.32:1 contrast (WCAG AA passes).

Color values

HEX#E2F28D
RGBrgb(226, 242, 141)
HSLhsl(70, 80%, 75%)
HSVhsv(70, 42%, 95%)
CMYKcmyk(6.6%, 0%, 41.7%, 5.1%)
CIE-LABlab(92.40, -20.20, 46.87)
CIE-LCHlch(92.40, 51.04, 113.32°)
OKLaboklab(92.74% -0.0561 0.1136)
OKLCHoklch(92.74% 0.127 116.3)
XYZxyz(67.9244, 81.5967, 37.3656)
Luminance0.8160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F28D #9D8DF2
analogous
#F2D08D #E2F28D #AFF28D
triadic
#E2F28D #8DE2F2 #F28DE2
tetradic
#E2F28D #8DF2D0 #9D8DF2 #F28DAF
square
#E2F28D #8DF2D0 #9D8DF2 #F28DAF
split-complementary
#E2F28D #8DAFF2 #D08DF2
monochromatic
#C6E51F #D4EC56 #E2F28D #F0F8C4 #F8FCE4

Accessibility & contrast

On white

1.21
#E2F28D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.32
#E2F28D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F28D
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F28D#FFFFFF#000000##000000
##E2F28D1.001.2117.3217.32
#FFFFFF1.211.0021.0021.00
#00000017.3221.001.001.00
##00000017.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE985
Deuteranopia (green-blind)
#FDEA92
Tritanopia (blue-blind)
#ECE8DA
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e2f28d;
/* rgb */ color: rgb(226, 242, 141);
/* oklch */ color: oklch(92.7% 0.127 116.3);
Tailwind
colors: {
  custom: {
    50: '#ecf6b0',
    500: '#e2f28d',
    950: '#000000',
  },
}
SCSS
$custom: #e2f28d;
$custom-light: #ecf6b0;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f28d",
  "rgb": {
    "r": 226,
    "g": 242,
    "b": 141
  },
  "hsl": {
    "h": 69.505,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.92738,
    "c": 0.12669,
    "h": 116.3
  },
  "luminance": 0.81596
}

Semantic roles & 50–950 ramp

primary
#E2F28D
secondary
#6855CF
accent
#0ADC2B
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #E2F28D

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

Preview Lab → · Contrast checker → · Palette generator →

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