#E8E531#E8E531

#E8E531 is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.6% C 0.183 H 108.6°. Best body text is #000000 at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#E8E531
RGBrgb(232, 229, 49)
HSLhsl(59, 80%, 55%)
HSVhsv(59, 79%, 91%)
CMYKcmyk(0%, 1.3%, 78.9%, 9%)
CIE-LABlab(88.65, -17.77, 79.92)
CIE-LCHlch(88.65, 81.87, 102.54°)
OKLaboklab(89.6% -0.0581 0.173)
OKLCHoklch(89.6% 0.183 108.6)
XYZxyz(61.8549, 73.4182, 13.8180)
Luminance0.7342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E531 #3134E8
analogous
#E88931 #E8E531 #90E831
triadic
#E8E531 #31E8E5 #E531E8
tetradic
#E8E531 #31E889 #3134E8 #E83190
square
#E8E531 #31E889 #3134E8 #E83190
split-complementary
#E8E531 #3190E8 #8931E8
monochromatic
#8F8D10 #C6C316 #E8E531 #EEEC68 #F4F39F

Accessibility & contrast

On white

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

On black

15.68
#E8E531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E531
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E531#FFFFFF#000000##000000
##E8E5311.001.3415.6815.68
#FFFFFF1.341.0021.0021.00
#00000015.6821.001.001.00
##00000015.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DB00
Deuteranopia (green-blind)
#FBE142
Tritanopia (blue-blind)
#F9D6C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e8e531;
/* rgb */ color: rgb(232, 229, 49);
/* oklch */ color: oklch(89.6% 0.183 108.6);
Tailwind
colors: {
  custom: {
    50: '#f4ec7a',
    500: '#e8e531',
    950: '#000000',
  },
}
SCSS
$custom: #e8e531;
$custom-light: #f4ec7a;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e531",
  "rgb": {
    "r": 232,
    "g": 229,
    "b": 49
  },
  "hsl": {
    "h": 59.016,
    "s": 79.913,
    "l": 55.098
  },
  "oklch": {
    "l": 0.89604,
    "c": 0.18253,
    "h": 108.6
  },
  "luminance": 0.73416
}

Semantic roles & 50–950 ramp

primary
#E8E531
secondary
#2A2B94
accent
#35F631
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#18160A
muted
#86847D

Preview Lab

Preview with #E8E531

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

Preview Lab → · Contrast checker → · Palette generator →

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