#E2F278#E2F278

#E2F278 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.5% C 0.148 H 115.5°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#E2F278
RGBrgb(226, 242, 120)
HSLhsl(68, 82%, 71%)
HSVhsv(68, 50%, 95%)
CMYKcmyk(6.6%, 0%, 50.4%, 5.1%)
CIE-LABlab(92.14, -22.25, 56.46)
CIE-LCHlch(92.14, 60.68, 111.51°)
OKLaboklab(92.46% -0.0637 0.1333)
OKLCHoklch(92.46% 0.148 115.5)
XYZxyz(66.5073, 81.0299, 29.9024)
Luminance0.8103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F278 #8878F2
analogous
#F2C578 #E2F278 #A5F278
triadic
#E2F278 #78E2F2 #F278E2
tetradic
#E2F278 #78F2C5 #8878F2 #F278A5
square
#E2F278 #78F2C5 #8878F2 #F278A5
split-complementary
#E2F278 #78A5F2 #C578F2
monochromatic
#C1DB15 #D6ED40 #E2F278 #EEF7B0 #F9FCE3

Accessibility & contrast

On white

1.22
#E2F278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.21
#E2F278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F278
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F278#FFFFFF#000000##000000
##E2F2781.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86D
Deuteranopia (green-blind)
#FFEA7F
Tritanopia (blue-blind)
#EEE6D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e2f278;
/* rgb */ color: rgb(226, 242, 120);
/* oklch */ color: oklch(92.5% 0.148 115.5);
Tailwind
colors: {
  custom: {
    50: '#edf6a2',
    500: '#e2f278',
    950: '#000000',
  },
}
SCSS
$custom: #e2f278;
$custom-light: #edf6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f278",
  "rgb": {
    "r": 226,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 67.869,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92456,
    "c": 0.14777,
    "h": 115.5
  },
  "luminance": 0.81029
}

Semantic roles & 50–950 ramp

primary
#E2F278
secondary
#5442CC
accent
#07DF23
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F278

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

Preview Lab → · Contrast checker → · Palette generator →

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