#E9D158#E9D158

#E9D158 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.8% C 0.142 H 98.1°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#E9D158
RGBrgb(233, 209, 88)
HSLhsl(50, 77%, 63%)
HSVhsv(50, 62%, 91%)
CMYKcmyk(0%, 10.3%, 62.2%, 8.6%)
CIE-LABlab(83.77, -5.55, 61.35)
CIE-LCHlch(83.77, 61.60, 95.17°)
OKLaboklab(85.82% -0.0199 0.1402)
OKLCHoklch(85.82% 0.142 98.1)
XYZxyz(58.1687, 63.6318, 18.4488)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D158 #5870E9
analogous
#E98858 #E9D158 #B8E958
triadic
#E9D158 #58E9D1 #D158E9
tetradic
#E9D158 #58E988 #5870E9 #E958B8
square
#E9D158 #58E988 #5870E9 #E958B8
split-complementary
#E9D158 #58B8E9 #8858E9
monochromatic
#AF9617 #E2C222 #E9D158 #F0E08E #F7EFC4

Accessibility & contrast

On white

1.53
#E9D158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#E9D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D158
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D158#FFFFFF#000000##000000
##E9D1581.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC4A
Deuteranopia (green-blind)
#EAD45E
Tritanopia (blue-blind)
#FAC3B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e9d158;
/* rgb */ color: rgb(233, 209, 88);
/* oklch */ color: oklch(85.8% 0.142 98.1);
Tailwind
colors: {
  custom: {
    50: '#f3de8c',
    500: '#e9d158',
    950: '#000000',
  },
}
SCSS
$custom: #e9d158;
$custom-light: #f3de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d158",
  "rgb": {
    "r": 233,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 50.069,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85825,
    "c": 0.14158,
    "h": 98.1
  },
  "luminance": 0.63629
}

Semantic roles & 50–950 ramp

primary
#E9D158
secondary
#3549B0
accent
#2ED90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E9D158

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

Preview Lab → · Contrast checker → · Palette generator →

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