#E8DF86#E8DF86

#E8DF86 is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.2% C 0.111 H 103.4°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#E8DF86
RGBrgb(232, 223, 134)
HSLhsl(54, 68%, 72%)
HSVhsv(54, 42%, 91%)
CMYKcmyk(0%, 3.9%, 42.2%, 9%)
CIE-LABlab(87.80, -9.24, 44.61)
CIE-LCHlch(87.80, 45.56, 101.71°)
OKLaboklab(89.16% -0.0256 0.108)
OKLCHoklch(89.16% 0.111 103.4)
XYZxyz(63.9708, 71.6541, 33.0105)
Luminance0.7165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DF86 #868FE8
analogous
#E8AE86 #E8DF86 #C0E886
triadic
#E8DF86 #86E8DF #DF86E8
tetradic
#E8DF86 #86E8AE #868FE8 #E886C0
square
#E8DF86 #86E8AE #868FE8 #E886C0
split-complementary
#E8DF86 #86C0E8 #AE86E8
monochromatic
#CDBD27 #DED153 #E8DF86 #F2EDB9 #FAF8E5

Accessibility & contrast

On white

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

On black

15.33
#E8DF86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DF86
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DF86#FFFFFF#000000##000000
##E8DF861.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD97F
Deuteranopia (green-blind)
#F1DE8A
Tritanopia (blue-blind)
#F5D4C9
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e8df86;
/* rgb */ color: rgb(232, 223, 134);
/* oklch */ color: oklch(89.2% 0.111 103.4);
Tailwind
colors: {
  custom: {
    50: '#f1e8aa',
    500: '#e8df86',
    950: '#000000',
  },
}
SCSS
$custom: #e8df86;
$custom-light: #f1e8aa;
$custom-dark: #000000;
JSON
{
  "hex": "#e8df86",
  "rgb": {
    "r": 232,
    "g": 223,
    "b": 134
  },
  "hsl": {
    "h": 54.49,
    "s": 68.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.89163,
    "c": 0.11104,
    "h": 103.4
  },
  "luminance": 0.71652
}

Semantic roles & 50–950 ramp

primary
#E8DF86
secondary
#515BC1
accent
#27D016
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #E8DF86

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

Preview Lab → · Contrast checker → · Palette generator →

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