#E2F251#E2F251

#E2F251 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.1% C 0.179 H 114.9°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#E2F251
RGBrgb(226, 242, 81)
HSLhsl(66, 86%, 63%)
HSVhsv(66, 67%, 95%)
CMYKcmyk(6.6%, 0%, 66.5%, 5.1%)
CIE-LABlab(91.81, -25.06, 72.42)
CIE-LCHlch(91.81, 76.64, 109.09°)
OKLaboklab(92.07% -0.0754 0.1627)
OKLCHoklch(92.07% 0.179 114.9)
XYZxyz(64.6030, 80.2682, 19.8731)
Luminance0.8027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F251 #6151F2
analogous
#F2B151 #E2F251 #91F251
triadic
#E2F251 #51E2F2 #F251E2
tetradic
#E2F251 #51F2B1 #6151F2 #F25191
square
#E2F251 #51F2B1 #6151F2 #F25191
split-complementary
#E2F251 #5191F2 #B151F2
monochromatic
#A9BB0E #D9EE18 #E2F251 #EBF68A #F5FBC3

Accessibility & contrast

On white

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

On black

17.05
#E2F251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F251
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F251#FFFFFF#000000##000000
##E2F2511.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE639
Deuteranopia (green-blind)
#FFE95D
Tritanopia (blue-blind)
#F0E4D2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e2f251;
/* rgb */ color: rgb(226, 242, 81);
/* oklch */ color: oklch(92.1% 0.179 114.9);
Tailwind
colors: {
  custom: {
    50: '#eef68a',
    500: '#e2f251',
    950: '#000000',
  },
}
SCSS
$custom: #e2f251;
$custom-light: #eef68a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f251",
  "rgb": {
    "r": 226,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 65.963,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.92074,
    "c": 0.17933,
    "h": 114.9
  },
  "luminance": 0.80267
}

Semantic roles & 50–950 ramp

primary
#E2F251
secondary
#3C2EB9
accent
#03E319
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #E2F251

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

Preview Lab → · Contrast checker → · Palette generator →

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