#E4D381#E4D381

#E4D381 is a very light, moderate yellow. Relative luminance 0.647; OKLCH L 86.3% C 0.104 H 97.9°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#E4D381
RGBrgb(228, 211, 129)
HSLhsl(50, 65%, 70%)
HSVhsv(50, 43%, 89%)
CMYKcmyk(0%, 7.5%, 43.4%, 10.6%)
CIE-LABlab(84.31, -5.25, 42.63)
CIE-LCHlch(84.31, 42.95, 97.03°)
OKLaboklab(86.3% -0.0144 0.1033)
OKLCHoklch(86.3% 0.104 97.9)
XYZxyz(59.2531, 64.6695, 30.1259)
Luminance0.6467 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D381 #8192E4
analogous
#E4A281 #E4D381 #C3E481
triadic
#E4D381 #81E4D3 #D381E4
tetradic
#E4D381 #81E4A2 #8192E4 #E481C3
square
#E4D381 #81E4A2 #8192E4 #E481C3
split-complementary
#E4D381 #81C3E4 #A281E4
monochromatic
#C1A729 #D9C14F #E4D381 #EFE5B3 #FAF6E6

Accessibility & contrast

On white

1.51
#E4D381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.93
#E4D381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D381
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D381#FFFFFF#000000##000000
##E4D3811.001.5113.9313.93
#FFFFFF1.511.0021.0021.00
#00000013.9321.001.001.00
##00000013.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4d381;
/* rgb */ color: rgb(228, 211, 129);
/* oklch */ color: oklch(86.3% 0.104 97.9);
Tailwind
colors: {
  custom: {
    50: '#eee0a7',
    500: '#e4d381',
    950: '#000000',
  },
}
SCSS
$custom: #e4d381;
$custom-light: #eee0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d381",
  "rgb": {
    "r": 228,
    "g": 211,
    "b": 129
  },
  "hsl": {
    "h": 49.697,
    "s": 64.706,
    "l": 70
  },
  "oklch": {
    "l": 0.86297,
    "c": 0.10433,
    "h": 97.9
  },
  "luminance": 0.64667
}

Semantic roles & 50–950 ramp

primary
#E4D381
secondary
#4D60BC
accent
#38CD19
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D381

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

Preview Lab → · Contrast checker → · Palette generator →

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