#E5DC4C#E5DC4C

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

Color values

HEX#E5DC4C
RGBrgb(229, 220, 76)
HSLhsl(56, 75%, 60%)
HSVhsv(56, 67%, 90%)
CMYKcmyk(0%, 3.9%, 66.8%, 10.2%)
CIE-LABlab(86.19, -13.44, 68.68)
CIE-LCHlch(86.19, 69.98, 101.07°)
OKLaboklab(87.63% -0.0434 0.154)
OKLCHoklch(87.63% 0.16 105.8)
XYZxyz(59.2131, 68.3683, 16.9134)
Luminance0.6837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DC4C #4C55E5
analogous
#E5904C #E5DC4C #A1E54C
triadic
#E5DC4C #4CE5DC #DC4CE5
tetradic
#E5DC4C #4CE590 #4C55E5 #E54CA1
square
#E5DC4C #4CE590 #4C55E5 #E54CA1
split-complementary
#E5DC4C #4CA1E5 #904CE5
monochromatic
#9F9717 #D5CA1F #E5DC4C #EDE681 #F5F1B7

Accessibility & contrast

On white

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

On black

14.67
#E5DC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DC4C
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DC4C#FFFFFF#000000##000000
##E5DC4C1.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED437
Deuteranopia (green-blind)
#F2DA55
Tritanopia (blue-blind)
#F5CEBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e5dc4c;
/* rgb */ color: rgb(229, 220, 76);
/* oklch */ color: oklch(87.6% 0.160 105.8);
Tailwind
colors: {
  custom: {
    50: '#f1e686',
    500: '#e5dc4c',
    950: '#000000',
  },
}
SCSS
$custom: #e5dc4c;
$custom-light: #f1e686;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dc4c",
  "rgb": {
    "r": 229,
    "g": 220,
    "b": 76
  },
  "hsl": {
    "h": 56.471,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87633,
    "c": 0.15997,
    "h": 105.8
  },
  "luminance": 0.68366
}

Semantic roles & 50–950 ramp

primary
#E5DC4C
secondary
#3339A2
accent
#42F137
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5DC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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