#E8D766#E8D766

#E8D766 is a very light, vivid yellow. Relative luminance 0.667; OKLCH L 87.1% C 0.135 H 100.8°. Best body text is #000000 at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#E8D766
RGBrgb(232, 215, 102)
HSLhsl(52, 74%, 65%)
HSVhsv(52, 56%, 91%)
CMYKcmyk(0%, 7.3%, 56%, 9%)
CIE-LABlab(85.36, -8.03, 56.90)
CIE-LCHlch(85.36, 57.46, 98.04°)
OKLaboklab(87.11% -0.0254 0.1324)
OKLCHoklch(87.11% 0.135 100.8)
XYZxyz(59.9795, 66.7183, 22.2863)
Luminance0.6672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D766 #6677E8
analogous
#E89666 #E8D766 #B8E866
triadic
#E8D766 #66E8D7 #D766E8
tetradic
#E8D766 #66E896 #6677E8 #E866B8
square
#E8D766 #66E896 #6677E8 #E866B8
split-complementary
#E8D766 #66B8E8 #9666E8
monochromatic
#B8A41C #E0C931 #E8D766 #F0E59B #F8F3D0

Accessibility & contrast

On white

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

On black

14.34
#E8D766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D766
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D766#FFFFFF#000000##000000
##E8D7661.001.4614.3414.34
#FFFFFF1.461.0021.0021.00
#00000014.3421.001.001.00
##00000014.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D15B
Deuteranopia (green-blind)
#EED86B
Tritanopia (blue-blind)
#F8CABE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e8d766;
/* rgb */ color: rgb(232, 215, 102);
/* oklch */ color: oklch(87.1% 0.135 100.8);
Tailwind
colors: {
  custom: {
    50: '#f2e395',
    500: '#e8d766',
    950: '#000000',
  },
}
SCSS
$custom: #e8d766;
$custom-light: #f2e395;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d766",
  "rgb": {
    "r": 232,
    "g": 215,
    "b": 102
  },
  "hsl": {
    "h": 52.154,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.87105,
    "c": 0.13483,
    "h": 100.8
  },
  "luminance": 0.66716
}

Semantic roles & 50–950 ramp

primary
#E8D766
secondary
#3A4BB8
accent
#29D610
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8D766

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

Preview Lab → · Contrast checker → · Palette generator →

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