#E4DC5A#E4DC5A

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

Color values

HEX#E4DC5A
RGBrgb(228, 220, 90)
HSLhsl(57, 72%, 62%)
HSVhsv(57, 61%, 89%)
CMYKcmyk(0%, 3.5%, 60.5%, 10.6%)
CIE-LABlab(86.22, -13.02, 63.03)
CIE-LCHlch(86.22, 64.36, 101.67°)
OKLaboklab(87.67% -0.0407 0.1441)
OKLCHoklch(87.67% 0.15 105.8)
XYZxyz(59.4356, 68.4205, 19.7465)
Luminance0.6842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC5A #5A62E4
analogous
#E4975A #E4DC5A #A7E45A
triadic
#E4DC5A #5AE4DC #DC5AE4
tetradic
#E4DC5A #5AE497 #5A62E4 #E45AA7
square
#E4DC5A #5AE497 #5A62E4 #E45AA7
split-complementary
#E4DC5A #5AA7E4 #975AE4
monochromatic
#A8A01C #DBD125 #E4DC5A #EDE78F #F5F2C3

Accessibility & contrast

On white

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

On black

14.68
#E4DC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC5A
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC5A#FFFFFF#000000##000000
##E4DC5A1.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44B
Deuteranopia (green-blind)
#F1DA61
Tritanopia (blue-blind)
#F4CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dc5a;
/* rgb */ color: rgb(228, 220, 90);
/* oklch */ color: oklch(87.7% 0.150 105.8);
Tailwind
colors: {
  custom: {
    50: '#efe68e',
    500: '#e4dc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc5a;
$custom-light: #efe68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc5a",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 56.522,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87669,
    "c": 0.14975,
    "h": 105.8
  },
  "luminance": 0.68419
}

Semantic roles & 50–950 ramp

primary
#E4DC5A
secondary
#383FAA
accent
#1DD412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4DC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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