#E4F278#E4F278

#E4F278 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.6% C 0.147 H 114.7°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#E4F278
RGBrgb(228, 242, 120)
HSLhsl(67, 82%, 71%)
HSVhsv(67, 50%, 95%)
CMYKcmyk(5.8%, 0%, 50.4%, 5.1%)
CIE-LABlab(92.29, -21.47, 56.66)
CIE-LCHlch(92.29, 60.59, 110.75°)
OKLaboklab(92.61% -0.0616 0.1338)
OKLCHoklch(92.61% 0.147 114.7)
XYZxyz(67.1383, 81.3552, 29.9320)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4F278 #8678F2
analogous
#F2C378 #E4F278 #A7F278
triadic
#E4F278 #78E4F2 #F278E4
tetradic
#E4F278 #78F2C3 #8678F2 #F278A7
square
#E4F278 #78F2C3 #8678F2 #F278A7
split-complementary
#E4F278 #78A7F2 #C378F2
monochromatic
#C4DB15 #D9ED40 #E4F278 #EFF7B0 #F9FCE3

Accessibility & contrast

On white

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

On black

17.27
#E4F278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4F278
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4F278#FFFFFF#000000##000000
##E4F2781.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4f278;
/* rgb */ color: rgb(228, 242, 120);
/* oklch */ color: oklch(92.6% 0.147 114.7);
Tailwind
colors: {
  custom: {
    50: '#eef6a2',
    500: '#e4f278',
    950: '#000000',
  },
}
SCSS
$custom: #e4f278;
$custom-light: #eef6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e4f278",
  "rgb": {
    "r": 228,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 66.885,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92607,
    "c": 0.14726,
    "h": 114.7
  },
  "luminance": 0.81354
}

Semantic roles & 50–950 ramp

primary
#E4F278
secondary
#5242CC
accent
#07DF1F
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E4F278

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

Preview Lab → · Contrast checker → · Palette generator →

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