#E5D958#E5D958

#E5D958 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.1% C 0.148 H 104.0°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#E5D958
RGBrgb(229, 217, 88)
HSLhsl(55, 73%, 62%)
HSVhsv(55, 62%, 90%)
CMYKcmyk(0%, 5.2%, 61.6%, 10.2%)
CIE-LABlab(85.50, -11.24, 63.12)
CIE-LCHlch(85.50, 64.11, 100.10°)
OKLaboklab(87.11% -0.0359 0.144)
OKLCHoklch(87.11% 0.148 104)
XYZxyz(58.8896, 66.9905, 19.0590)
Luminance0.6699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D958 #5864E5
analogous
#E59358 #E5D958 #AAE558
triadic
#E5D958 #58E5D9 #D958E5
tetradic
#E5D958 #58E593 #5864E5 #E558AA
square
#E5D958 #58E593 #5864E5 #E558AA
split-complementary
#E5D958 #58AAE5 #9358E5
monochromatic
#A89C1A #DDCD23 #E5D958 #EDE58D #F5F1C2

Accessibility & contrast

On white

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

On black

14.40
#E5D958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D958
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D958#FFFFFF#000000##000000
##E5D9581.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD249
Deuteranopia (green-blind)
#EFD95F
Tritanopia (blue-blind)
#F5CBBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5d958;
/* rgb */ color: rgb(229, 217, 88);
/* oklch */ color: oklch(87.1% 0.148 104.0);
Tailwind
colors: {
  custom: {
    50: '#f0e48c',
    500: '#e5d958',
    950: '#000000',
  },
}
SCSS
$custom: #e5d958;
$custom-light: #f0e48c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d958",
  "rgb": {
    "r": 229,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 54.894,
    "s": 73.057,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87113,
    "c": 0.14843,
    "h": 104
  },
  "luminance": 0.66988
}

Semantic roles & 50–950 ramp

primary
#E5D958
secondary
#3741AA
accent
#21D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D958

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

Preview Lab → · Contrast checker → · Palette generator →

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