#E5D858#E5D858

#E5D858 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.9% C 0.148 H 103.5°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#E5D858
RGBrgb(229, 216, 88)
HSLhsl(54, 73%, 62%)
HSVhsv(54, 62%, 90%)
CMYKcmyk(0%, 5.7%, 61.6%, 10.2%)
CIE-LABlab(85.24, -10.74, 62.84)
CIE-LCHlch(85.24, 63.75, 99.70°)
OKLaboklab(86.91% -0.0345 0.1434)
OKLCHoklch(86.91% 0.148 103.5)
XYZxyz(58.6326, 66.4765, 18.9734)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D858 #5865E5
analogous
#E59258 #E5D858 #ACE558
triadic
#E5D858 #58E5D8 #D858E5
tetradic
#E5D858 #58E592 #5865E5 #E558AC
square
#E5D858 #58E592 #5865E5 #E558AC
split-complementary
#E5D858 #58ACE5 #9258E5
monochromatic
#A89B1A #DDCC23 #E5D858 #EDE48D #F5F1C2

Accessibility & contrast

On white

1.47
#E5D858 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#E5D858 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D858
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D858#FFFFFF#000000##000000
##E5D8581.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD149
Deuteranopia (green-blind)
#EED85F
Tritanopia (blue-blind)
#F5CABD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e5d858;
/* rgb */ color: rgb(229, 216, 88);
/* oklch */ color: oklch(86.9% 0.148 103.5);
Tailwind
colors: {
  custom: {
    50: '#f0e38c',
    500: '#e5d858',
    950: '#000000',
  },
}
SCSS
$custom: #e5d858;
$custom-light: #f0e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d858",
  "rgb": {
    "r": 229,
    "g": 216,
    "b": 88
  },
  "hsl": {
    "h": 54.468,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.86906,
    "c": 0.14751,
    "h": 103.5
  },
  "luminance": 0.66474
}

Semantic roles & 50–950 ramp

primary
#E5D858
secondary
#3742AA
accent
#22D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D858

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

Preview Lab → · Contrast checker → · Palette generator →

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