#E4E372#E4E372

#E4E372 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.4% C 0.136 H 108.4°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#E4E372
RGBrgb(228, 227, 114)
HSLhsl(59, 68%, 67%)
HSVhsv(59, 50%, 89%)
CMYKcmyk(0%, 0.4%, 50%, 10.6%)
CIE-LABlab(88.28, -14.68, 54.69)
CIE-LCHlch(88.28, 56.63, 105.03°)
OKLaboklab(89.39% -0.0429 0.1289)
OKLCHoklch(89.39% 0.136 108.4)
XYZxyz(62.5027, 72.6486, 26.6464)
Luminance0.7265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E372 #7273E4
analogous
#E4AA72 #E4E372 #ACE472
triadic
#E4E372 #72E4E3 #E372E4
tetradic
#E4E372 #72E4AA #7273E4 #E472AC
square
#E4E372 #72E4AA #7273E4 #E472AC
split-complementary
#E4E372 #72ACE4 #AA72E4
monochromatic
#B8B723 #DAD93F #E4E372 #EEEDA5 #F8F7D9

Accessibility & contrast

On white

1.35
#E4E372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#E4E372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E372
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E372#FFFFFF#000000##000000
##E4E3721.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB68
Deuteranopia (green-blind)
#F4E078
Tritanopia (blue-blind)
#F2D7C9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e372;
/* rgb */ color: rgb(228, 227, 114);
/* oklch */ color: oklch(89.4% 0.136 108.4);
Tailwind
colors: {
  custom: {
    50: '#efeb9d',
    500: '#e4e372',
    950: '#000000',
  },
}
SCSS
$custom: #e4e372;
$custom-light: #efeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e372",
  "rgb": {
    "r": 228,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 59.474,
    "s": 67.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89387,
    "c": 0.13589,
    "h": 108.4
  },
  "luminance": 0.72647
}

Semantic roles & 50–950 ramp

primary
#E4E372
secondary
#4243B9
accent
#17D016
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E4E372

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

Preview Lab → · Contrast checker → · Palette generator →

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