#E5DC56#E5DC56

#E5DC56 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.7% C 0.153 H 105.5°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#E5DC56
RGBrgb(229, 220, 86)
HSLhsl(56, 73%, 62%)
HSVhsv(56, 62%, 90%)
CMYKcmyk(0%, 3.9%, 62.4%, 10.2%)
CIE-LABlab(86.27, -12.86, 64.78)
CIE-LCHlch(86.27, 66.04, 101.23°)
OKLaboklab(87.72% -0.0407 0.1472)
OKLCHoklch(87.72% 0.153 105.5)
XYZxyz(59.5881, 68.5184, 18.8888)
Luminance0.6852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DC56 #565FE5
analogous
#E59556 #E5DC56 #A7E556
triadic
#E5DC56 #56E5DC #DC56E5
tetradic
#E5DC56 #56E595 #565FE5 #E556A7
square
#E5DC56 #56E595 #565FE5 #E556A7
split-complementary
#E5DC56 #56A7E5 #9556E5
monochromatic
#A79E1A #DCD022 #E5DC56 #EDE78B #F5F2C0

Accessibility & contrast

On white

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

On black

14.70
#E5DC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DC56
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DC56#FFFFFF#000000##000000
##E5DC561.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5dc56;
/* rgb */ color: rgb(229, 220, 86);
/* oklch */ color: oklch(87.7% 0.153 105.5);
Tailwind
colors: {
  custom: {
    50: '#f0e68b',
    500: '#e5dc56',
    950: '#000000',
  },
}
SCSS
$custom: #e5dc56;
$custom-light: #f0e68b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dc56",
  "rgb": {
    "r": 229,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 56.224,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.87717,
    "c": 0.15277,
    "h": 105.5
  },
  "luminance": 0.68516
}

Semantic roles & 50–950 ramp

primary
#E5DC56
secondary
#363EA9
accent
#1CD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5DC56

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

Preview Lab → · Contrast checker → · Palette generator →

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