#E8DC56#E8DC56

#E8DC56 is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 88.0% C 0.153 H 104.2°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#E8DC56
RGBrgb(232, 220, 86)
HSLhsl(55, 76%, 62%)
HSVhsv(55, 63%, 91%)
CMYKcmyk(0%, 5.2%, 62.9%, 9%)
CIE-LABlab(86.51, -11.63, 65.11)
CIE-LCHlch(86.51, 66.14, 100.13°)
OKLaboklab(87.97% -0.0374 0.1479)
OKLCHoklch(87.97% 0.153 104.2)
XYZxyz(60.5539, 69.0163, 18.9341)
Luminance0.6901 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC56 #5662E8
analogous
#E89356 #E8DC56 #ABE856
triadic
#E8DC56 #56E8DC #DC56E8
tetradic
#E8DC56 #56E893 #5662E8 #E856AB
square
#E8DC56 #56E893 #5662E8 #E856AB
split-complementary
#E8DC56 #56ABE8 #9356E8
monochromatic
#ACA017 #E1D120 #E8DC56 #EFE78C #F7F2C2

Accessibility & contrast

On white

1.42
#E8DC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#E8DC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC56
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC56#FFFFFF#000000##000000
##E8DC561.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED545
Deuteranopia (green-blind)
#F2DB5E
Tritanopia (blue-blind)
#F8CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e8dc56;
/* rgb */ color: rgb(232, 220, 86);
/* oklch */ color: oklch(88.0% 0.153 104.2);
Tailwind
colors: {
  custom: {
    50: '#f3e68b',
    500: '#e8dc56',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc56;
$custom-light: #f3e68b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc56",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 55.068,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87973,
    "c": 0.15254,
    "h": 104.2
  },
  "luminance": 0.69014
}

Semantic roles & 50–950 ramp

primary
#E8DC56
secondary
#353FAD
accent
#1ED80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8DC56

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

Preview Lab → · Contrast checker → · Palette generator →

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