#E8D861#E8D861

#E8D861 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.3% C 0.140 H 101.7°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#E8D861
RGBrgb(232, 216, 97)
HSLhsl(53, 75%, 65%)
HSVhsv(53, 58%, 91%)
CMYKcmyk(0%, 6.9%, 58.2%, 9%)
CIE-LABlab(85.57, -8.90, 59.38)
CIE-LCHlch(85.57, 60.04, 98.53°)
OKLaboklab(87.26% -0.0284 0.1372)
OKLCHoklch(87.26% 0.14 101.7)
XYZxyz(59.9944, 67.1329, 21.1047)
Luminance0.6713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D861 #6171E8
analogous
#E89561 #E8D861 #B5E861
triadic
#E8D861 #61E8D8 #D861E8
tetradic
#E8D861 #61E895 #6171E8 #E861B5
square
#E8D861 #61E895 #6171E8 #E861B5
split-complementary
#E8D861 #61B5E8 #9561E8
monochromatic
#B4A21A #E0CB2C #E8D861 #F0E596 #F8F2CC

Accessibility & contrast

On white

1.46
#E8D861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#E8D861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D861
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D861#FFFFFF#000000##000000
##E8D8611.001.4614.4314.43
#FFFFFF1.461.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD254
Deuteranopia (green-blind)
#EFD967
Tritanopia (blue-blind)
#F8CABE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d861;
/* rgb */ color: rgb(232, 216, 97);
/* oklch */ color: oklch(87.3% 0.140 101.7);
Tailwind
colors: {
  custom: {
    50: '#f2e392',
    500: '#e8d861',
    950: '#000000',
  },
}
SCSS
$custom: #e8d861;
$custom-light: #f2e392;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d861",
  "rgb": {
    "r": 232,
    "g": 216,
    "b": 97
  },
  "hsl": {
    "h": 52.889,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.87256,
    "c": 0.14007,
    "h": 101.7
  },
  "luminance": 0.67131
}

Semantic roles & 50–950 ramp

primary
#E8D861
secondary
#3947B5
accent
#26D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D861

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

Preview Lab → · Contrast checker → · Palette generator →

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