#E4DC5C#E4DC5C

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

Color values

HEX#E4DC5C
RGBrgb(228, 220, 92)
HSLhsl(56, 72%, 63%)
HSVhsv(56, 60%, 89%)
CMYKcmyk(0%, 3.5%, 59.6%, 10.6%)
CIE-LABlab(86.23, -12.89, 62.20)
CIE-LCHlch(86.23, 63.52, 101.71°)
OKLaboklab(87.69% -0.0401 0.1426)
OKLCHoklch(87.69% 0.148 105.7)
XYZxyz(59.5219, 68.4551, 20.2009)
Luminance0.6845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC5C #5C64E4
analogous
#E4985C #E4DC5C #A8E45C
triadic
#E4DC5C #5CE4DC #DC5CE4
tetradic
#E4DC5C #5CE498 #5C64E4 #E45CA8
square
#E4DC5C #5CE498 #5C64E4 #E45CA8
split-complementary
#E4DC5C #5CA8E4 #985CE4
monochromatic
#AAA11C #DBD127 #E4DC5C #EDE791 #F5F3C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4DC5C#FFFFFF#000000##000000
##E4DC5C1.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)
#EDD54D
Deuteranopia (green-blind)
#F1DA63
Tritanopia (blue-blind)
#F3CFC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dc5c;
/* rgb */ color: rgb(228, 220, 92);
/* oklch */ color: oklch(87.7% 0.148 105.7);
Tailwind
colors: {
  custom: {
    50: '#efe68f',
    500: '#e4dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc5c;
$custom-light: #efe68f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc5c",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 56.471,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87688,
    "c": 0.14815,
    "h": 105.7
  },
  "luminance": 0.68453
}

Semantic roles & 50–950 ramp

primary
#E4DC5C
secondary
#3940AB
accent
#1DD412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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