#E2F08C#E2F08C

#E2F08C is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.3% C 0.125 H 115.4°. Best body text is #000000 at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#E2F08C
RGBrgb(226, 240, 140)
HSLhsl(68, 77%, 75%)
HSVhsv(68, 42%, 94%)
CMYKcmyk(5.8%, 0%, 41.7%, 5.9%)
CIE-LABlab(91.86, -19.34, 46.67)
CIE-LCHlch(91.86, 50.52, 112.51°)
OKLaboklab(92.3% -0.0538 0.1131)
OKLCHoklch(92.3% 0.125 115.4)
XYZxyz(67.2583, 80.3831, 36.7782)
Luminance0.8038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F08C #9A8CF0
analogous
#F0CC8C #E2F08C #B0F08C
triadic
#E2F08C #8CE2F0 #F08CE2
tetradic
#E2F08C #8CF0CC #9A8CF0 #F08CB0
square
#E2F08C #8CF0CC #9A8CF0 #F08CB0
split-complementary
#E2F08C #8CB0F0 #CC8CF0
monochromatic
#C7E220 #D4E956 #E2F08C #F0F7C2 #F8FBE4

Accessibility & contrast

On white

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

On black

17.08
#E2F08C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F08C
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F08C#FFFFFF#000000##000000
##E2F08C1.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE784
Deuteranopia (green-blind)
#FCE991
Tritanopia (blue-blind)
#ECE6D8
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e2f08c;
/* rgb */ color: rgb(226, 240, 140);
/* oklch */ color: oklch(92.3% 0.125 115.4);
Tailwind
colors: {
  custom: {
    50: '#ecf4af',
    500: '#e2f08c',
    950: '#000000',
  },
}
SCSS
$custom: #e2f08c;
$custom-light: #ecf4af;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f08c",
  "rgb": {
    "r": 226,
    "g": 240,
    "b": 140
  },
  "hsl": {
    "h": 68.4,
    "s": 76.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.92303,
    "c": 0.12521,
    "h": 115.4
  },
  "luminance": 0.80382
}

Semantic roles & 50–950 ramp

primary
#E2F08C
secondary
#6554CC
accent
#0CD929
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #E2F08C

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

Preview Lab → · Contrast checker → · Palette generator →

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