#E2F45C#E2F45C

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

Color values

HEX#E2F45C
RGBrgb(226, 244, 92)
HSLhsl(67, 87%, 66%)
HSVhsv(67, 62%, 96%)
CMYKcmyk(7.4%, 0%, 62.3%, 4.3%)
CIE-LABlab(92.42, -25.34, 68.82)
CIE-LCHlch(92.42, 73.34, 110.22°)
OKLaboklab(92.59% -0.0751 0.1567)
OKLCHoklch(92.59% 0.174 115.6)
XYZxyz(65.6479, 81.6438, 22.4237)
Luminance0.8164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F45C #6E5CF4
analogous
#F4BA5C #E2F45C #96F45C
triadic
#E2F45C #5CE2F4 #F45CE2
tetradic
#E2F45C #5CF4BA #6E5CF4 #F45C96
square
#E2F45C #5CF4BA #6E5CF4 #F45C96
split-complementary
#E2F45C #5C96F4 #BA5CF4
monochromatic
#B2C80E #D8F023 #E2F45C #ECF895 #F6FCCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2F45C#FFFFFF#000000##000000
##E2F45C1.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)
#FFE849
Deuteranopia (green-blind)
#FFEA66
Tritanopia (blue-blind)
#EFE7D4
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e2f45c;
/* rgb */ color: rgb(226, 244, 92);
/* oklch */ color: oklch(92.6% 0.174 115.6);
Tailwind
colors: {
  custom: {
    50: '#eef791',
    500: '#e2f45c',
    950: '#000000',
  },
}
SCSS
$custom: #e2f45c;
$custom-light: #eef791;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f45c",
  "rgb": {
    "r": 226,
    "g": 244,
    "b": 92
  },
  "hsl": {
    "h": 67.105,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.9259,
    "c": 0.17377,
    "h": 115.6
  },
  "luminance": 0.81643
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2F45C

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

Preview Lab → · Contrast checker → · Palette generator →

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