#E8D457#E8D457

#E8D457 is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.3% C 0.145 H 100.2°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#E8D457
RGBrgb(232, 212, 87)
HSLhsl(52, 76%, 63%)
HSVhsv(52, 63%, 91%)
CMYKcmyk(0%, 8.6%, 62.5%, 9%)
CIE-LABlab(84.45, -7.55, 62.49)
CIE-LCHlch(84.45, 62.94, 96.89°)
OKLaboklab(86.34% -0.0257 0.1425)
OKLCHoklch(86.34% 0.145 100.2)
XYZxyz(58.5449, 64.9334, 18.4646)
Luminance0.6493 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D457 #576BE8
analogous
#E88B57 #E8D457 #B4E857
triadic
#E8D457 #57E8D4 #D457E8
tetradic
#E8D457 #57E88B #576BE8 #E857B4
square
#E8D457 #57E88B #576BE8 #E857B4
split-complementary
#E8D457 #57B4E8 #8B57E8
monochromatic
#AD9818 #E1C621 #E8D457 #EFE28D #F7F0C3

Accessibility & contrast

On white

1.50
#E8D457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#E8D457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D457
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D457#FFFFFF#000000##000000
##E8D4571.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE48
Deuteranopia (green-blind)
#ECD65E
Tritanopia (blue-blind)
#F9C6B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e8d457;
/* rgb */ color: rgb(232, 212, 87);
/* oklch */ color: oklch(86.3% 0.145 100.2);
Tailwind
colors: {
  custom: {
    50: '#f3e08b',
    500: '#e8d457',
    950: '#000000',
  },
}
SCSS
$custom: #e8d457;
$custom-light: #f3e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d457",
  "rgb": {
    "r": 232,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 51.724,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.86337,
    "c": 0.14476,
    "h": 100.2
  },
  "luminance": 0.64931
}

Semantic roles & 50–950 ramp

primary
#E8D457
secondary
#3546AE
accent
#29D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D457

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

Preview Lab → · Contrast checker → · Palette generator →

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