#E5D04C#E5D04C

#E5D04C is a very light, vivid yellow. Relative luminance 0.623; OKLCH L 85.2% C 0.150 H 100.1°. Best body text is #000000 at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#E5D04C
RGBrgb(229, 208, 76)
HSLhsl(52, 75%, 60%)
HSVhsv(52, 67%, 90%)
CMYKcmyk(0%, 9.2%, 66.8%, 10.2%)
CIE-LABlab(83.07, -7.42, 65.49)
CIE-LCHlch(83.07, 65.91, 96.46°)
OKLaboklab(85.15% -0.0263 0.1472)
OKLCHoklch(85.15% 0.15 100.1)
XYZxyz(56.1759, 62.2941, 15.9010)
Luminance0.6229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D04C #4C61E5
analogous
#E5844C #E5D04C #ADE54C
triadic
#E5D04C #4CE5D0 #D04CE5
tetradic
#E5D04C #4CE584 #4C61E5 #E54CAD
square
#E5D04C #4CE584 #4C61E5 #E54CAD
split-complementary
#E5D04C #4CADE5 #844CE5
monochromatic
#9F8D17 #D5BC1F #E5D04C #EDDE81 #F5ECB7

Accessibility & contrast

On white

1.56
#E5D04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.46
#E5D04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D04C
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D04C#FFFFFF#000000##000000
##E5D04C1.001.5613.4613.46
#FFFFFF1.561.0021.0021.00
#00000013.4621.001.001.00
##00000013.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3A
Deuteranopia (green-blind)
#E9D254
Tritanopia (blue-blind)
#F6C1B5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e5d04c;
/* rgb */ color: rgb(229, 208, 76);
/* oklch */ color: oklch(85.2% 0.150 100.1);
Tailwind
colors: {
  custom: {
    50: '#f1de85',
    500: '#e5d04c',
    950: '#000000',
  },
}
SCSS
$custom: #e5d04c;
$custom-light: #f1de85;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d04c",
  "rgb": {
    "r": 229,
    "g": 208,
    "b": 76
  },
  "hsl": {
    "h": 51.765,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85153,
    "c": 0.14957,
    "h": 100.1
  },
  "luminance": 0.62292
}

Semantic roles & 50–950 ramp

primary
#E5D04C
secondary
#3342A2
accent
#50F137
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E5D04C

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

Preview Lab → · Contrast checker → · Palette generator →

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