#E9D862#E9D862

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

Color values

HEX#E9D862
RGBrgb(233, 216, 98)
HSLhsl(52, 75%, 65%)
HSVhsv(52, 58%, 91%)
CMYKcmyk(0%, 7.3%, 57.9%, 8.6%)
CIE-LABlab(85.67, -8.42, 59.06)
CIE-LCHlch(85.67, 59.66, 98.11°)
OKLaboklab(87.35% -0.027 0.1366)
OKLCHoklch(87.35% 0.139 101.2)
XYZxyz(60.3669, 67.3196, 21.3671)
Luminance0.6732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D862 #6273E9
analogous
#E99462 #E9D862 #B7E962
triadic
#E9D862 #62E9D8 #D862E9
tetradic
#E9D862 #62E994 #6273E9 #E962B7
square
#E9D862 #62E994 #6273E9 #E962B7
split-complementary
#E9D862 #62B7E9 #9462E9
monochromatic
#B7A31A #E1CB2C #E9D862 #F1E598 #F8F3CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E9D862#FFFFFF#000000##000000
##E9D8621.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)
#EAD256
Deuteranopia (green-blind)
#EFD968
Tritanopia (blue-blind)
#F9CABE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e9d862;
/* rgb */ color: rgb(233, 216, 98);
/* oklch */ color: oklch(87.4% 0.139 101.2);
Tailwind
colors: {
  custom: {
    50: '#f3e393',
    500: '#e9d862',
    950: '#000000',
  },
}
SCSS
$custom: #e9d862;
$custom-light: #f3e393;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d862",
  "rgb": {
    "r": 233,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 52.444,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87354,
    "c": 0.13922,
    "h": 101.2
  },
  "luminance": 0.67317
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E9D862

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

Preview Lab → · Contrast checker → · Palette generator →

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