#E5D381#E5D381

#E5D381 is a very light, moderate yellow. Relative luminance 0.648; OKLCH L 86.4% C 0.104 H 97.3°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#E5D381
RGBrgb(229, 211, 129)
HSLhsl(49, 66%, 70%)
HSVhsv(49, 44%, 90%)
CMYKcmyk(0%, 7.9%, 43.7%, 10.2%)
CIE-LABlab(84.40, -4.86, 42.75)
CIE-LCHlch(84.40, 43.03, 96.48°)
OKLaboklab(86.38% -0.0133 0.1036)
OKLCHoklch(86.38% 0.104 97.3)
XYZxyz(59.5713, 64.8336, 30.1408)
Luminance0.6483 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D381 #8193E5
analogous
#E5A181 #E5D381 #C5E581
triadic
#E5D381 #81E5D3 #D381E5
tetradic
#E5D381 #81E5A1 #8193E5 #E581C5
square
#E5D381 #81E5A1 #8193E5 #E581C5
split-complementary
#E5D381 #81C5E5 #A181E5
monochromatic
#C3A728 #DBC14E #E5D381 #EFE5B4 #FAF6E6

Accessibility & contrast

On white

1.50
#E5D381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.97
#E5D381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D381
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D381#FFFFFF#000000##000000
##E5D3811.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CF7B
Deuteranopia (green-blind)
#E7D584
Tritanopia (blue-blind)
#F3C8BF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e5d381;
/* rgb */ color: rgb(229, 211, 129);
/* oklch */ color: oklch(86.4% 0.104 97.3);
Tailwind
colors: {
  custom: {
    50: '#efe0a7',
    500: '#e5d381',
    950: '#000000',
  },
}
SCSS
$custom: #e5d381;
$custom-light: #efe0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d381",
  "rgb": {
    "r": 229,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 49.2,
    "s": 65.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.86384,
    "c": 0.10445,
    "h": 97.3
  },
  "luminance": 0.64832
}

Semantic roles & 50–950 ramp

primary
#E5D381
secondary
#4D61BD
accent
#39CE18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E5D381

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

Preview Lab → · Contrast checker → · Palette generator →

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