#E5DC5F#E5DC5F

#E5DC5F is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.8% C 0.146 H 105.2°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#E5DC5F
RGBrgb(229, 220, 95)
HSLhsl(56, 72%, 64%)
HSVhsv(56, 59%, 90%)
CMYKcmyk(0%, 3.9%, 58.5%, 10.2%)
CIE-LABlab(86.34, -12.27, 61.04)
CIE-LCHlch(86.34, 62.27, 101.37°)
OKLaboklab(87.8% -0.0381 0.1405)
OKLCHoklch(87.8% 0.146 105.2)
XYZxyz(59.9739, 68.6726, 20.9202)
Luminance0.6867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DC5F #5F68E5
analogous
#E5995F #E5DC5F #ABE55F
triadic
#E5DC5F #5FE5DC #DC5FE5
tetradic
#E5DC5F #5FE599 #5F68E5 #E55FAB
square
#E5DC5F #5FE599 #5F68E5 #E55FAB
split-complementary
#E5DC5F #5FABE5 #995FE5
monochromatic
#ADA41C #DCD02A #E5DC5F #EEE894 #F6F3C8

Accessibility & contrast

On white

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

On black

14.73
#E5DC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DC5F
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DC5F#FFFFFF#000000##000000
##E5DC5F1.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5dc5f;
/* rgb */ color: rgb(229, 220, 95);
/* oklch */ color: oklch(87.8% 0.146 105.2);
Tailwind
colors: {
  custom: {
    50: '#f0e691',
    500: '#e5dc5f',
    950: '#000000',
  },
}
SCSS
$custom: #e5dc5f;
$custom-light: #f0e691;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dc5f",
  "rgb": {
    "r": 229,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 55.97,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.87802,
    "c": 0.1456,
    "h": 105.2
  },
  "luminance": 0.68671
}

Semantic roles & 50–950 ramp

primary
#E5DC5F
secondary
#3A41AF
accent
#1ED411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E5DC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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