#E8D956#E8D956

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

Color values

HEX#E8D956
RGBrgb(232, 217, 86)
HSLhsl(54, 76%, 62%)
HSVhsv(54, 63%, 91%)
CMYKcmyk(0%, 6.5%, 62.9%, 9%)
CIE-LABlab(85.73, -10.13, 64.28)
CIE-LCHlch(85.73, 65.08, 98.95°)
OKLaboklab(87.35% -0.0331 0.1461)
OKLCHoklch(87.35% 0.15 102.8)
XYZxyz(59.7736, 67.4557, 18.6740)
Luminance0.6745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D956 #5665E8
analogous
#E89056 #E8D956 #AEE856
triadic
#E8D956 #56E8D9 #D956E8
tetradic
#E8D956 #56E890 #5665E8 #E856AE
square
#E8D956 #56E890 #5665E8 #E856AE
split-complementary
#E8D956 #56AEE8 #9056E8
monochromatic
#AC9D17 #E1CD20 #E8D956 #EFE58C #F7F1C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8D956#FFFFFF#000000##000000
##E8D9561.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)
#EBD246
Deuteranopia (green-blind)
#F0D95D
Tritanopia (blue-blind)
#F9CBBD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d956;
/* rgb */ color: rgb(232, 217, 86);
/* oklch */ color: oklch(87.4% 0.150 102.8);
Tailwind
colors: {
  custom: {
    50: '#f3e48b',
    500: '#e8d956',
    950: '#000000',
  },
}
SCSS
$custom: #e8d956;
$custom-light: #f3e48b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d956",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 53.836,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87354,
    "c": 0.14983,
    "h": 102.8
  },
  "luminance": 0.67453
}

Semantic roles & 50–950 ramp

primary
#E8D956
secondary
#3541AD
accent
#22D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D956

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

Preview Lab → · Contrast checker → · Palette generator →

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