#E8E631#E8E631

#E8E631 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 89.8% C 0.183 H 108.9°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#E8E631
RGBrgb(232, 230, 49)
HSLhsl(59, 80%, 55%)
HSVhsv(59, 79%, 91%)
CMYKcmyk(0%, 0.9%, 78.9%, 9%)
CIE-LABlab(88.91, -18.26, 80.15)
CIE-LCHlch(88.91, 82.20, 102.83°)
OKLaboklab(89.81% -0.0594 0.1735)
OKLCHoklch(89.81% 0.183 108.9)
XYZxyz(62.1324, 73.9732, 13.9105)
Luminance0.7397 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E631 #3133E8
analogous
#E88A31 #E8E631 #8FE831
triadic
#E8E631 #31E8E6 #E631E8
tetradic
#E8E631 #31E88A #3133E8 #E8318F
square
#E8E631 #31E88A #3133E8 #E8318F
split-complementary
#E8E631 #318FE8 #8A31E8
monochromatic
#8F8D10 #C6C416 #E8E631 #EEED68 #F4F39F

Accessibility & contrast

On white

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

On black

15.79
#E8E631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E631
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E631#FFFFFF#000000##000000
##E8E6311.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DC00
Deuteranopia (green-blind)
#FCE242
Tritanopia (blue-blind)
#F9D7C5
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e8e631;
/* rgb */ color: rgb(232, 230, 49);
/* oklch */ color: oklch(89.8% 0.183 108.9);
Tailwind
colors: {
  custom: {
    50: '#f4ed7a',
    500: '#e8e631',
    950: '#000000',
  },
}
SCSS
$custom: #e8e631;
$custom-light: #f4ed7a;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e631",
  "rgb": {
    "r": 232,
    "g": 230,
    "b": 49
  },
  "hsl": {
    "h": 59.344,
    "s": 79.913,
    "l": 55.098
  },
  "oklch": {
    "l": 0.89814,
    "c": 0.18343,
    "h": 108.9
  },
  "luminance": 0.73971
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8E631

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

Preview Lab → · Contrast checker → · Palette generator →

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