#E9D581#E9D581

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

Color values

HEX#E9D581
RGBrgb(233, 213, 129)
HSLhsl(48, 70%, 71%)
HSVhsv(48, 45%, 91%)
CMYKcmyk(0%, 8.6%, 44.6%, 8.6%)
CIE-LABlab(85.25, -4.28, 43.90)
CIE-LCHlch(85.25, 44.11, 95.57°)
OKLaboklab(87.14% -0.0118 0.1061)
OKLCHoklch(87.14% 0.107 96.4)
XYZxyz(61.3626, 66.4993, 30.3680)
Luminance0.6650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D581 #8195E9
analogous
#E9A181 #E9D581 #C9E981
triadic
#E9D581 #81E9D5 #D581E9
tetradic
#E9D581 #81E9A1 #8195E9 #E981C9
square
#E9D581 #81E9A1 #8195E9 #E981C9
split-complementary
#E9D581 #81C9E9 #A181E9
monochromatic
#CCAC24 #E0C44D #E9D581 #F2E6B5 #FAF6E5

Accessibility & contrast

On white

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

On black

14.30
#E9D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D581
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D581#FFFFFF#000000##000000
##E9D5811.001.4714.3014.30
#FFFFFF1.471.0021.0021.00
#00000014.3021.001.001.00
##00000014.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e9d581;
/* rgb */ color: rgb(233, 213, 129);
/* oklch */ color: oklch(87.1% 0.107 96.4);
Tailwind
colors: {
  custom: {
    50: '#f2e1a7',
    500: '#e9d581',
    950: '#000000',
  },
}
SCSS
$custom: #e9d581;
$custom-light: #f2e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d581",
  "rgb": {
    "r": 233,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 48.462,
    "s": 70.27,
    "l": 70.98
  },
  "oklch": {
    "l": 0.8714,
    "c": 0.10679,
    "h": 96.4
  },
  "luminance": 0.66497
}

Semantic roles & 50–950 ramp

primary
#E9D581
secondary
#4C63C2
accent
#38D213
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E9D581

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

Preview Lab → · Contrast checker → · Palette generator →

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