#E4DC47#E4DC47

#E4DC47 is a very light, vivid yellow. Relative luminance 0.681; OKLCH L 87.5% C 0.163 H 106.3°. Best body text is #000000 at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#E4DC47
RGBrgb(228, 220, 71)
HSLhsl(57, 74%, 59%)
HSVhsv(57, 69%, 89%)
CMYKcmyk(0%, 3.5%, 68.9%, 10.6%)
CIE-LABlab(86.08, -14.11, 70.41)
CIE-LCHlch(86.08, 71.81, 101.33°)
OKLaboklab(87.51% -0.0458 0.1568)
OKLCHoklch(87.51% 0.163 106.3)
XYZxyz(58.7277, 68.1374, 16.0183)
Luminance0.6814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC47 #474FE4
analogous
#E48D47 #E4DC47 #9DE447
triadic
#E4DC47 #47E4DC #DC47E4
tetradic
#E4DC47 #47E48D #474FE4 #E4479D
square
#E4DC47 #47E48D #474FE4 #E4479D
split-complementary
#E4DC47 #479DE4 #8D47E4
monochromatic
#9A9317 #CFC61E #E4DC47 #ECE67C #F4F0B2

Accessibility & contrast

On white

1.44
#E4DC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.63
#E4DC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC47
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC47#FFFFFF#000000##000000
##E4DC471.001.4414.6314.63
#FFFFFF1.441.0021.0021.00
#00000014.6321.001.001.00
##00000014.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED42F
Deuteranopia (green-blind)
#F2DA51
Tritanopia (blue-blind)
#F4CEBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e4dc47;
/* rgb */ color: rgb(228, 220, 71);
/* oklch */ color: oklch(87.5% 0.163 106.3);
Tailwind
colors: {
  custom: {
    50: '#f0e683',
    500: '#e4dc47',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc47;
$custom-light: #f0e683;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc47",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 71
  },
  "hsl": {
    "h": 56.943,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87511,
    "c": 0.16337,
    "h": 106.3
  },
  "luminance": 0.68135
}

Semantic roles & 50–950 ramp

primary
#E4DC47
secondary
#32379E
accent
#40F137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E4DC47

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

Preview Lab → · Contrast checker → · Palette generator →

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