#E8D966#E8D966

#E8D966 is a very light, vivid yellow. Relative luminance 0.677; OKLCH L 87.5% C 0.137 H 101.9°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#E8D966
RGBrgb(232, 217, 102)
HSLhsl(53, 74%, 65%)
HSVhsv(53, 56%, 91%)
CMYKcmyk(0%, 6.5%, 56%, 9%)
CIE-LABlab(85.88, -9.04, 57.48)
CIE-LCHlch(85.88, 58.19, 98.94°)
OKLaboklab(87.52% -0.0283 0.1337)
OKLCHoklch(87.52% 0.137 101.9)
XYZxyz(60.4919, 67.7431, 22.4571)
Luminance0.6774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D966 #6675E8
analogous
#E89866 #E8D966 #B6E866
triadic
#E8D966 #66E8D9 #D966E8
tetradic
#E8D966 #66E898 #6675E8 #E866B6
square
#E8D966 #66E898 #6675E8 #E866B6
split-complementary
#E8D966 #66B6E8 #9866E8
monochromatic
#B8A61C #E0CC31 #E8D966 #F0E69B #F8F3D0

Accessibility & contrast

On white

1.44
#E8D966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#E8D966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D966
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D966#FFFFFF#000000##000000
##E8D9661.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD35A
Deuteranopia (green-blind)
#EFDA6C
Tritanopia (blue-blind)
#F8CCBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e8d966;
/* rgb */ color: rgb(232, 217, 102);
/* oklch */ color: oklch(87.5% 0.137 101.9);
Tailwind
colors: {
  custom: {
    50: '#f2e495',
    500: '#e8d966',
    950: '#000000',
  },
}
SCSS
$custom: #e8d966;
$custom-light: #f2e495;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d966",
  "rgb": {
    "r": 232,
    "g": 217,
    "b": 102
  },
  "hsl": {
    "h": 53.077,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.87515,
    "c": 0.13665,
    "h": 101.9
  },
  "luminance": 0.67741
}

Semantic roles & 50–950 ramp

primary
#E8D966
secondary
#3A49B8
accent
#26D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D966

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

Preview Lab → · Contrast checker → · Palette generator →

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