#E5DC5A#E5DC5A

#E5DC5A is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.8% C 0.150 H 105.3°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#E5DC5A
RGBrgb(229, 220, 90)
HSLhsl(56, 73%, 63%)
HSVhsv(56, 61%, 90%)
CMYKcmyk(0%, 3.9%, 60.7%, 10.2%)
CIE-LABlab(86.30, -12.61, 63.14)
CIE-LCHlch(86.30, 64.39, 101.29°)
OKLaboklab(87.75% -0.0396 0.1443)
OKLCHoklch(87.75% 0.15 105.3)
XYZxyz(59.7538, 68.5846, 19.7615)
Luminance0.6858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DC5A #5A63E5
analogous
#E5965A #E5DC5A #A9E55A
triadic
#E5DC5A #5AE5DC #DC5AE5
tetradic
#E5DC5A #5AE596 #5A63E5 #E55AA9
square
#E5DC5A #5AE596 #5A63E5 #E55AA9
split-complementary
#E5DC5A #5AA9E5 #965AE5
monochromatic
#AAA11B #DDD125 #E5DC5A #EDE78F #F6F2C4

Accessibility & contrast

On white

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

On black

14.72
#E5DC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DC5A
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DC5A#FFFFFF#000000##000000
##E5DC5A1.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54B
Deuteranopia (green-blind)
#F1DB61
Tritanopia (blue-blind)
#F5CEC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e5dc5a;
/* rgb */ color: rgb(229, 220, 90);
/* oklch */ color: oklch(87.8% 0.150 105.3);
Tailwind
colors: {
  custom: {
    50: '#f0e68e',
    500: '#e5dc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e5dc5a;
$custom-light: #f0e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dc5a",
  "rgb": {
    "r": 229,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 56.115,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87753,
    "c": 0.14967,
    "h": 105.3
  },
  "luminance": 0.68583
}

Semantic roles & 50–950 ramp

primary
#E5DC5A
secondary
#383FAB
accent
#1DD511
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5DC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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