#E8E372#E8E372

#E8E372 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.7% C 0.135 H 106.5°. Best body text is #000000 at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#E8E372
RGBrgb(232, 227, 114)
HSLhsl(57, 72%, 68%)
HSVhsv(57, 51%, 91%)
CMYKcmyk(0%, 2.2%, 50.9%, 9%)
CIE-LABlab(88.60, -13.09, 55.14)
CIE-LCHlch(88.60, 56.67, 103.35°)
OKLaboklab(89.72% -0.0386 0.1299)
OKLCHoklch(89.72% 0.135 106.5)
XYZxyz(63.7867, 73.3107, 26.7066)
Luminance0.7331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E372 #7277E8
analogous
#E8A872 #E8E372 #B2E872
triadic
#E8E372 #72E8E3 #E372E8
tetradic
#E8E372 #72E8A8 #7277E8 #E872B2
square
#E8E372 #72E8A8 #7277E8 #E872B2
split-complementary
#E8E372 #72B2E8 #A872E8
monochromatic
#C0B91F #DFD93D #E8E372 #F1EDA7 #F9F8DB

Accessibility & contrast

On white

1.34
#E8E372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.66
#E8E372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E372
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E372#FFFFFF#000000##000000
##E8E3721.001.3415.6615.66
#FFFFFF1.341.0021.0021.00
#00000015.6621.001.001.00
##00000015.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DC67
Deuteranopia (green-blind)
#F6E178
Tritanopia (blue-blind)
#F6D7C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e8e372;
/* rgb */ color: rgb(232, 227, 114);
/* oklch */ color: oklch(89.7% 0.135 106.5);
Tailwind
colors: {
  custom: {
    50: '#f1eb9d',
    500: '#e8e372',
    950: '#000000',
  },
}
SCSS
$custom: #e8e372;
$custom-light: #f1eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e372",
  "rgb": {
    "r": 232,
    "g": 227,
    "b": 114
  },
  "hsl": {
    "h": 57.458,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89715,
    "c": 0.13546,
    "h": 106.5
  },
  "luminance": 0.73309
}

Semantic roles & 50–950 ramp

primary
#E8E372
secondary
#3F45BF
accent
#1AD411
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E8E372

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

Preview Lab → · Contrast checker → · Palette generator →

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