#E4DF51#E4DF51

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

Color values

HEX#E4DF51
RGBrgb(228, 223, 81)
HSLhsl(58, 73%, 61%)
HSVhsv(58, 64%, 89%)
CMYKcmyk(0%, 2.2%, 64.5%, 10.6%)
CIE-LABlab(86.93, -15.06, 67.47)
CIE-LCHlch(86.93, 69.13, 102.58°)
OKLaboklab(88.22% -0.0474 0.1522)
OKLCHoklch(88.22% 0.159 107.3)
XYZxyz(59.8699, 69.8653, 18.1146)
Luminance0.6986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF51 #5156E4
analogous
#E49551 #E4DF51 #9FE451
triadic
#E4DF51 #51E4DF #DF51E4
tetradic
#E4DF51 #51E495 #5156E4 #E4519F
square
#E4DF51 #51E495 #5156E4 #E4519F
split-complementary
#E4DF51 #519FE4 #9551E4
monochromatic
#A29D19 #D7D021 #E4DF51 #ECE986 #F4F2BB

Accessibility & contrast

On white

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

On black

14.97
#E4DF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF51
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF51#FFFFFF#000000##000000
##E4DF511.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4df51;
/* rgb */ color: rgb(228, 223, 81);
/* oklch */ color: oklch(88.2% 0.159 107.3);
Tailwind
colors: {
  custom: {
    50: '#f0e889',
    500: '#e4df51',
    950: '#000000',
  },
}
SCSS
$custom: #e4df51;
$custom-light: #f0e889;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df51",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 81
  },
  "hsl": {
    "h": 57.959,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.88215,
    "c": 0.15944,
    "h": 107.3
  },
  "luminance": 0.69863
}

Semantic roles & 50–950 ramp

primary
#E4DF51
secondary
#3539A4
accent
#17D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4DF51

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

Preview Lab → · Contrast checker → · Palette generator →

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