#E8D158#E8D158

#E8D158 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.7% C 0.142 H 98.5°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#E8D158
RGBrgb(232, 209, 88)
HSLhsl(50, 76%, 63%)
HSVhsv(50, 62%, 91%)
CMYKcmyk(0%, 9.9%, 62.1%, 9%)
CIE-LABlab(83.69, -5.97, 61.23)
CIE-LCHlch(83.69, 61.52, 95.56°)
OKLaboklab(85.73% -0.021 0.1399)
OKLCHoklch(85.73% 0.142 98.5)
XYZxyz(57.8430, 63.4639, 18.4336)
Luminance0.6346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D158 #586FE8
analogous
#E88958 #E8D158 #B7E858
triadic
#E8D158 #58E8D1 #D158E8
tetradic
#E8D158 #58E889 #586FE8 #E858B7
square
#E8D158 #58E889 #586FE8 #E858B7
split-complementary
#E8D158 #58B7E8 #8958E8
monochromatic
#AE9618 #E1C222 #E8D158 #EFE08E #F7EFC4

Accessibility & contrast

On white

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

On black

13.69
#E8D158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D158
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D158#FFFFFF#000000##000000
##E8D1581.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8d158;
/* rgb */ color: rgb(232, 209, 88);
/* oklch */ color: oklch(85.7% 0.142 98.5);
Tailwind
colors: {
  custom: {
    50: '#f3de8c',
    500: '#e8d158',
    950: '#000000',
  },
}
SCSS
$custom: #e8d158;
$custom-light: #f3de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d158",
  "rgb": {
    "r": 232,
    "g": 209,
    "b": 88
  },
  "hsl": {
    "h": 50.417,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.85734,
    "c": 0.14151,
    "h": 98.5
  },
  "luminance": 0.63461
}

Semantic roles & 50–950 ramp

primary
#E8D158
secondary
#3649AF
accent
#2ED80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D158

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

Preview Lab → · Contrast checker → · Palette generator →

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