#E8D84F#E8D84F

#E8D84F is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.1% C 0.154 H 102.6°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#E8D84F
RGBrgb(232, 216, 79)
HSLhsl(54, 77%, 61%)
HSVhsv(54, 66%, 91%)
CMYKcmyk(0%, 6.9%, 65.9%, 9%)
CIE-LABlab(85.42, -10.04, 66.80)
CIE-LCHlch(85.42, 67.55, 98.55°)
OKLaboklab(87.09% -0.0336 0.1504)
OKLCHoklch(87.09% 0.154 102.6)
XYZxyz(59.2483, 66.8345, 17.1751)
Luminance0.6683 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D84F #4F5FE8
analogous
#E88B4F #E8D84F #ACE84F
triadic
#E8D84F #4FE8D8 #D84FE8
tetradic
#E8D84F #4FE88B #4F5FE8 #E84FAC
square
#E8D84F #4FE88B #4F5FE8 #E84FAC
split-complementary
#E8D84F #4FACE8 #8B4FE8
monochromatic
#A79816 #DDC91D #E8D84F #EFE485 #F6F0BB

Accessibility & contrast

On white

1.46
#E8D84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#E8D84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D84F
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D84F#FFFFFF#000000##000000
##E8D84F1.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13D
Deuteranopia (green-blind)
#F0D957
Tritanopia (blue-blind)
#F9CABC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e8d84f;
/* rgb */ color: rgb(232, 216, 79);
/* oklch */ color: oklch(87.1% 0.154 102.6);
Tailwind
colors: {
  custom: {
    50: '#f3e387',
    500: '#e8d84f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d84f;
$custom-light: #f3e387;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d84f",
  "rgb": {
    "r": 232,
    "g": 216,
    "b": 79
  },
  "hsl": {
    "h": 53.725,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.87088,
    "c": 0.15411,
    "h": 102.6
  },
  "luminance": 0.66832
}

Semantic roles & 50–950 ramp

primary
#E8D84F
secondary
#333FA9
accent
#22D90C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D84F

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

Preview Lab → · Contrast checker → · Palette generator →

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