#E5D581#E5D581

#E5D581 is a very light, moderate yellow. Relative luminance 0.658; OKLCH L 86.8% C 0.106 H 98.8°. Best body text is #000000 at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#E5D581
RGBrgb(229, 213, 129)
HSLhsl(50, 66%, 70%)
HSVhsv(50, 44%, 90%)
CMYKcmyk(0%, 7%, 43.7%, 10.2%)
CIE-LABlab(84.91, -5.88, 43.40)
CIE-LCHlch(84.91, 43.80, 97.71°)
OKLaboklab(86.79% -0.0162 0.1051)
OKLCHoklch(86.79% 0.106 98.8)
XYZxyz(60.0713, 65.8335, 30.3074)
Luminance0.6583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D581 #8191E5
analogous
#E5A381 #E5D581 #C3E581
triadic
#E5D581 #81E5D5 #D581E5
tetradic
#E5D581 #81E5A3 #8191E5 #E581C3
square
#E5D581 #81E5A3 #8191E5 #E581C3
split-complementary
#E5D581 #81C3E5 #A381E5
monochromatic
#C3AA28 #DBC44E #E5D581 #EFE6B4 #FAF7E6

Accessibility & contrast

On white

1.48
#E5D581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.17
#E5D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D581
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D581#FFFFFF#000000##000000
##E5D5811.001.4814.1714.17
#FFFFFF1.481.0021.0021.00
#00000014.1721.001.001.00
##00000014.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D17A
Deuteranopia (green-blind)
#E8D784
Tritanopia (blue-blind)
#F3CAC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e5d581;
/* rgb */ color: rgb(229, 213, 129);
/* oklch */ color: oklch(86.8% 0.106 98.8);
Tailwind
colors: {
  custom: {
    50: '#efe1a7',
    500: '#e5d581',
    950: '#000000',
  },
}
SCSS
$custom: #e5d581;
$custom-light: #efe1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d581",
  "rgb": {
    "r": 229,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 50.4,
    "s": 65.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86791,
    "c": 0.1063,
    "h": 98.8
  },
  "luminance": 0.65831
}

Semantic roles & 50–950 ramp

primary
#E5D581
secondary
#4D5FBD
accent
#35CE18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E5D581

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

Preview Lab → · Contrast checker → · Palette generator →

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