#E4DC5D#E4DC5D

#E4DC5D is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.7% C 0.147 H 105.7°. Best body text is #000000 at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#E4DC5D
RGBrgb(228, 220, 93)
HSLhsl(56, 71%, 63%)
HSVhsv(56, 59%, 89%)
CMYKcmyk(0%, 3.5%, 59.2%, 10.6%)
CIE-LABlab(86.24, -12.82, 61.78)
CIE-LCHlch(86.24, 63.09, 101.72°)
OKLaboklab(87.7% -0.0398 0.1419)
OKLCHoklch(87.7% 0.147 105.7)
XYZxyz(59.5659, 68.4727, 20.4327)
Luminance0.6847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC5D #5D65E4
analogous
#E4985D #E4DC5D #A9E45D
triadic
#E4DC5D #5DE4DC #DC5DE4
tetradic
#E4DC5D #5DE498 #5D65E4 #E45DA9
square
#E4DC5D #5DE498 #5D65E4 #E45DA9
split-complementary
#E4DC5D #5DA9E4 #985DE4
monochromatic
#AAA21C #DBD129 #E4DC5D #EDE791 #F5F3C6

Accessibility & contrast

On white

1.43
#E4DC5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.69
#E4DC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC5D
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC5D#FFFFFF#000000##000000
##E4DC5D1.001.4314.6914.69
#FFFFFF1.431.0021.0021.00
#00000014.6921.001.001.00
##00000014.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD54F
Deuteranopia (green-blind)
#F1DA64
Tritanopia (blue-blind)
#F3CFC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dc5d;
/* rgb */ color: rgb(228, 220, 93);
/* oklch */ color: oklch(87.7% 0.147 105.7);
Tailwind
colors: {
  custom: {
    50: '#efe690',
    500: '#e4dc5d',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc5d;
$custom-light: #efe690;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc5d",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 93
  },
  "hsl": {
    "h": 56.444,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87698,
    "c": 0.14734,
    "h": 105.7
  },
  "luminance": 0.68471
}

Semantic roles & 50–950 ramp

primary
#E4DC5D
secondary
#3940AC
accent
#1DD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4DC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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