#E4D581#E4D581

#E4D581 is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.7% C 0.106 H 99.4°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#E4D581
RGBrgb(228, 213, 129)
HSLhsl(51, 65%, 70%)
HSVhsv(51, 43%, 89%)
CMYKcmyk(0%, 6.6%, 43.4%, 10.6%)
CIE-LABlab(84.83, -6.27, 43.28)
CIE-LCHlch(84.83, 43.73, 98.25°)
OKLaboklab(86.7% -0.0173 0.1048)
OKLCHoklch(86.7% 0.106 99.4)
XYZxyz(59.7530, 65.6694, 30.2925)
Luminance0.6567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D581 #8190E4
analogous
#E4A381 #E4D581 #C2E481
triadic
#E4D581 #81E4D5 #D581E4
tetradic
#E4D581 #81E4A3 #8190E4 #E481C2
square
#E4D581 #81E4A3 #8190E4 #E481C2
split-complementary
#E4D581 #81C2E4 #A381E4
monochromatic
#C1AA29 #D9C44F #E4D581 #EFE6B3 #FAF7E6

Accessibility & contrast

On white

1.49
#E4D581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#E4D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D581
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D581#FFFFFF#000000##000000
##E4D5811.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D07A
Deuteranopia (green-blind)
#E8D684
Tritanopia (blue-blind)
#F1CAC1
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e4d581;
/* rgb */ color: rgb(228, 213, 129);
/* oklch */ color: oklch(86.7% 0.106 99.4);
Tailwind
colors: {
  custom: {
    50: '#eee1a7',
    500: '#e4d581',
    950: '#000000',
  },
}
SCSS
$custom: #e4d581;
$custom-light: #eee1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d581",
  "rgb": {
    "r": 228,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 50.909,
    "s": 64.706,
    "l": 70
  },
  "oklch": {
    "l": 0.86704,
    "c": 0.10621,
    "h": 99.4
  },
  "luminance": 0.65667
}

Semantic roles & 50–950 ramp

primary
#E4D581
secondary
#4D5EBC
accent
#34CD19
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D581

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

Preview Lab → · Contrast checker → · Palette generator →

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