#E4D951#E4D951

#E4D951 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.0% C 0.154 H 104.7°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#E4D951
RGBrgb(228, 217, 81)
HSLhsl(56, 73%, 61%)
HSVhsv(56, 64%, 89%)
CMYKcmyk(0%, 4.8%, 64.5%, 10.6%)
CIE-LABlab(85.36, -12.08, 65.83)
CIE-LCHlch(85.36, 66.93, 100.40°)
OKLaboklab(86.96% -0.039 0.1488)
OKLCHoklch(86.96% 0.154 104.7)
XYZxyz(58.2952, 66.7159, 17.5897)
Luminance0.6671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D951 #515CE4
analogous
#E48F51 #E4D951 #A5E451
triadic
#E4D951 #51E4D9 #D951E4
tetradic
#E4D951 #51E48F #515CE4 #E451A5
square
#E4D951 #51E48F #515CE4 #E451A5
split-complementary
#E4D951 #51A5E4 #8F51E4
monochromatic
#A29719 #D7C921 #E4D951 #ECE586 #F4F0BB

Accessibility & contrast

On white

1.46
#E4D951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.34
#E4D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D951
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D951#FFFFFF#000000##000000
##E4D9511.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD23F
Deuteranopia (green-blind)
#EFD859
Tritanopia (blue-blind)
#F4CBBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d951;
/* rgb */ color: rgb(228, 217, 81);
/* oklch */ color: oklch(87.0% 0.154 104.7);
Tailwind
colors: {
  custom: {
    50: '#f0e488',
    500: '#e4d951',
    950: '#000000',
  },
}
SCSS
$custom: #e4d951;
$custom-light: #f0e488;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d951",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 55.51,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.86964,
    "c": 0.1538,
    "h": 104.7
  },
  "luminance": 0.66714
}

Semantic roles & 50–950 ramp

primary
#E4D951
secondary
#353DA4
accent
#1FD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D951

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

Preview Lab → · Contrast checker → · Palette generator →

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