#E4D947#E4D947

#E4D947 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.161 H 105.0°. Best body text is #000000 at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#E4D947
RGBrgb(228, 217, 71)
HSLhsl(56, 74%, 59%)
HSVhsv(56, 69%, 89%)
CMYKcmyk(0%, 4.8%, 68.9%, 10.6%)
CIE-LABlab(85.29, -12.62, 69.63)
CIE-LCHlch(85.29, 70.77, 100.28°)
OKLaboklab(86.89% -0.0416 0.1552)
OKLCHoklch(86.89% 0.161 105)
XYZxyz(57.9474, 66.5768, 15.7582)
Luminance0.6657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D947 #4752E4
analogous
#E48A47 #E4D947 #A0E447
triadic
#E4D947 #47E4D9 #D947E4
tetradic
#E4D947 #47E48A #4752E4 #E447A0
square
#E4D947 #47E48A #4752E4 #E447A0
split-complementary
#E4D947 #47A0E4 #8A47E4
monochromatic
#9A9117 #CFC31E #E4D947 #ECE47C #F4EFB2

Accessibility & contrast

On white

1.47
#E4D947 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.32
#E4D947 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D947
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D947#FFFFFF#000000##000000
##E4D9471.001.4714.3214.32
#FFFFFF1.471.0021.0021.00
#00000014.3221.001.001.00
##00000014.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD130
Deuteranopia (green-blind)
#F0D851
Tritanopia (blue-blind)
#F5CBBC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d947;
/* rgb */ color: rgb(228, 217, 71);
/* oklch */ color: oklch(86.9% 0.161 105.0);
Tailwind
colors: {
  custom: {
    50: '#f0e483',
    500: '#e4d947',
    950: '#000000',
  },
}
SCSS
$custom: #e4d947;
$custom-light: #f0e483;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d947",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 71
  },
  "hsl": {
    "h": 55.796,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.86886,
    "c": 0.16065,
    "h": 105
  },
  "luminance": 0.66575
}

Semantic roles & 50–950 ramp

primary
#E4D947
secondary
#32399E
accent
#44F137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E4D947

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

Preview Lab → · Contrast checker → · Palette generator →

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