#E4D847#E4D847

#E4D847 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.7% C 0.160 H 104.6°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#E4D847
RGBrgb(228, 216, 71)
HSLhsl(55, 74%, 59%)
HSVhsv(55, 69%, 89%)
CMYKcmyk(0%, 5.3%, 68.9%, 10.6%)
CIE-LABlab(85.03, -12.13, 69.37)
CIE-LCHlch(85.03, 70.42, 99.91°)
OKLaboklab(86.68% -0.0402 0.1546)
OKLCHoklch(86.68% 0.16 104.6)
XYZxyz(57.6904, 66.0629, 15.6726)
Luminance0.6606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D847 #4753E4
analogous
#E48947 #E4D847 #A1E447
triadic
#E4D847 #47E4D8 #D847E4
tetradic
#E4D847 #47E489 #4753E4 #E447A1
square
#E4D847 #47E489 #4753E4 #E447A1
split-complementary
#E4D847 #47A1E4 #8947E4
monochromatic
#9A9017 #CFC21E #E4D847 #ECE37C #F4EFB2

Accessibility & contrast

On white

1.48
#E4D847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.21
#E4D847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D847
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D847#FFFFFF#000000##000000
##E4D8471.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD131
Deuteranopia (green-blind)
#EFD751
Tritanopia (blue-blind)
#F5CABB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e4d847;
/* rgb */ color: rgb(228, 216, 71);
/* oklch */ color: oklch(86.7% 0.160 104.6);
Tailwind
colors: {
  custom: {
    50: '#f0e383',
    500: '#e4d847',
    950: '#000000',
  },
}
SCSS
$custom: #e4d847;
$custom-light: #f0e383;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d847",
  "rgb": {
    "r": 228,
    "g": 216,
    "b": 71
  },
  "hsl": {
    "h": 55.414,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86678,
    "c": 0.15977,
    "h": 104.6
  },
  "luminance": 0.66061
}

Semantic roles & 50–950 ramp

primary
#E4D847
secondary
#323A9E
accent
#45F137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E4D847

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

Preview Lab → · Contrast checker → · Palette generator →

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