#E5D457#E5D457

#E5D457 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.1% C 0.145 H 101.6°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#E5D457
RGBrgb(229, 212, 87)
HSLhsl(53, 73%, 62%)
HSVhsv(53, 62%, 90%)
CMYKcmyk(0%, 7.4%, 62%, 10.2%)
CIE-LABlab(84.19, -8.79, 62.13)
CIE-LCHlch(84.19, 62.75, 98.05°)
OKLaboklab(86.07% -0.029 0.1418)
OKLCHoklch(86.07% 0.145 101.6)
XYZxyz(57.5791, 64.4354, 18.4193)
Luminance0.6443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D457 #5768E5
analogous
#E58D57 #E5D457 #AFE557
triadic
#E5D457 #57E5D4 #D457E5
tetradic
#E5D457 #57E58D #5768E5 #E557AF
square
#E5D457 #57E58D #5768E5 #E557AF
split-complementary
#E5D457 #57AFE5 #8D57E5
monochromatic
#A8971A #DDC622 #E5D457 #EDE28C #F5EFC1

Accessibility & contrast

On white

1.51
#E5D457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.89
#E5D457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D457
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D457#FFFFFF#000000##000000
##E5D4571.001.5113.8913.89
#FFFFFF1.511.0021.0021.00
#00000013.8921.001.001.00
##00000013.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE48
Deuteranopia (green-blind)
#EBD55E
Tritanopia (blue-blind)
#F5C6B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e5d457;
/* rgb */ color: rgb(229, 212, 87);
/* oklch */ color: oklch(86.1% 0.145 101.6);
Tailwind
colors: {
  custom: {
    50: '#f0e08b',
    500: '#e5d457',
    950: '#000000',
  },
}
SCSS
$custom: #e5d457;
$custom-light: #f0e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d457",
  "rgb": {
    "r": 229,
    "g": 212,
    "b": 87
  },
  "hsl": {
    "h": 52.817,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86071,
    "c": 0.14474,
    "h": 101.6
  },
  "luminance": 0.64433
}

Semantic roles & 50–950 ramp

primary
#E5D457
secondary
#3744AA
accent
#28D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D457

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

Preview Lab → · Contrast checker → · Palette generator →

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