#E8D958#E8D958

#E8D958 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.4% C 0.148 H 102.7°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#E8D958
RGBrgb(232, 217, 88)
HSLhsl(54, 76%, 63%)
HSVhsv(54, 62%, 91%)
CMYKcmyk(0%, 6.5%, 62.1%, 9%)
CIE-LABlab(85.75, -10.00, 63.46)
CIE-LCHlch(85.75, 64.25, 98.96°)
OKLaboklab(87.37% -0.0326 0.1447)
OKLCHoklch(87.37% 0.148 102.7)
XYZxyz(59.8553, 67.4884, 19.1043)
Luminance0.6749 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D958 #5867E8
analogous
#E89158 #E8D958 #AFE858
triadic
#E8D958 #58E8D9 #D958E8
tetradic
#E8D958 #58E891 #5867E8 #E858AF
square
#E8D958 #58E891 #5867E8 #E858AF
split-complementary
#E8D958 #58AFE8 #9158E8
monochromatic
#AE9E18 #E1CD22 #E8D958 #EFE58E #F7F1C4

Accessibility & contrast

On white

1.45
#E8D958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.50
#E8D958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D958
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D958#FFFFFF#000000##000000
##E8D9581.001.4514.5014.50
#FFFFFF1.451.0021.0021.00
#00000014.5021.001.001.00
##00000014.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8d958;
/* rgb */ color: rgb(232, 217, 88);
/* oklch */ color: oklch(87.4% 0.148 102.7);
Tailwind
colors: {
  custom: {
    50: '#f2e48c',
    500: '#e8d958',
    950: '#000000',
  },
}
SCSS
$custom: #e8d958;
$custom-light: #f2e48c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d958",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 88
  },
  "hsl": {
    "h": 53.75,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87372,
    "c": 0.14829,
    "h": 102.7
  },
  "luminance": 0.67486
}

Semantic roles & 50–950 ramp

primary
#E8D958
secondary
#3642AF
accent
#23D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D958

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

Preview Lab → · Contrast checker → · Palette generator →

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