#E4DC5F#E4DC5F

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

Color values

HEX#E4DC5F
RGBrgb(228, 220, 95)
HSLhsl(56, 71%, 63%)
HSVhsv(56, 58%, 89%)
CMYKcmyk(0%, 3.5%, 58.3%, 10.6%)
CIE-LABlab(86.26, -12.68, 60.93)
CIE-LCHlch(86.26, 62.24, 101.76°)
OKLaboklab(87.72% -0.0392 0.1403)
OKLCHoklch(87.72% 0.146 105.6)
XYZxyz(59.6556, 68.5086, 20.9053)
Luminance0.6851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC5F #5F67E4
analogous
#E4995F #E4DC5F #A9E45F
triadic
#E4DC5F #5FE4DC #DC5FE4
tetradic
#E4DC5F #5FE499 #5F67E4 #E45FA9
square
#E4DC5F #5FE499 #5F67E4 #E45FA9
split-complementary
#E4DC5F #5FA9E4 #995FE4
monochromatic
#ACA31D #DBD12B #E4DC5F #EDE793 #F6F3C8

Accessibility & contrast

On white

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

On black

14.70
#E4DC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC5F
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC5F#FFFFFF#000000##000000
##E4DC5F1.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4dc5f;
/* rgb */ color: rgb(228, 220, 95);
/* oklch */ color: oklch(87.7% 0.146 105.6);
Tailwind
colors: {
  custom: {
    50: '#efe691',
    500: '#e4dc5f',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc5f;
$custom-light: #efe691;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc5f",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 56.391,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87718,
    "c": 0.14568,
    "h": 105.6
  },
  "luminance": 0.68507
}

Semantic roles & 50–950 ramp

primary
#E4DC5F
secondary
#3A41AD
accent
#1ED312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4DC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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