#E8D562#E8D562

#E8D562 is a very light, vivid yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.137 H 100.0°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#E8D562
RGBrgb(232, 213, 98)
HSLhsl(51, 74%, 65%)
HSVhsv(51, 58%, 91%)
CMYKcmyk(0%, 8.2%, 57.8%, 9%)
CIE-LABlab(84.81, -7.32, 58.07)
CIE-LCHlch(84.81, 58.53, 97.18°)
OKLaboklab(86.65% -0.0238 0.1345)
OKLCHoklch(86.65% 0.137 100)
XYZxyz(59.2798, 65.6285, 21.0979)
Luminance0.6563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D562 #6275E8
analogous
#E89262 #E8D562 #B8E862
triadic
#E8D562 #62E8D5 #D562E8
tetradic
#E8D562 #62E892 #6275E8 #E862B8
square
#E8D562 #62E892 #6275E8 #E862B8
split-complementary
#E8D562 #62B8E8 #9262E8
monochromatic
#B59F1B #E0C72D #E8D562 #F0E397 #F8F2CD

Accessibility & contrast

On white

1.49
#E8D562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#E8D562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D562
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D562#FFFFFF#000000##000000
##E8D5621.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D056
Deuteranopia (green-blind)
#ECD768
Tritanopia (blue-blind)
#F8C7BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e8d562;
/* rgb */ color: rgb(232, 213, 98);
/* oklch */ color: oklch(86.7% 0.137 100.0);
Tailwind
colors: {
  custom: {
    50: '#f2e192',
    500: '#e8d562',
    950: '#000000',
  },
}
SCSS
$custom: #e8d562;
$custom-light: #f2e192;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d562",
  "rgb": {
    "r": 232,
    "g": 213,
    "b": 98
  },
  "hsl": {
    "h": 51.493,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86652,
    "c": 0.13656,
    "h": 100
  },
  "luminance": 0.65626
}

Semantic roles & 50–950 ramp

primary
#E8D562
secondary
#394BB5
accent
#2BD70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D562

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

Preview Lab → · Contrast checker → · Palette generator →

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