#E4DF54#E4DF54

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

Color values

HEX#E4DF54
RGBrgb(228, 223, 84)
HSLhsl(58, 73%, 61%)
HSVhsv(58, 63%, 89%)
CMYKcmyk(0%, 2.2%, 63.2%, 10.6%)
CIE-LABlab(86.95, -14.88, 66.30)
CIE-LCHlch(86.95, 67.94, 102.65°)
OKLaboklab(88.24% -0.0466 0.1502)
OKLCHoklch(88.24% 0.157 107.2)
XYZxyz(59.9849, 69.9113, 18.7202)
Luminance0.6991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF54 #5459E4
analogous
#E49754 #E4DF54 #A1E454
triadic
#E4DF54 #54E4DF #DF54E4
tetradic
#E4DF54 #54E497 #5459E4 #E454A1
square
#E4DF54 #54E497 #5459E4 #E454A1
split-complementary
#E4DF54 #54A1E4 #9754E4
monochromatic
#A49F1A #D9D222 #E4DF54 #ECE989 #F5F3BE

Accessibility & contrast

On white

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

On black

14.98
#E4DF54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF54
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF54#FFFFFF#000000##000000
##E4DF541.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4df54;
/* rgb */ color: rgb(228, 223, 84);
/* oklch */ color: oklch(88.2% 0.157 107.2);
Tailwind
colors: {
  custom: {
    50: '#f0e88a',
    500: '#e4df54',
    950: '#000000',
  },
}
SCSS
$custom: #e4df54;
$custom-light: #f0e88a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df54",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 84
  },
  "hsl": {
    "h": 57.917,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.8824,
    "c": 0.15726,
    "h": 107.2
  },
  "luminance": 0.69909
}

Semantic roles & 50–950 ramp

primary
#E4DF54
secondary
#363AA6
accent
#17D511
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4DF54

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

Preview Lab → · Contrast checker → · Palette generator →

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