#E8D581#E8D581

#E8D581 is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 87.1% C 0.107 H 97.0°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#E8D581
RGBrgb(232, 213, 129)
HSLhsl(49, 69%, 71%)
HSVhsv(49, 44%, 91%)
CMYKcmyk(0%, 8.2%, 44.4%, 9%)
CIE-LABlab(85.17, -4.68, 43.77)
CIE-LCHlch(85.17, 44.02, 96.11°)
OKLaboklab(87.05% -0.0129 0.1059)
OKLCHoklch(87.05% 0.107 97)
XYZxyz(61.0370, 66.3314, 30.3527)
Luminance0.6633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D581 #8194E8
analogous
#E8A181 #E8D581 #C7E881
triadic
#E8D581 #81E8D5 #D581E8
tetradic
#E8D581 #81E8A1 #8194E8 #E881C7
square
#E8D581 #81E8A1 #8194E8 #E881C7
split-complementary
#E8D581 #81C7E8 #A181E8
monochromatic
#CAAB25 #DFC44D #E8D581 #F1E6B5 #FAF6E5

Accessibility & contrast

On white

1.47
#E8D581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#E8D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D581
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D581#FFFFFF#000000##000000
##E8D5811.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D17A
Deuteranopia (green-blind)
#EAD884
Tritanopia (blue-blind)
#F6CAC1
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e8d581;
/* rgb */ color: rgb(232, 213, 129);
/* oklch */ color: oklch(87.1% 0.107 97.0);
Tailwind
colors: {
  custom: {
    50: '#f1e1a7',
    500: '#e8d581',
    950: '#000000',
  },
}
SCSS
$custom: #e8d581;
$custom-light: #f1e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d581",
  "rgb": {
    "r": 232,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 48.932,
    "s": 69.128,
    "l": 70.784
  },
  "oklch": {
    "l": 0.87052,
    "c": 0.10665,
    "h": 97
  },
  "luminance": 0.66329
}

Semantic roles & 50–950 ramp

primary
#E8D581
secondary
#4C62C1
accent
#37D114
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E8D581

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

Preview Lab → · Contrast checker → · Palette generator →

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