#E4D856#E4D856

#E4D856 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.8% C 0.149 H 104.0°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E4D856
RGBrgb(228, 216, 86)
HSLhsl(55, 72%, 62%)
HSVhsv(55, 62%, 89%)
CMYKcmyk(0%, 5.3%, 62.3%, 10.6%)
CIE-LABlab(85.14, -11.28, 63.55)
CIE-LCHlch(85.14, 64.54, 100.06°)
OKLaboklab(86.8% -0.0362 0.1447)
OKLCHoklch(86.8% 0.149 104)
XYZxyz(58.2326, 66.2797, 18.5281)
Luminance0.6628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D856 #5662E4
analogous
#E49156 #E4D856 #A9E456
triadic
#E4D856 #56E4D8 #D856E4
tetradic
#E4D856 #56E491 #5662E4 #E456A9
square
#E4D856 #56E491 #5662E4 #E456A9
split-complementary
#E4D856 #56A9E4 #9156E4
monochromatic
#A5991A #DACB23 #E4D856 #ECE48B #F5F0C0

Accessibility & contrast

On white

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

On black

14.26
#E4D856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D856
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D856#FFFFFF#000000##000000
##E4D8561.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD146
Deuteranopia (green-blind)
#EED85D
Tritanopia (blue-blind)
#F4CABD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d856;
/* rgb */ color: rgb(228, 216, 86);
/* oklch */ color: oklch(86.8% 0.149 104.0);
Tailwind
colors: {
  custom: {
    50: '#f0e38b',
    500: '#e4d856',
    950: '#000000',
  },
}
SCSS
$custom: #e4d856;
$custom-light: #f0e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d856",
  "rgb": {
    "r": 228,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 54.93,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.86801,
    "c": 0.14913,
    "h": 104
  },
  "luminance": 0.66278
}

Semantic roles & 50–950 ramp

primary
#E4D856
secondary
#3740A7
accent
#22D511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D856

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

Preview Lab → · Contrast checker → · Palette generator →

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