#E8D862#E8D862

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

Color values

HEX#E8D862
RGBrgb(232, 216, 98)
HSLhsl(53, 74%, 65%)
HSVhsv(53, 58%, 91%)
CMYKcmyk(0%, 6.9%, 57.8%, 9%)
CIE-LABlab(85.58, -8.83, 58.94)
CIE-LCHlch(85.58, 59.60, 98.52°)
OKLaboklab(87.27% -0.0281 0.1364)
OKLCHoklch(87.27% 0.139 101.6)
XYZxyz(60.0413, 67.1517, 21.3518)
Luminance0.6715 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D862 #6272E8
analogous
#E89562 #E8D862 #B5E862
triadic
#E8D862 #62E8D8 #D862E8
tetradic
#E8D862 #62E895 #6272E8 #E862B5
square
#E8D862 #62E895 #6272E8 #E862B5
split-complementary
#E8D862 #62B5E8 #9562E8
monochromatic
#B5A31B #E0CB2D #E8D862 #F0E597 #F8F3CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #e8d862;
/* rgb */ color: rgb(232, 216, 98);
/* oklch */ color: oklch(87.3% 0.139 101.6);
Tailwind
colors: {
  custom: {
    50: '#f2e393',
    500: '#e8d862',
    950: '#000000',
  },
}
SCSS
$custom: #e8d862;
$custom-light: #f2e393;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d862",
  "rgb": {
    "r": 232,
    "g": 216,
    "b": 98
  },
  "hsl": {
    "h": 52.836,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87266,
    "c": 0.13922,
    "h": 101.6
  },
  "luminance": 0.67149
}

Semantic roles & 50–950 ramp

primary
#E8D862
secondary
#3948B5
accent
#27D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D862

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

Preview Lab → · Contrast checker → · Palette generator →

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