#E2F371#E2F371

#E2F371 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.6% C 0.155 H 115.7°. Best body text is #000000 at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#E2F371
RGBrgb(226, 243, 113)
HSLhsl(68, 84%, 70%)
HSVhsv(68, 53%, 95%)
CMYKcmyk(7%, 0%, 53.5%, 4.7%)
CIE-LABlab(92.34, -23.32, 59.84)
CIE-LCHlch(92.34, 64.22, 111.29°)
OKLaboklab(92.59% -0.0674 0.14)
OKLCHoklch(92.59% 0.155 115.7)
XYZxyz(66.3964, 81.4630, 27.8458)
Luminance0.8146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F371 #8271F3
analogous
#F3C371 #E2F371 #A1F371
triadic
#E2F371 #71E2F3 #F371E2
tetradic
#E2F371 #71F3C3 #8271F3 #F371A1
square
#E2F371 #71F3C3 #8271F3 #F371A1
split-complementary
#E2F371 #71A1F3 #C371F3
monochromatic
#BED712 #D6EE39 #E2F371 #EEF8A9 #F9FDE2

Accessibility & contrast

On white

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

On black

17.29
#E2F371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F371
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F371#FFFFFF#000000##000000
##E2F3711.001.2117.2917.29
#FFFFFF1.211.0021.0021.00
#00000017.2921.001.001.00
##00000017.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFEA78
Tritanopia (blue-blind)
#EEE7D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e2f371;
/* rgb */ color: rgb(226, 243, 113);
/* oklch */ color: oklch(92.6% 0.155 115.7);
Tailwind
colors: {
  custom: {
    50: '#edf79d',
    500: '#e2f371',
    950: '#000000',
  },
}
SCSS
$custom: #e2f371;
$custom-light: #edf79d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f371",
  "rgb": {
    "r": 226,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 67.846,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92586,
    "c": 0.15539,
    "h": 115.7
  },
  "luminance": 0.81462
}

Semantic roles & 50–950 ramp

primary
#E2F371
secondary
#4E3BCD
accent
#05E121
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F371

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

Preview Lab → · Contrast checker → · Palette generator →

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