#E2F162#E2F162

#E2F162 is a very light, vivid yellow. Relative luminance 0.800; OKLCH L 92.0% C 0.166 H 114.7°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#E2F162
RGBrgb(226, 241, 98)
HSLhsl(66, 84%, 66%)
HSVhsv(66, 59%, 95%)
CMYKcmyk(6.2%, 0%, 59.3%, 5.5%)
CIE-LABlab(91.67, -23.51, 65.56)
CIE-LCHlch(91.67, 69.65, 109.73°)
OKLaboklab(92.01% -0.0694 0.1506)
OKLCHoklch(92.01% 0.166 114.7)
XYZxyz(65.0254, 79.9622, 23.5617)
Luminance0.7996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F162 #7162F1
analogous
#F1B962 #E2F162 #9BF162
triadic
#E2F162 #62E2F1 #F162E2
tetradic
#E2F162 #62F1B9 #7162F1 #F1629B
square
#E2F162 #62F1B9 #7162F1 #F1629B
split-complementary
#E2F162 #629BF1 #B962F1
monochromatic
#B4C712 #D8EC2A #E2F162 #ECF69A #F7FBD2

Accessibility & contrast

On white

1.24
#E2F162 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#E2F162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F162
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F162#FFFFFF#000000##000000
##E2F1621.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE651
Deuteranopia (green-blind)
#FFE86B
Tritanopia (blue-blind)
#EFE4D3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e2f162;
/* rgb */ color: rgb(226, 241, 98);
/* oklch */ color: oklch(92.0% 0.166 114.7);
Tailwind
colors: {
  custom: {
    50: '#eef594',
    500: '#e2f162',
    950: '#000000',
  },
}
SCSS
$custom: #e2f162;
$custom-light: #eef594;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f162",
  "rgb": {
    "r": 226,
    "g": 241,
    "b": 98
  },
  "hsl": {
    "h": 66.294,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.92006,
    "c": 0.1658,
    "h": 114.7
  },
  "luminance": 0.79961
}

Semantic roles & 50–950 ramp

primary
#E2F162
secondary
#4233C4
accent
#05E01C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E2F162

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

Preview Lab → · Contrast checker → · Palette generator →

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