#E4DC56#E4DC56

#E4DC56 is a very light, vivid yellow. Relative luminance 0.684; OKLCH L 87.6% C 0.153 H 105.9°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#E4DC56
RGBrgb(228, 220, 86)
HSLhsl(57, 72%, 62%)
HSVhsv(57, 62%, 89%)
CMYKcmyk(0%, 3.5%, 62.3%, 10.6%)
CIE-LABlab(86.18, -13.27, 64.66)
CIE-LCHlch(86.18, 66.01, 101.60°)
OKLaboklab(87.63% -0.0418 0.147)
OKLCHoklch(87.63% 0.153 105.9)
XYZxyz(59.2699, 68.3543, 18.8739)
Luminance0.6835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC56 #565EE4
analogous
#E49556 #E4DC56 #A5E456
triadic
#E4DC56 #56E4DC #DC56E4
tetradic
#E4DC56 #56E495 #565EE4 #E456A5
square
#E4DC56 #56E495 #565EE4 #E456A5
split-complementary
#E4DC56 #56A5E4 #9556E4
monochromatic
#A59D1A #DAD023 #E4DC56 #ECE78B #F5F2C0

Accessibility & contrast

On white

1.43
#E4DC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#E4DC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC56
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC56#FFFFFF#000000##000000
##E4DC561.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED446
Deuteranopia (green-blind)
#F1DA5E
Tritanopia (blue-blind)
#F4CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dc56;
/* rgb */ color: rgb(228, 220, 86);
/* oklch */ color: oklch(87.6% 0.153 105.9);
Tailwind
colors: {
  custom: {
    50: '#f0e68b',
    500: '#e4dc56',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc56;
$custom-light: #f0e68b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc56",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 56.62,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87632,
    "c": 0.15287,
    "h": 105.9
  },
  "luminance": 0.68352
}

Semantic roles & 50–950 ramp

primary
#E4DC56
secondary
#373DA7
accent
#1CD511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4DC56

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

Preview Lab → · Contrast checker → · Palette generator →

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