#E2F381#E2F381

#E2F381 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 92.8% C 0.140 H 116.2°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#E2F381
RGBrgb(226, 243, 129)
HSLhsl(69, 83%, 73%)
HSVhsv(69, 47%, 95%)
CMYKcmyk(7%, 0%, 46.9%, 4.7%)
CIE-LABlab(92.51, -21.90, 52.73)
CIE-LCHlch(92.51, 57.09, 112.55°)
OKLaboklab(92.78% -0.0619 0.1259)
OKLCHoklch(92.78% 0.14 116.2)
XYZxyz(67.3778, 81.8556, 33.0149)
Luminance0.8185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F381 #9281F3
analogous
#F3CB81 #E2F381 #A9F381
triadic
#E2F381 #81E2F3 #F381E2
tetradic
#E2F381 #81F3CB #9281F3 #F381A9
square
#E2F381 #81F3CB #9281F3 #F381A9
split-complementary
#E2F381 #81A9F3 #CB81F3
monochromatic
#C5E416 #D5EE49 #E2F381 #EFF8B9 #F9FCE3

Accessibility & contrast

On white

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

On black

17.37
#E2F381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F381
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F381#FFFFFF#000000##000000
##E2F3811.001.2117.3717.37
#FFFFFF1.211.0021.0021.00
#00000017.3721.001.001.00
##00000017.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE977
Deuteranopia (green-blind)
#FFEA87
Tritanopia (blue-blind)
#EDE8D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e2f381;
/* rgb */ color: rgb(226, 243, 129);
/* oklch */ color: oklch(92.8% 0.140 116.2);
Tailwind
colors: {
  custom: {
    50: '#edf7a8',
    500: '#e2f381',
    950: '#000000',
  },
}
SCSS
$custom: #e2f381;
$custom-light: #edf7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f381",
  "rgb": {
    "r": 226,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 68.947,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.92781,
    "c": 0.14027,
    "h": 116.2
  },
  "luminance": 0.81855
}

Semantic roles & 50–950 ramp

primary
#E2F381
secondary
#5D4ACF
accent
#06DF27
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #E2F381

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

Preview Lab → · Contrast checker → · Palette generator →

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