#E9D861#E9D861

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

Color values

HEX#E9D861
RGBrgb(233, 216, 97)
HSLhsl(53, 76%, 65%)
HSVhsv(53, 58%, 91%)
CMYKcmyk(0%, 7.3%, 58.4%, 8.6%)
CIE-LABlab(85.66, -8.49, 59.50)
CIE-LCHlch(85.66, 60.10, 98.12°)
OKLaboklab(87.34% -0.0273 0.1374)
OKLCHoklch(87.34% 0.14 101.2)
XYZxyz(60.3200, 67.3008, 21.1199)
Luminance0.6730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D861 #6172E9
analogous
#E99461 #E9D861 #B6E961
triadic
#E9D861 #61E9D8 #D861E9
tetradic
#E9D861 #61E994 #6172E9 #E961B6
square
#E9D861 #61E994 #6172E9 #E961B6
split-complementary
#E9D861 #61B6E9 #9461E9
monochromatic
#B6A319 #E2CB2B #E9D861 #F0E597 #F8F3CC

Accessibility & contrast

On white

1.45
#E9D861 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.46
#E9D861 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D861
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D861#FFFFFF#000000##000000
##E9D8611.001.4514.4614.46
#FFFFFF1.451.0021.0021.00
#00000014.4621.001.001.00
##00000014.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e9d861;
/* rgb */ color: rgb(233, 216, 97);
/* oklch */ color: oklch(87.3% 0.140 101.2);
Tailwind
colors: {
  custom: {
    50: '#f3e392',
    500: '#e9d861',
    950: '#000000',
  },
}
SCSS
$custom: #e9d861;
$custom-light: #f3e392;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d861",
  "rgb": {
    "r": 233,
    "g": 216,
    "b": 97
  },
  "hsl": {
    "h": 52.5,
    "s": 75.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87343,
    "c": 0.14008,
    "h": 101.2
  },
  "luminance": 0.67298
}

Semantic roles & 50–950 ramp

primary
#E9D861
secondary
#3848B6
accent
#27D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9D861

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

Preview Lab → · Contrast checker → · Palette generator →

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