#E2F45B#E2F45B

#E2F45B is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 92.6% C 0.175 H 115.6°. Best body text is #000000 at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#E2F45B
RGBrgb(226, 244, 91)
HSLhsl(67, 87%, 66%)
HSVhsv(67, 63%, 96%)
CMYKcmyk(7.4%, 0%, 62.7%, 4.3%)
CIE-LABlab(92.41, -25.41, 69.21)
CIE-LCHlch(92.41, 73.72, 110.16°)
OKLaboklab(92.58% -0.0754 0.1574)
OKLCHoklch(92.58% 0.175 115.6)
XYZxyz(65.6045, 81.6264, 22.1950)
Luminance0.8163 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F45B #6D5BF4
analogous
#F4B95B #E2F45B #95F45B
triadic
#E2F45B #5BE2F4 #F45BE2
tetradic
#E2F45B #5BF4B9 #6D5BF4 #F45B95
square
#E2F45B #5BF4B9 #6D5BF4 #F45B95
split-complementary
#E2F45B #5B95F4 #B95BF4
monochromatic
#B1C70D #D8F022 #E2F45B #ECF894 #F6FCCE

Accessibility & contrast

On white

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

On black

17.33
#E2F45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F45B
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F45B#FFFFFF#000000##000000
##E2F45B1.001.2117.3317.33
#FFFFFF1.211.0021.0021.00
#00000017.3321.001.001.00
##00000017.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE847
Deuteranopia (green-blind)
#FFEA65
Tritanopia (blue-blind)
#EFE7D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e2f45b;
/* rgb */ color: rgb(226, 244, 91);
/* oklch */ color: oklch(92.6% 0.175 115.6);
Tailwind
colors: {
  custom: {
    50: '#eef790',
    500: '#e2f45b',
    950: '#000000',
  },
}
SCSS
$custom: #e2f45b;
$custom-light: #eef790;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f45b",
  "rgb": {
    "r": 226,
    "g": 244,
    "b": 91
  },
  "hsl": {
    "h": 67.059,
    "s": 87.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.92582,
    "c": 0.17451,
    "h": 115.6
  },
  "luminance": 0.81625
}

Semantic roles & 50–950 ramp

primary
#E2F45B
secondary
#412FC4
accent
#02E41C
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E2F45B

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

Preview Lab → · Contrast checker → · Palette generator →

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