#E4DD54#E4DD54

#E4DD54 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.8% C 0.155 H 106.4°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#E4DD54
RGBrgb(228, 221, 84)
HSLhsl(57, 73%, 61%)
HSVhsv(57, 63%, 89%)
CMYKcmyk(0%, 3.1%, 63.2%, 10.6%)
CIE-LABlab(86.43, -13.89, 65.74)
CIE-LCHlch(86.43, 67.19, 101.93°)
OKLaboklab(87.82% -0.0438 0.149)
OKLCHoklch(87.82% 0.155 106.4)
XYZxyz(59.4537, 68.8490, 18.5432)
Luminance0.6885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DD54 #545BE4
analogous
#E49554 #E4DD54 #A3E454
triadic
#E4DD54 #54E4DD #DD54E4
tetradic
#E4DD54 #54E495 #545BE4 #E454A3
square
#E4DD54 #54E495 #545BE4 #E454A3
split-complementary
#E4DD54 #54A3E4 #9554E4
monochromatic
#A49D1A #D9D022 #E4DD54 #ECE889 #F5F2BE

Accessibility & contrast

On white

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

On black

14.77
#E4DD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DD54
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DD54#FFFFFF#000000##000000
##E4DD541.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4dd54;
/* rgb */ color: rgb(228, 221, 84);
/* oklch */ color: oklch(87.8% 0.155 106.4);
Tailwind
colors: {
  custom: {
    50: '#f0e78a',
    500: '#e4dd54',
    950: '#000000',
  },
}
SCSS
$custom: #e4dd54;
$custom-light: #f0e78a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dd54",
  "rgb": {
    "r": 228,
    "g": 221,
    "b": 84
  },
  "hsl": {
    "h": 57.083,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87823,
    "c": 0.15533,
    "h": 106.4
  },
  "luminance": 0.68847
}

Semantic roles & 50–950 ramp

primary
#E4DD54
secondary
#363BA6
accent
#1AD511
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4DD54

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

Preview Lab → · Contrast checker → · Palette generator →

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