#E8D957#E8D957

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

Color values

HEX#E8D957
RGBrgb(232, 217, 87)
HSLhsl(54, 76%, 63%)
HSVhsv(54, 63%, 91%)
CMYKcmyk(0%, 6.5%, 62.5%, 9%)
CIE-LABlab(85.74, -10.07, 63.88)
CIE-LCHlch(85.74, 64.66, 98.96°)
OKLaboklab(87.36% -0.0329 0.1454)
OKLCHoklch(87.36% 0.149 102.7)
XYZxyz(59.8142, 67.4720, 18.8877)
Luminance0.6747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D957 #5766E8
analogous
#E89057 #E8D957 #AFE857
triadic
#E8D957 #57E8D9 #D957E8
tetradic
#E8D957 #57E890 #5766E8 #E857AF
square
#E8D957 #57E890 #5766E8 #E857AF
split-complementary
#E8D957 #57AFE8 #9057E8
monochromatic
#AD9D18 #E1CD21 #E8D957 #EFE58D #F7F1C3

Accessibility & contrast

On white

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

On black

14.49
#E8D957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D957
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D957#FFFFFF#000000##000000
##E8D9571.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8d957;
/* rgb */ color: rgb(232, 217, 87);
/* oklch */ color: oklch(87.4% 0.149 102.7);
Tailwind
colors: {
  custom: {
    50: '#f3e48c',
    500: '#e8d957',
    950: '#000000',
  },
}
SCSS
$custom: #e8d957;
$custom-light: #f3e48c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d957",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 87
  },
  "hsl": {
    "h": 53.793,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87363,
    "c": 0.14907,
    "h": 102.7
  },
  "luminance": 0.6747
}

Semantic roles & 50–950 ramp

primary
#E8D957
secondary
#3542AE
accent
#22D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D957

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

Preview Lab → · Contrast checker → · Palette generator →

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