#E5D04F#E5D04F

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

Color values

HEX#E5D04F
RGBrgb(229, 208, 79)
HSLhsl(52, 74%, 60%)
HSVhsv(52, 66%, 90%)
CMYKcmyk(0%, 9.2%, 65.5%, 10.2%)
CIE-LABlab(83.09, -7.25, 64.30)
CIE-LCHlch(83.09, 64.71, 96.43°)
OKLaboklab(85.18% -0.0255 0.1452)
OKLCHoklch(85.18% 0.147 100)
XYZxyz(56.2827, 62.3368, 16.4632)
Luminance0.6233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D04F #4F64E5
analogous
#E5854F #E5D04F #AFE54F
triadic
#E5D04F #4FE5D0 #D04FE5
tetradic
#E5D04F #4FE585 #4F64E5 #E54FAF
square
#E5D04F #4FE585 #4F64E5 #E54FAF
split-complementary
#E5D04F #4FAFE5 #854FE5
monochromatic
#A28E18 #D7BD20 #E5D04F #EDDE84 #F5ECBA

Accessibility & contrast

On white

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

On black

13.47
#E5D04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D04F
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D04F#FFFFFF#000000##000000
##E5D04F1.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CA3E
Deuteranopia (green-blind)
#E9D256
Tritanopia (blue-blind)
#F6C2B5
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e5d04f;
/* rgb */ color: rgb(229, 208, 79);
/* oklch */ color: oklch(85.2% 0.147 100.0);
Tailwind
colors: {
  custom: {
    50: '#f1de86',
    500: '#e5d04f',
    950: '#000000',
  },
}
SCSS
$custom: #e5d04f;
$custom-light: #f1de86;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d04f",
  "rgb": {
    "r": 229,
    "g": 208,
    "b": 79
  },
  "hsl": {
    "h": 51.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85178,
    "c": 0.14742,
    "h": 100
  },
  "luminance": 0.62334
}

Semantic roles & 50–950 ramp

primary
#E5D04F
secondary
#3444A4
accent
#2BD60F
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D04F

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

Preview Lab → · Contrast checker → · Palette generator →

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