#E7DF87#E7DF87

#E7DF87 is a very light, moderate yellow. Relative luminance 0.715; OKLCH L 89.1% C 0.110 H 103.9°. Best body text is #000000 at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#E7DF87
RGBrgb(231, 223, 135)
HSLhsl(55, 67%, 72%)
HSVhsv(55, 42%, 91%)
CMYKcmyk(0%, 3.5%, 41.6%, 9.4%)
CIE-LABlab(87.73, -9.53, 44.02)
CIE-LCHlch(87.73, 45.04, 102.22°)
OKLaboklab(89.09% -0.0263 0.1068)
OKLCHoklch(89.09% 0.11 103.9)
XYZxyz(63.7171, 71.5152, 33.3644)
Luminance0.7151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DF87 #878FE7
analogous
#E7AF87 #E7DF87 #BFE787
triadic
#E7DF87 #87E7DF #DF87E7
tetradic
#E7DF87 #87E7AF #878FE7 #E787BF
square
#E7DF87 #87E7AF #878FE7 #E787BF
split-complementary
#E7DF87 #87BFE7 #AF87E7
monochromatic
#CBBD29 #DDD154 #E7DF87 #F1EDBA #FAF8E5

Accessibility & contrast

On white

1.37
#E7DF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.30
#E7DF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DF87
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DF87#FFFFFF#000000##000000
##E7DF871.001.3715.3015.30
#FFFFFF1.371.0021.0021.00
#00000015.3021.001.001.00
##00000015.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD980
Deuteranopia (green-blind)
#F0DE8B
Tritanopia (blue-blind)
#F4D4CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e7df87;
/* rgb */ color: rgb(231, 223, 135);
/* oklch */ color: oklch(89.1% 0.110 103.9);
Tailwind
colors: {
  custom: {
    50: '#f0e8ab',
    500: '#e7df87',
    950: '#000000',
  },
}
SCSS
$custom: #e7df87;
$custom-light: #f0e8ab;
$custom-dark: #000000;
JSON
{
  "hex": "#e7df87",
  "rgb": {
    "r": 231,
    "g": 223,
    "b": 135
  },
  "hsl": {
    "h": 55,
    "s": 66.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89094,
    "c": 0.10997,
    "h": 103.9
  },
  "luminance": 0.71514
}

Semantic roles & 50–950 ramp

primary
#E7DF87
secondary
#525BC0
accent
#26CF17
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #E7DF87

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

Preview Lab → · Contrast checker → · Palette generator →

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