#E5D04E#E5D04E

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

Color values

HEX#E5D04E
RGBrgb(229, 208, 78)
HSLhsl(52, 74%, 60%)
HSVhsv(52, 66%, 90%)
CMYKcmyk(0%, 9.2%, 65.9%, 10.2%)
CIE-LABlab(83.08, -7.31, 64.70)
CIE-LCHlch(83.08, 65.11, 96.44°)
OKLaboklab(85.17% -0.0258 0.1459)
OKLCHoklch(85.17% 0.148 100)
XYZxyz(56.2466, 62.3223, 16.2729)
Luminance0.6232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D04E #4E63E5
analogous
#E5854E #E5D04E #AEE54E
triadic
#E5D04E #4EE5D0 #D04EE5
tetradic
#E5D04E #4EE585 #4E63E5 #E54EAE
square
#E5D04E #4EE585 #4E63E5 #E54EAE
split-complementary
#E5D04E #4EAEE5 #854EE5
monochromatic
#A18E18 #D6BD1F #E5D04E #EDDE83 #F5ECB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5D04E#FFFFFF#000000##000000
##E5D04E1.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)
#E3CA3D
Deuteranopia (green-blind)
#E9D255
Tritanopia (blue-blind)
#F6C2B5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e5d04e;
/* rgb */ color: rgb(229, 208, 78);
/* oklch */ color: oklch(85.2% 0.148 100.0);
Tailwind
colors: {
  custom: {
    50: '#f1de86',
    500: '#e5d04e',
    950: '#000000',
  },
}
SCSS
$custom: #e5d04e;
$custom-light: #f1de86;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d04e",
  "rgb": {
    "r": 229,
    "g": 208,
    "b": 78
  },
  "hsl": {
    "h": 51.656,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.85169,
    "c": 0.14815,
    "h": 100
  },
  "luminance": 0.6232
}

Semantic roles & 50–950 ramp

primary
#E5D04E
secondary
#3443A4
accent
#2BD70F
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D04E

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

Preview Lab → · Contrast checker → · Palette generator →

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