#E8E472#E8E472

#E8E472 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.9% C 0.137 H 107.0°. Best body text is #000000 at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#E8E472
RGBrgb(232, 228, 114)
HSLhsl(58, 72%, 68%)
HSVhsv(58, 51%, 91%)
CMYKcmyk(0%, 1.7%, 50.9%, 9%)
CIE-LABlab(88.86, -13.58, 55.45)
CIE-LCHlch(88.86, 57.09, 103.76°)
OKLaboklab(89.92% -0.04 0.1305)
OKLCHoklch(89.92% 0.137 107)
XYZxyz(64.0610, 73.8593, 26.7980)
Luminance0.7386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E472 #7276E8
analogous
#E8A972 #E8E472 #B1E872
triadic
#E8E472 #72E8E4 #E472E8
tetradic
#E8E472 #72E8A9 #7276E8 #E872B1
square
#E8E472 #72E8A9 #7276E8 #E872B1
split-complementary
#E8E472 #72B1E8 #A972E8
monochromatic
#C0BB1F #DFDA3D #E8E472 #F1EEA7 #F9F8DB

Accessibility & contrast

On white

1.33
#E8E472 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.77
#E8E472 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E472
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E472#FFFFFF#000000##000000
##E8E4721.001.3315.7715.77
#FFFFFF1.331.0021.0021.00
#00000015.7721.001.001.00
##00000015.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC67
Deuteranopia (green-blind)
#F6E178
Tritanopia (blue-blind)
#F6D8CA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e8e472;
/* rgb */ color: rgb(232, 228, 114);
/* oklch */ color: oklch(89.9% 0.137 107.0);
Tailwind
colors: {
  custom: {
    50: '#f1ec9d',
    500: '#e8e472',
    950: '#000000',
  },
}
SCSS
$custom: #e8e472;
$custom-light: #f1ec9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e472",
  "rgb": {
    "r": 232,
    "g": 228,
    "b": 114
  },
  "hsl": {
    "h": 57.966,
    "s": 71.951,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89922,
    "c": 0.13651,
    "h": 107
  },
  "luminance": 0.73858
}

Semantic roles & 50–950 ramp

primary
#E8E472
secondary
#3F43BF
accent
#18D411
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E8E472

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

Preview Lab → · Contrast checker → · Palette generator →

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