#E2F562#E2F562

#E2F562 is a very light, vivid yellow. Relative luminance 0.824; OKLCH L 92.9% C 0.170 H 116.0°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#E2F562
RGBrgb(226, 245, 98)
HSLhsl(68, 88%, 67%)
HSVhsv(68, 60%, 96%)
CMYKcmyk(7.8%, 0%, 60%, 3.9%)
CIE-LABlab(92.73, -25.41, 66.72)
CIE-LCHlch(92.73, 71.40, 110.85°)
OKLaboklab(92.86% -0.0747 0.153)
OKLCHoklch(92.86% 0.17 116)
XYZxyz(66.2224, 82.3563, 23.9607)
Luminance0.8236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F562 #7562F5
analogous
#F5BE62 #E2F562 #99F562
triadic
#E2F562 #62E2F5 #F562E2
tetradic
#E2F562 #62F5BE #7562F5 #F56299
square
#E2F562 #62F5BE #7562F5 #F56299
split-complementary
#E2F562 #6299F5 #BE62F5
monochromatic
#B6CF0D #D7F128 #E2F562 #EDF99C #F7FCD5

Accessibility & contrast

On white

1.20
#E2F562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#E2F562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F562
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F562#FFFFFF#000000##000000
##E2F5621.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE951
Deuteranopia (green-blind)
#FFEB6C
Tritanopia (blue-blind)
#EFE8D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #e2f562;
/* rgb */ color: rgb(226, 245, 98);
/* oklch */ color: oklch(92.9% 0.170 116.0);
Tailwind
colors: {
  custom: {
    50: '#eef894',
    500: '#e2f562',
    950: '#000000',
  },
}
SCSS
$custom: #e2f562;
$custom-light: #eef894;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f562",
  "rgb": {
    "r": 226,
    "g": 245,
    "b": 98
  },
  "hsl": {
    "h": 67.755,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.92858,
    "c": 0.17031,
    "h": 116
  },
  "luminance": 0.82355
}

Semantic roles & 50–950 ramp

primary
#E2F562
secondary
#4430CB
accent
#01E51E
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E2F562

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

Preview Lab → · Contrast checker → · Palette generator →

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