#E8D54F#E8D54F

#E8D54F is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.5% C 0.152 H 101.2°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#E8D54F
RGBrgb(232, 213, 79)
HSLhsl(53, 77%, 61%)
HSVhsv(53, 66%, 91%)
CMYKcmyk(0%, 8.2%, 65.9%, 9%)
CIE-LABlab(84.64, -8.53, 66.00)
CIE-LCHlch(84.64, 66.55, 97.36°)
OKLaboklab(86.47% -0.0294 0.1487)
OKLCHoklch(86.47% 0.152 101.2)
XYZxyz(58.4867, 65.3113, 16.9212)
Luminance0.6531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D54F #4F62E8
analogous
#E8884F #E8D54F #AEE84F
triadic
#E8D54F #4FE8D5 #D54FE8
tetradic
#E8D54F #4FE888 #4F62E8 #E84FAE
square
#E8D54F #4FE888 #4F62E8 #E84FAE
split-complementary
#E8D54F #4FAEE8 #884FE8
monochromatic
#A79516 #DDC51D #E8D54F #EFE285 #F6EFBB

Accessibility & contrast

On white

1.49
#E8D54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#E8D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D54F
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D54F#FFFFFF#000000##000000
##E8D54F1.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8d54f;
/* rgb */ color: rgb(232, 213, 79);
/* oklch */ color: oklch(86.5% 0.152 101.2);
Tailwind
colors: {
  custom: {
    50: '#f3e187',
    500: '#e8d54f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d54f;
$custom-light: #f3e187;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d54f",
  "rgb": {
    "r": 232,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 52.549,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86471,
    "c": 0.15156,
    "h": 101.2
  },
  "luminance": 0.65309
}

Semantic roles & 50–950 ramp

primary
#E8D54F
secondary
#3341A9
accent
#26D90C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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