#E4D051#E4D051

#E4D051 is a very light, vivid yellow. Relative luminance 0.622; OKLCH L 85.1% C 0.146 H 100.3°. Best body text is #000000 at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#E4D051
RGBrgb(228, 208, 81)
HSLhsl(52, 73%, 61%)
HSVhsv(52, 64%, 89%)
CMYKcmyk(0%, 8.8%, 64.5%, 10.6%)
CIE-LABlab(83.02, -7.55, 63.38)
CIE-LCHlch(83.02, 63.82, 96.80°)
OKLaboklab(85.11% -0.0261 0.1436)
OKLCHoklch(85.11% 0.146 100.3)
XYZxyz(56.0383, 62.2022, 16.8374)
Luminance0.6220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D051 #5165E4
analogous
#E48751 #E4D051 #AEE451
triadic
#E4D051 #51E4D0 #D051E4
tetradic
#E4D051 #51E487 #5165E4 #E451AE
square
#E4D051 #51E487 #5165E4 #E451AE
split-complementary
#E4D051 #51AEE4 #8751E4
monochromatic
#A28F19 #D7BE21 #E4D051 #ECDE86 #F4EDBB

Accessibility & contrast

On white

1.56
#E4D051 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.44
#E4D051 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D051
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D051#FFFFFF#000000##000000
##E4D0511.001.5613.4413.44
#FFFFFF1.561.0021.0021.00
#00000013.4421.001.001.00
##00000013.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA41
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#F5C2B5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e4d051;
/* rgb */ color: rgb(228, 208, 81);
/* oklch */ color: oklch(85.1% 0.146 100.3);
Tailwind
colors: {
  custom: {
    50: '#f0de88',
    500: '#e4d051',
    950: '#000000',
  },
}
SCSS
$custom: #e4d051;
$custom-light: #f0de88;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d051",
  "rgb": {
    "r": 228,
    "g": 208,
    "b": 81
  },
  "hsl": {
    "h": 51.837,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.85106,
    "c": 0.14593,
    "h": 100.3
  },
  "luminance": 0.622
}

Semantic roles & 50–950 ramp

primary
#E4D051
secondary
#3544A4
accent
#2BD510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D051

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

Preview Lab → · Contrast checker → · Palette generator →

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