#E8D74A#E8D74A

#E8D74A is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.8% C 0.157 H 102.3°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#E8D74A
RGBrgb(232, 215, 74)
HSLhsl(54, 77%, 60%)
HSVhsv(54, 68%, 91%)
CMYKcmyk(0%, 7.3%, 68.1%, 9%)
CIE-LABlab(85.13, -9.80, 68.45)
CIE-LCHlch(85.13, 69.15, 98.15°)
OKLaboklab(86.84% -0.0335 0.1531)
OKLCHoklch(86.84% 0.157 102.3)
XYZxyz(58.8177, 66.2536, 16.1673)
Luminance0.6625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D74A #4A5BE8
analogous
#E8884A #E8D74A #AAE84A
triadic
#E8D74A #4AE8D7 #D74AE8
tetradic
#E8D74A #4AE888 #4A5BE8 #E84AAA
square
#E8D74A #4AE888 #4A5BE8 #E84AAA
split-complementary
#E8D74A #4AAAE8 #884AE8
monochromatic
#A39415 #D9C51C #E8D74A #EFE380 #F6EFB7

Accessibility & contrast

On white

1.47
#E8D74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#E8D74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D74A
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D74A#FFFFFF#000000##000000
##E8D74A1.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD035
Deuteranopia (green-blind)
#EFD853
Tritanopia (blue-blind)
#F9C8BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e8d74a;
/* rgb */ color: rgb(232, 215, 74);
/* oklch */ color: oklch(86.8% 0.157 102.3);
Tailwind
colors: {
  custom: {
    50: '#f3e384',
    500: '#e8d74a',
    950: '#000000',
  },
}
SCSS
$custom: #e8d74a;
$custom-light: #f3e384;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d74a",
  "rgb": {
    "r": 232,
    "g": 215,
    "b": 74
  },
  "hsl": {
    "h": 53.544,
    "s": 77.451,
    "l": 60
  },
  "oklch": {
    "l": 0.86842,
    "c": 0.15669,
    "h": 102.3
  },
  "luminance": 0.66251
}

Semantic roles & 50–950 ramp

primary
#E8D74A
secondary
#313EA5
accent
#49F434
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E8D74A

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

Preview Lab → · Contrast checker → · Palette generator →

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