#E4DD56#E4DD56

#E4DD56 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 87.8% C 0.154 H 106.3°. Best body text is #000000 at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#E4DD56
RGBrgb(228, 221, 86)
HSLhsl(57, 72%, 62%)
HSVhsv(57, 62%, 89%)
CMYKcmyk(0%, 3.1%, 62.3%, 10.6%)
CIE-LABlab(86.44, -13.77, 64.94)
CIE-LCHlch(86.44, 66.39, 101.97°)
OKLaboklab(87.84% -0.0433 0.1476)
OKLCHoklch(87.84% 0.154 106.3)
XYZxyz(59.5331, 68.8807, 18.9616)
Luminance0.6888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DD56 #565DE4
analogous
#E49656 #E4DD56 #A4E456
triadic
#E4DD56 #56E4DD #DD56E4
tetradic
#E4DD56 #56E496 #565DE4 #E456A4
square
#E4DD56 #56E496 #565DE4 #E456A4
split-complementary
#E4DD56 #56A4E4 #9656E4
monochromatic
#A59E1A #DAD123 #E4DD56 #ECE88B #F5F2C0

Accessibility & contrast

On white

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

On black

14.78
#E4DD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DD56
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DD56#FFFFFF#000000##000000
##E4DD561.001.4214.7814.78
#FFFFFF1.421.0021.0021.00
#00000014.7821.001.001.00
##00000014.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4dd56;
/* rgb */ color: rgb(228, 221, 86);
/* oklch */ color: oklch(87.8% 0.154 106.3);
Tailwind
colors: {
  custom: {
    50: '#f0e78b',
    500: '#e4dd56',
    950: '#000000',
  },
}
SCSS
$custom: #e4dd56;
$custom-light: #f0e78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dd56",
  "rgb": {
    "r": 228,
    "g": 221,
    "b": 86
  },
  "hsl": {
    "h": 57.042,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.8784,
    "c": 0.15383,
    "h": 106.3
  },
  "luminance": 0.68879
}

Semantic roles & 50–950 ramp

primary
#E4DD56
secondary
#373CA7
accent
#1BD511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4DD56

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

Preview Lab → · Contrast checker → · Palette generator →

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