#E4D955#E4D955

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

Color values

HEX#E4D955
RGBrgb(228, 217, 85)
HSLhsl(55, 73%, 61%)
HSVhsv(55, 63%, 89%)
CMYKcmyk(0%, 4.8%, 62.7%, 10.6%)
CIE-LABlab(85.39, -11.84, 64.23)
CIE-LCHlch(85.39, 65.32, 100.44°)
OKLaboklab(87% -0.0379 0.146)
OKLCHoklch(87% 0.151 104.6)
XYZxyz(58.4496, 66.7777, 18.4031)
Luminance0.6678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D955 #5560E4
analogous
#E49255 #E4D955 #A8E455
triadic
#E4D955 #55E4D9 #D955E4
tetradic
#E4D955 #55E492 #5560E4 #E455A8
square
#E4D955 #55E492 #5560E4 #E455A8
split-complementary
#E4D955 #55A8E4 #9255E4
monochromatic
#A49A1A #D9CB23 #E4D955 #ECE58A #F5F1BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4D955#FFFFFF#000000##000000
##E4D9551.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)
#EBD245
Deuteranopia (green-blind)
#EFD85D
Tritanopia (blue-blind)
#F4CBBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d955;
/* rgb */ color: rgb(228, 217, 85);
/* oklch */ color: oklch(87.0% 0.151 104.6);
Tailwind
colors: {
  custom: {
    50: '#f0e48b',
    500: '#e4d955',
    950: '#000000',
  },
}
SCSS
$custom: #e4d955;
$custom-light: #f0e48b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d955",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 85
  },
  "hsl": {
    "h": 55.385,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.86999,
    "c": 0.15082,
    "h": 104.6
  },
  "luminance": 0.66776
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4D955

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

Preview Lab → · Contrast checker → · Palette generator →

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