#E5DF56#E5DF56

#E5DF56 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.3% C 0.156 H 106.8°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#E5DF56
RGBrgb(229, 223, 86)
HSLhsl(57, 73%, 62%)
HSVhsv(57, 62%, 90%)
CMYKcmyk(0%, 2.6%, 62.4%, 10.2%)
CIE-LABlab(87.05, -14.35, 65.61)
CIE-LCHlch(87.05, 67.16, 102.34°)
OKLaboklab(88.34% -0.045 0.149)
OKLCHoklch(88.34% 0.156 106.8)
XYZxyz(60.3826, 70.1072, 19.1536)
Luminance0.7010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DF56 #565CE5
analogous
#E59856 #E5DF56 #A3E556
triadic
#E5DF56 #56E5DF #DF56E5
tetradic
#E5DF56 #56E598 #565CE5 #E556A3
square
#E5DF56 #56E598 #565CE5 #E556A3
split-complementary
#E5DF56 #56A3E5 #9856E5
monochromatic
#A7A11A #DCD422 #E5DF56 #EDE98B #F5F3C0

Accessibility & contrast

On white

1.40
#E5DF56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#E5DF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DF56
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DF56#FFFFFF#000000##000000
##E5DF561.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D745
Deuteranopia (green-blind)
#F4DD5E
Tritanopia (blue-blind)
#F5D1C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e5df56;
/* rgb */ color: rgb(229, 223, 86);
/* oklch */ color: oklch(88.3% 0.156 106.8);
Tailwind
colors: {
  custom: {
    50: '#f0e88c',
    500: '#e5df56',
    950: '#000000',
  },
}
SCSS
$custom: #e5df56;
$custom-light: #f0e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5df56",
  "rgb": {
    "r": 229,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 57.483,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88341,
    "c": 0.15565,
    "h": 106.8
  },
  "luminance": 0.70105
}

Semantic roles & 50–950 ramp

primary
#E5DF56
secondary
#363BA9
accent
#18D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E5DF56

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

Preview Lab → · Contrast checker → · Palette generator →

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