#E7DD87#E7DD87

#E7DD87 is a very light, moderate yellow. Relative luminance 0.705; OKLCH L 88.7% C 0.108 H 102.6°. Best body text is #000000 at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#E7DD87
RGBrgb(231, 221, 135)
HSLhsl(54, 67%, 72%)
HSVhsv(54, 42%, 91%)
CMYKcmyk(0%, 4.3%, 41.6%, 9.4%)
CIE-LABlab(87.22, -8.53, 43.37)
CIE-LCHlch(87.22, 44.20, 101.13°)
OKLaboklab(88.69% -0.0235 0.1053)
OKLCHoklch(88.69% 0.108 102.6)
XYZxyz(63.1859, 70.4529, 33.1873)
Luminance0.7045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DD87 #8791E7
analogous
#E7AD87 #E7DD87 #C1E787
triadic
#E7DD87 #87E7DD #DD87E7
tetradic
#E7DD87 #87E7AD #8791E7 #E787C1
square
#E7DD87 #87E7AD #8791E7 #E787C1
split-complementary
#E7DD87 #87C1E7 #AD87E7
monochromatic
#CBBA29 #DDCF54 #E7DD87 #F1EBBA #FAF8E5

Accessibility & contrast

On white

1.39
#E7DD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.09
#E7DD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DD87
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DD87#FFFFFF#000000##000000
##E7DD871.001.3915.0915.09
#FFFFFF1.391.0021.0021.00
#00000015.0921.001.001.00
##00000015.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD880
Deuteranopia (green-blind)
#EFDD8B
Tritanopia (blue-blind)
#F4D2C8
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7dd87;
/* rgb */ color: rgb(231, 221, 135);
/* oklch */ color: oklch(88.7% 0.108 102.6);
Tailwind
colors: {
  custom: {
    50: '#f0e7ab',
    500: '#e7dd87',
    950: '#000000',
  },
}
SCSS
$custom: #e7dd87;
$custom-light: #f0e7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dd87",
  "rgb": {
    "r": 231,
    "g": 221,
    "b": 135
  },
  "hsl": {
    "h": 53.75,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88685,
    "c": 0.10788,
    "h": 102.6
  },
  "luminance": 0.70451
}

Semantic roles & 50–950 ramp

primary
#E7DD87
secondary
#525EC0
accent
#2ACF17
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #E7DD87

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

Preview Lab → · Contrast checker → · Palette generator →

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