#E4DF56#E4DF56

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

Color values

HEX#E4DF56
RGBrgb(228, 223, 86)
HSLhsl(58, 72%, 62%)
HSVhsv(58, 62%, 89%)
CMYKcmyk(0%, 2.2%, 62.3%, 10.6%)
CIE-LABlab(86.97, -14.76, 65.50)
CIE-LCHlch(86.97, 67.14, 102.70°)
OKLaboklab(88.26% -0.0461 0.1488)
OKLCHoklch(88.26% 0.156 107.2)
XYZxyz(60.0643, 69.9431, 19.1387)
Luminance0.6994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF56 #565BE4
analogous
#E49856 #E4DF56 #A2E456
triadic
#E4DF56 #56E4DF #DF56E4
tetradic
#E4DF56 #56E498 #565BE4 #E456A2
square
#E4DF56 #56E498 #565BE4 #E456A2
split-complementary
#E4DF56 #56A2E4 #9856E4
monochromatic
#A5A01A #DAD423 #E4DF56 #ECE98B #F5F3C0

Accessibility & contrast

On white

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

On black

14.99
#E4DF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF56
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF56#FFFFFF#000000##000000
##E4DF561.001.4014.9914.99
#FFFFFF1.401.0021.0021.00
#00000014.9921.001.001.00
##00000014.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4df56;
/* rgb */ color: rgb(228, 223, 86);
/* oklch */ color: oklch(88.3% 0.156 107.2);
Tailwind
colors: {
  custom: {
    50: '#f0e88c',
    500: '#e4df56',
    950: '#000000',
  },
}
SCSS
$custom: #e4df56;
$custom-light: #f0e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df56",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 86
  },
  "hsl": {
    "h": 57.887,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88258,
    "c": 0.15577,
    "h": 107.2
  },
  "luminance": 0.69941
}

Semantic roles & 50–950 ramp

primary
#E4DF56
secondary
#373BA7
accent
#18D511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4DF56

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

Preview Lab → · Contrast checker → · Palette generator →

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