#E5E372#E5E372

#E5E372 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.5% C 0.136 H 107.9°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#E5E372
RGBrgb(229, 227, 114)
HSLhsl(59, 69%, 67%)
HSVhsv(59, 50%, 90%)
CMYKcmyk(0%, 0.9%, 50.2%, 10.2%)
CIE-LABlab(88.36, -14.28, 54.81)
CIE-LCHlch(88.36, 56.64, 104.61°)
OKLaboklab(89.47% -0.0418 0.1292)
OKLCHoklch(89.47% 0.136 107.9)
XYZxyz(62.8210, 72.8127, 26.6613)
Luminance0.7281 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5E372 #7274E5
analogous
#E5AA72 #E5E372 #ADE572
triadic
#E5E372 #72E5E3 #E372E5
tetradic
#E5E372 #72E5AA #7274E5 #E572AD
square
#E5E372 #72E5AA #7274E5 #E572AD
split-complementary
#E5E372 #72ADE5 #AA72E5
monochromatic
#BAB822 #DBD93E #E5E372 #EFEDA6 #F8F8D9

Accessibility & contrast

On white

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

On black

15.56
#E5E372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5E372
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5E372#FFFFFF#000000##000000
##E5E3721.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB67
Deuteranopia (green-blind)
#F5E078
Tritanopia (blue-blind)
#F3D7C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e5e372;
/* rgb */ color: rgb(229, 227, 114);
/* oklch */ color: oklch(89.5% 0.136 107.9);
Tailwind
colors: {
  custom: {
    50: '#efeb9d',
    500: '#e5e372',
    950: '#000000',
  },
}
SCSS
$custom: #e5e372;
$custom-light: #efeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5e372",
  "rgb": {
    "r": 229,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 58.957,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.89468,
    "c": 0.13576,
    "h": 107.9
  },
  "luminance": 0.72811
}

Semantic roles & 50–950 ramp

primary
#E5E372
secondary
#4143BA
accent
#18D115
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E5E372

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

Preview Lab → · Contrast checker → · Palette generator →

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