#E4D956#E4D956

#E4D956 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.0% C 0.150 H 104.5°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#E4D956
RGBrgb(228, 217, 86)
HSLhsl(55, 72%, 62%)
HSVhsv(55, 62%, 89%)
CMYKcmyk(0%, 4.8%, 62.3%, 10.6%)
CIE-LABlab(85.40, -11.78, 63.83)
CIE-LCHlch(85.40, 64.91, 100.46°)
OKLaboklab(87.01% -0.0376 0.1453)
OKLCHoklch(87.01% 0.15 104.5)
XYZxyz(58.4896, 66.7937, 18.6138)
Luminance0.6679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D956 #5661E4
analogous
#E49256 #E4D956 #A8E456
triadic
#E4D956 #56E4D9 #D956E4
tetradic
#E4D956 #56E492 #5661E4 #E456A8
square
#E4D956 #56E492 #5661E4 #E456A8
split-complementary
#E4D956 #56A8E4 #9256E4
monochromatic
#A59A1A #DACC23 #E4D956 #ECE58B #F5F1C0

Accessibility & contrast

On white

1.46
#E4D956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#E4D956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D956
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D956#FFFFFF#000000##000000
##E4D9561.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD246
Deuteranopia (green-blind)
#EFD85E
Tritanopia (blue-blind)
#F4CBBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d956;
/* rgb */ color: rgb(228, 217, 86);
/* oklch */ color: oklch(87.0% 0.150 104.5);
Tailwind
colors: {
  custom: {
    50: '#f0e48b',
    500: '#e4d956',
    950: '#000000',
  },
}
SCSS
$custom: #e4d956;
$custom-light: #f0e48b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d956",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 55.352,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87008,
    "c": 0.15005,
    "h": 104.5
  },
  "luminance": 0.66792
}

Semantic roles & 50–950 ramp

primary
#E4D956
secondary
#373FA7
accent
#20D511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D956

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

Preview Lab → · Contrast checker → · Palette generator →

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