#E2F281#E2F281

#E2F281 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.6% C 0.139 H 115.8°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#E2F281
RGBrgb(226, 242, 129)
HSLhsl(68, 81%, 73%)
HSVhsv(68, 47%, 95%)
CMYKcmyk(6.6%, 0%, 46.7%, 5.1%)
CIE-LABlab(92.25, -21.42, 52.40)
CIE-LCHlch(92.25, 56.61, 112.23°)
OKLaboklab(92.57% -0.0605 0.1252)
OKLCHoklch(92.57% 0.139 115.8)
XYZxyz(67.0794, 81.2587, 32.9154)
Luminance0.8126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F281 #9181F2
analogous
#F2CA81 #E2F281 #A9F281
triadic
#E2F281 #81E2F2 #F281E2
tetradic
#E2F281 #81F2CA #9181F2 #F281A9
square
#E2F281 #81F2CA #9181F2 #F281A9
split-complementary
#E2F281 #81A9F2 #CA81F2
monochromatic
#C5E117 #D5EC4A #E2F281 #EFF8B8 #F9FCE3

Accessibility & contrast

On white

1.22
#E2F281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#E2F281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F281
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F281#FFFFFF#000000##000000
##E2F2811.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE877
Deuteranopia (green-blind)
#FEEA87
Tritanopia (blue-blind)
#EDE7D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e2f281;
/* rgb */ color: rgb(226, 242, 129);
/* oklch */ color: oklch(92.6% 0.139 115.8);
Tailwind
colors: {
  custom: {
    50: '#edf6a8',
    500: '#e2f281',
    950: '#000000',
  },
}
SCSS
$custom: #e2f281;
$custom-light: #edf6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f281",
  "rgb": {
    "r": 226,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 68.496,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.9257,
    "c": 0.13904,
    "h": 115.8
  },
  "luminance": 0.81258
}

Semantic roles & 50–950 ramp

primary
#E2F281
secondary
#5D4ACD
accent
#08DE26
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #E2F281

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

Preview Lab → · Contrast checker → · Palette generator →

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