#E8D64F#E8D64F

#E8D64F is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.7% C 0.152 H 101.7°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#E8D64F
RGBrgb(232, 214, 79)
HSLhsl(53, 77%, 61%)
HSVhsv(53, 66%, 91%)
CMYKcmyk(0%, 7.8%, 65.9%, 9%)
CIE-LABlab(84.90, -9.03, 66.26)
CIE-LCHlch(84.90, 66.88, 97.76°)
OKLaboklab(86.68% -0.0308 0.1493)
OKLCHoklch(86.68% 0.152 101.7)
XYZxyz(58.7390, 65.8159, 17.0053)
Luminance0.6581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D64F #4F61E8
analogous
#E8894F #E8D64F #ADE84F
triadic
#E8D64F #4FE8D6 #D64FE8
tetradic
#E8D64F #4FE889 #4F61E8 #E84FAD
square
#E8D64F #4FE889 #4F61E8 #E84FAD
split-complementary
#E8D64F #4FADE8 #894FE8
monochromatic
#A79616 #DDC61D #E8D64F #EFE385 #F6EFBB

Accessibility & contrast

On white

1.48
#E8D64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#E8D64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D64F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D64F#FFFFFF#000000##000000
##E8D64F1.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D03D
Deuteranopia (green-blind)
#EED757
Tritanopia (blue-blind)
#F9C7BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e8d64f;
/* rgb */ color: rgb(232, 214, 79);
/* oklch */ color: oklch(86.7% 0.152 101.7);
Tailwind
colors: {
  custom: {
    50: '#f3e287',
    500: '#e8d64f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d64f;
$custom-light: #f3e287;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d64f",
  "rgb": {
    "r": 232,
    "g": 214,
    "b": 79
  },
  "hsl": {
    "h": 52.941,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.86676,
    "c": 0.1524,
    "h": 101.7
  },
  "luminance": 0.65813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E8D64F

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

Preview Lab → · Contrast checker → · Palette generator →

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