#E2F262#E2F262

#E2F262 is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.2% C 0.167 H 115.1°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#E2F262
RGBrgb(226, 242, 98)
HSLhsl(67, 85%, 67%)
HSVhsv(67, 60%, 95%)
CMYKcmyk(6.6%, 0%, 59.5%, 5.1%)
CIE-LABlab(91.93, -23.99, 65.85)
CIE-LCHlch(91.93, 70.08, 110.02°)
OKLaboklab(92.22% -0.0707 0.1512)
OKLCHoklch(92.22% 0.167 115.1)
XYZxyz(65.3222, 80.5558, 23.6606)
Luminance0.8055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F262 #7262F2
analogous
#F2BA62 #E2F262 #9AF262
triadic
#E2F262 #62E2F2 #F262E2
tetradic
#E2F262 #62F2BA #7262F2 #F2629A
square
#E2F262 #62F2BA #7262F2 #F2629A
split-complementary
#E2F262 #629AF2 #BA62F2
monochromatic
#B4C911 #D8ED29 #E2F262 #ECF79B #F7FBD3

Accessibility & contrast

On white

1.23
#E2F262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#E2F262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F262
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F262#FFFFFF#000000##000000
##E2F2621.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFE96B
Tritanopia (blue-blind)
#EFE5D3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e2f262;
/* rgb */ color: rgb(226, 242, 98);
/* oklch */ color: oklch(92.2% 0.167 115.1);
Tailwind
colors: {
  custom: {
    50: '#eef694',
    500: '#e2f262',
    950: '#000000',
  },
}
SCSS
$custom: #e2f262;
$custom-light: #eef694;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f262",
  "rgb": {
    "r": 226,
    "g": 242,
    "b": 98
  },
  "hsl": {
    "h": 66.667,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.92218,
    "c": 0.16693,
    "h": 115.1
  },
  "luminance": 0.80555
}

Semantic roles & 50–950 ramp

primary
#E2F262
secondary
#4333C6
accent
#04E11D
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E2F262

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

Preview Lab → · Contrast checker → · Palette generator →

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