#E4DC5B#E4DC5B

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

Color values

HEX#E4DC5B
RGBrgb(228, 220, 91)
HSLhsl(56, 72%, 63%)
HSVhsv(56, 60%, 89%)
CMYKcmyk(0%, 3.5%, 60.1%, 10.6%)
CIE-LABlab(86.22, -12.95, 62.61)
CIE-LCHlch(86.22, 63.94, 101.69°)
OKLaboklab(87.68% -0.0404 0.1434)
OKLCHoklch(87.68% 0.149 105.7)
XYZxyz(59.4784, 68.4377, 19.9722)
Luminance0.6844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC5B #5B63E4
analogous
#E4975B #E4DC5B #A8E45B
triadic
#E4DC5B #5BE4DC #DC5BE4
tetradic
#E4DC5B #5BE497 #5B63E4 #E45BA8
square
#E4DC5B #5BE497 #5B63E4 #E45BA8
split-complementary
#E4DC5B #5BA8E4 #975BE4
monochromatic
#A9A11C #DBD126 #E4DC5B #EDE790 #F5F2C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4DC5B#FFFFFF#000000##000000
##E4DC5B1.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)
#EDD54C
Deuteranopia (green-blind)
#F1DA62
Tritanopia (blue-blind)
#F3CFC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dc5b;
/* rgb */ color: rgb(228, 220, 91);
/* oklch */ color: oklch(87.7% 0.149 105.7);
Tailwind
colors: {
  custom: {
    50: '#efe68e',
    500: '#e4dc5b',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc5b;
$custom-light: #efe68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc5b",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 91
  },
  "hsl": {
    "h": 56.496,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87678,
    "c": 0.14895,
    "h": 105.7
  },
  "luminance": 0.68436
}

Semantic roles & 50–950 ramp

primary
#E4DC5B
secondary
#393FAB
accent
#1DD412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4DC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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