#E5F278#E5F278

#E5F278 is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.7% C 0.147 H 114.3°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).

Color values

HEX#E5F278
RGBrgb(229, 242, 120)
HSLhsl(66, 82%, 71%)
HSVhsv(66, 50%, 95%)
CMYKcmyk(5.4%, 0%, 50.4%, 5.1%)
CIE-LABlab(92.36, -21.08, 56.77)
CIE-LCHlch(92.36, 60.55, 110.37°)
OKLaboklab(92.68% -0.0606 0.134)
OKLCHoklch(92.68% 0.147 114.3)
XYZxyz(67.4565, 81.5193, 29.9469)
Luminance0.8152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F278 #8578F2
analogous
#F2C278 #E5F278 #A8F278
triadic
#E5F278 #78E5F2 #F278E5
tetradic
#E5F278 #78F2C2 #8578F2 #F278A8
square
#E5F278 #78F2C2 #8578F2 #F278A8
split-complementary
#E5F278 #78A8F2 #C278F2
monochromatic
#C6DB15 #DAED40 #E5F278 #F0F7B0 #FAFCE3

Accessibility & contrast

On white

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

On black

17.30
#E5F278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5F278
17.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5F278#FFFFFF#000000##000000
##E5F2781.001.2117.3017.30
#FFFFFF1.211.0021.0021.00
#00000017.3021.001.001.00
##00000017.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5f278;
/* rgb */ color: rgb(229, 242, 120);
/* oklch */ color: oklch(92.7% 0.147 114.3);
Tailwind
colors: {
  custom: {
    50: '#eff6a2',
    500: '#e5f278',
    950: '#000000',
  },
}
SCSS
$custom: #e5f278;
$custom-light: #eff6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f278",
  "rgb": {
    "r": 229,
    "g": 242,
    "b": 120
  },
  "hsl": {
    "h": 66.393,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92683,
    "c": 0.14703,
    "h": 114.3
  },
  "luminance": 0.81518
}

Semantic roles & 50–950 ramp

primary
#E5F278
secondary
#5142CC
accent
#07DF1E
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E5F278

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

Preview Lab → · Contrast checker → · Palette generator →

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