#E8D74F#E8D74F

#E8D74F is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.153 H 102.1°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E8D74F
RGBrgb(232, 215, 79)
HSLhsl(53, 77%, 61%)
HSVhsv(53, 66%, 91%)
CMYKcmyk(0%, 7.3%, 65.9%, 9%)
CIE-LABlab(85.16, -9.54, 66.53)
CIE-LCHlch(85.16, 67.21, 98.16°)
OKLaboklab(86.88% -0.0322 0.1498)
OKLCHoklch(86.88% 0.153 102.1)
XYZxyz(58.9929, 66.3236, 17.0899)
Luminance0.6632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D74F #4F60E8
analogous
#E88A4F #E8D74F #ACE84F
triadic
#E8D74F #4FE8D7 #D74FE8
tetradic
#E8D74F #4FE88A #4F60E8 #E84FAC
square
#E8D74F #4FE88A #4F60E8 #E84FAC
split-complementary
#E8D74F #4FACE8 #8A4FE8
monochromatic
#A79716 #DDC81D #E8D74F #EFE385 #F6F0BB

Accessibility & contrast

On white

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

On black

14.26
#E8D74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D74F
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D74F#FFFFFF#000000##000000
##E8D74F1.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8d74f;
/* rgb */ color: rgb(232, 215, 79);
/* oklch */ color: oklch(86.9% 0.153 102.1);
Tailwind
colors: {
  custom: {
    50: '#f3e387',
    500: '#e8d74f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d74f;
$custom-light: #f3e387;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d74f",
  "rgb": {
    "r": 232,
    "g": 215,
    "b": 79
  },
  "hsl": {
    "h": 53.333,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86882,
    "c": 0.15325,
    "h": 102.1
  },
  "luminance": 0.66321
}

Semantic roles & 50–950 ramp

primary
#E8D74F
secondary
#3340A9
accent
#23D90C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D74F

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

Preview Lab → · Contrast checker → · Palette generator →

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