#E5D54F#E5D54F

#E5D54F is a very light, vivid yellow. Relative luminance 0.648; OKLCH L 86.2% C 0.152 H 102.5°. Best body text is #000000 at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#E5D54F
RGBrgb(229, 213, 79)
HSLhsl(54, 74%, 60%)
HSVhsv(54, 66%, 90%)
CMYKcmyk(0%, 7%, 65.5%, 10.2%)
CIE-LABlab(84.39, -9.78, 65.65)
CIE-LCHlch(84.39, 66.37, 98.47°)
OKLaboklab(86.21% -0.0327 0.148)
OKLCHoklch(86.21% 0.152 102.5)
XYZxyz(57.5210, 64.8134, 16.8760)
Luminance0.6481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D54F #4F5FE5
analogous
#E58A4F #E5D54F #AAE54F
triadic
#E5D54F #4FE5D5 #D54FE5
tetradic
#E5D54F #4FE58A #4F5FE5 #E54FAA
square
#E5D54F #4FE58A #4F5FE5 #E54FAA
split-complementary
#E5D54F #4FAAE5 #8A4FE5
monochromatic
#A29318 #D7C320 #E5D54F #EDE284 #F5EEBA

Accessibility & contrast

On white

1.50
#E5D54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.96
#E5D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D54F
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D54F#FFFFFF#000000##000000
##E5D54F1.001.5013.9613.96
#FFFFFF1.501.0021.0021.00
#00000013.9621.001.001.00
##00000013.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CF3D
Deuteranopia (green-blind)
#ECD657
Tritanopia (blue-blind)
#F6C7B9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e5d54f;
/* rgb */ color: rgb(229, 213, 79);
/* oklch */ color: oklch(86.2% 0.152 102.5);
Tailwind
colors: {
  custom: {
    50: '#f1e187',
    500: '#e5d54f',
    950: '#000000',
  },
}
SCSS
$custom: #e5d54f;
$custom-light: #f1e187;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d54f",
  "rgb": {
    "r": 229,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 53.6,
    "s": 74.257,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86206,
    "c": 0.15162,
    "h": 102.5
  },
  "luminance": 0.64811
}

Semantic roles & 50–950 ramp

primary
#E5D54F
secondary
#3440A4
accent
#24D60F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E5D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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