#E8D76F#E8D76F

#E8D76F is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.2% C 0.127 H 100.2°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#E8D76F
RGBrgb(232, 215, 111)
HSLhsl(52, 72%, 67%)
HSVhsv(52, 52%, 91%)
CMYKcmyk(0%, 7.3%, 52.2%, 9%)
CIE-LABlab(85.46, -7.33, 52.84)
CIE-LCHlch(85.46, 53.35, 97.89°)
OKLaboklab(87.21% -0.0224 0.1246)
OKLCHoklch(87.21% 0.127 100.2)
XYZxyz(60.4503, 66.9066, 24.7659)
Luminance0.6690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D76F #6F80E8
analogous
#E89A6F #E8D76F #BDE86F
triadic
#E8D76F #6FE8D7 #D76FE8
tetradic
#E8D76F #6FE89A #6F80E8 #E86FBD
square
#E8D76F #6FE89A #6F80E8 #E86FBD
split-complementary
#E8D76F #6FBDE8 #9A6FE8
monochromatic
#BEA81E #E0C83A #E8D76F #F0E6A4 #F9F4D9

Accessibility & contrast

On white

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

On black

14.38
#E8D76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D76F
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D76F#FFFFFF#000000##000000
##E8D76F1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D265
Deuteranopia (green-blind)
#EDD974
Tritanopia (blue-blind)
#F7CABF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d76f;
/* rgb */ color: rgb(232, 215, 111);
/* oklch */ color: oklch(87.2% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#f2e39b',
    500: '#e8d76f',
    950: '#000000',
  },
}
SCSS
$custom: #e8d76f;
$custom-light: #f2e39b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d76f",
  "rgb": {
    "r": 232,
    "g": 215,
    "b": 111
  },
  "hsl": {
    "h": 51.57,
    "s": 72.455,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87211,
    "c": 0.12655,
    "h": 100.2
  },
  "luminance": 0.66904
}

Semantic roles & 50–950 ramp

primary
#E8D76F
secondary
#3E50BD
accent
#2CD511
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D76F

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

Preview Lab → · Contrast checker → · Palette generator →

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