#E8E431#E8E431

#E8E431 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.4% C 0.182 H 108.2°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#E8E431
RGBrgb(232, 228, 49)
HSLhsl(59, 80%, 55%)
HSVhsv(59, 79%, 91%)
CMYKcmyk(0%, 1.7%, 78.9%, 9%)
CIE-LABlab(88.38, -17.28, 79.69)
CIE-LCHlch(88.38, 81.54, 102.24°)
OKLaboklab(89.39% -0.0567 0.1725)
OKLCHoklch(89.39% 0.182 108.2)
XYZxyz(61.5790, 72.8665, 13.7260)
Luminance0.7286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E431 #3135E8
analogous
#E88931 #E8E431 #90E831
triadic
#E8E431 #31E8E4 #E431E8
tetradic
#E8E431 #31E889 #3135E8 #E83190
square
#E8E431 #31E889 #3135E8 #E83190
split-complementary
#E8E431 #3190E8 #8931E8
monochromatic
#8F8C10 #C6C216 #E8E431 #EEEB68 #F4F29F

Accessibility & contrast

On white

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

On black

15.57
#E8E431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E431
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E431#FFFFFF#000000##000000
##E8E4311.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DB00
Deuteranopia (green-blind)
#FAE141
Tritanopia (blue-blind)
#F9D5C4
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e8e431;
/* rgb */ color: rgb(232, 228, 49);
/* oklch */ color: oklch(89.4% 0.182 108.2);
Tailwind
colors: {
  custom: {
    50: '#f4ec79',
    500: '#e8e431',
    950: '#000000',
  },
}
SCSS
$custom: #e8e431;
$custom-light: #f4ec79;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e431",
  "rgb": {
    "r": 232,
    "g": 228,
    "b": 49
  },
  "hsl": {
    "h": 58.689,
    "s": 79.913,
    "l": 55.098
  },
  "oklch": {
    "l": 0.89394,
    "c": 0.18163,
    "h": 108.2
  },
  "luminance": 0.72864
}

Semantic roles & 50–950 ramp

primary
#E8E431
secondary
#2A2C94
accent
#36F631
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#18160A
muted
#86847D

Preview Lab

Preview with #E8E431

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

Preview Lab → · Contrast checker → · Palette generator →

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