#E4F972#E4F972

#E4F972 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.0% C 0.161 H 117.0°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#E4F972
RGBrgb(228, 249, 114)
HSLhsl(69, 92%, 71%)
HSVhsv(69, 54%, 98%)
CMYKcmyk(8.4%, 0%, 54.2%, 2.4%)
CIE-LABlab(94.08, -25.31, 61.44)
CIE-LCHlch(94.08, 66.45, 112.39°)
OKLaboklab(94.02% -0.073 0.1435)
OKLCHoklch(94.02% 0.161 117)
XYZxyz(68.9089, 85.4610, 28.7818)
Luminance0.8546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4F972 #8772F9
analogous
#F9CA72 #E4F972 #A0F972
triadic
#E4F972 #72E4F9 #F972E4
tetradic
#E4F972 #72F9CA #8772F9 #F972A0
square
#E4F972 #72F9CA #8772F9 #F972A0
split-complementary
#E4F972 #72A0F9 #CA72F9
monochromatic
#C4E70A #D9F737 #E4F972 #EFFBAD #F9FEE2

Accessibility & contrast

On white

1.16
#E4F972 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.09
#E4F972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4F972
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4F972#FFFFFF#000000##000000
##E4F9721.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED64
Deuteranopia (green-blind)
#FFEF7A
Tritanopia (blue-blind)
#F0EDDB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e4f972;
/* rgb */ color: rgb(228, 249, 114);
/* oklch */ color: oklch(94.0% 0.161 117.0);
Tailwind
colors: {
  custom: {
    50: '#effb9e',
    500: '#e4f972',
    950: '#000000',
  },
}
SCSS
$custom: #e4f972;
$custom-light: #effb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4f972",
  "rgb": {
    "r": 228,
    "g": 249,
    "b": 114
  },
  "hsl": {
    "h": 69.333,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94022,
    "c": 0.16105,
    "h": 117
  },
  "luminance": 0.8546
}

Semantic roles & 50–950 ramp

primary
#E4F972
secondary
#533BD4
accent
#00E624
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E4F972

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

Preview Lab → · Contrast checker → · Palette generator →

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