#E4FA72#E4FA72

#E4FA72 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.2% C 0.162 H 117.3°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#E4FA72
RGBrgb(228, 250, 114)
HSLhsl(70, 93%, 71%)
HSVhsv(70, 54%, 98%)
CMYKcmyk(8.8%, 0%, 54.4%, 2%)
CIE-LABlab(94.35, -25.79, 61.74)
CIE-LCHlch(94.35, 66.91, 112.67°)
OKLaboklab(94.23% -0.0744 0.1442)
OKLCHoklch(94.23% 0.162 117.3)
XYZxyz(69.2188, 86.0808, 28.8851)
Luminance0.8608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4FA72 #8872FA
analogous
#FACC72 #E4FA72 #A0FA72
triadic
#E4FA72 #72E4FA #FA72E4
tetradic
#E4FA72 #72FACC #8872FA #FA72A0
square
#E4FA72 #72FACC #8872FA #FA72A0
split-complementary
#E4FA72 #72A0FA #CC72FA
monochromatic
#C5E908 #D9F837 #E4FA72 #EFFCAD #F9FEE1

Accessibility & contrast

On white

1.15
#E4FA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.22
#E4FA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4FA72
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4FA72#FFFFFF#000000##000000
##E4FA721.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE64
Deuteranopia (green-blind)
#FFF07A
Tritanopia (blue-blind)
#F0EEDC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #e4fa72;
/* rgb */ color: rgb(228, 250, 114);
/* oklch */ color: oklch(94.2% 0.162 117.3);
Tailwind
colors: {
  custom: {
    50: '#effb9e',
    500: '#e4fa72',
    950: '#000000',
  },
}
SCSS
$custom: #e4fa72;
$custom-light: #effb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4fa72",
  "rgb": {
    "r": 228,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 69.706,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94234,
    "c": 0.16223,
    "h": 117.3
  },
  "luminance": 0.8608
}

Semantic roles & 50–950 ramp

primary
#E4FA72
secondary
#543BD6
accent
#00E625
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E4FA72

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

Preview Lab → · Contrast checker → · Palette generator →

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