#E7D581#E7D581

#E7D581 is a very light, moderate yellow. Relative luminance 0.662; OKLCH L 87.0% C 0.107 H 97.6°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#E7D581
RGBrgb(231, 213, 129)
HSLhsl(49, 68%, 71%)
HSVhsv(49, 44%, 91%)
CMYKcmyk(0%, 7.8%, 44.2%, 9.4%)
CIE-LABlab(85.08, -5.08, 43.65)
CIE-LCHlch(85.08, 43.94, 96.64°)
OKLaboklab(86.97% -0.014 0.1056)
OKLCHoklch(86.97% 0.107 97.6)
XYZxyz(60.7132, 66.1645, 30.3375)
Luminance0.6616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D581 #8193E7
analogous
#E7A281 #E7D581 #C6E781
triadic
#E7D581 #81E7D5 #D581E7
tetradic
#E7D581 #81E7A2 #8193E7 #E781C6
square
#E7D581 #81E7A2 #8193E7 #E781C6
split-complementary
#E7D581 #81C6E7 #A281E7
monochromatic
#C8AB26 #DDC44E #E7D581 #F1E6B4 #FAF6E5

Accessibility & contrast

On white

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

On black

14.23
#E7D581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D581
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D581#FFFFFF#000000##000000
##E7D5811.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d581;
/* rgb */ color: rgb(231, 213, 129);
/* oklch */ color: oklch(87.0% 0.107 97.6);
Tailwind
colors: {
  custom: {
    50: '#f0e1a7',
    500: '#e7d581',
    950: '#000000',
  },
}
SCSS
$custom: #e7d581;
$custom-light: #f0e1a7;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d581",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 129
  },
  "hsl": {
    "h": 49.412,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.86965,
    "c": 0.10652,
    "h": 97.6
  },
  "luminance": 0.66162
}

Semantic roles & 50–950 ramp

primary
#E7D581
secondary
#4D61C0
accent
#36D016
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D581

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

Preview Lab → · Contrast checker → · Palette generator →

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