#E7D866#E7D866

#E7D866 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.2% C 0.136 H 101.9°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#E7D866
RGBrgb(231, 216, 102)
HSLhsl(53, 73%, 65%)
HSVhsv(53, 56%, 91%)
CMYKcmyk(0%, 6.5%, 55.8%, 9.4%)
CIE-LABlab(85.54, -8.95, 57.07)
CIE-LCHlch(85.54, 57.77, 98.91°)
OKLaboklab(87.22% -0.0279 0.1328)
OKLCHoklch(87.22% 0.136 101.9)
XYZxyz(59.9112, 67.0622, 22.3562)
Luminance0.6706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D866 #6675E7
analogous
#E79766 #E7D866 #B6E766
triadic
#E7D866 #66E7D8 #D866E7
tetradic
#E7D866 #66E797 #6675E7 #E766B6
square
#E7D866 #66E797 #6675E7 #E766B6
split-complementary
#E7D866 #66B6E7 #9766E7
monochromatic
#B6A41D #DFCB31 #E7D866 #EFE59B #F8F3D0

Accessibility & contrast

On white

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

On black

14.41
#E7D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D866
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D866#FFFFFF#000000##000000
##E7D8661.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25B
Deuteranopia (green-blind)
#EED96C
Tritanopia (blue-blind)
#F7CBBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e7d866;
/* rgb */ color: rgb(231, 216, 102);
/* oklch */ color: oklch(87.2% 0.136 101.9);
Tailwind
colors: {
  custom: {
    50: '#f1e395',
    500: '#e7d866',
    950: '#000000',
  },
}
SCSS
$custom: #e7d866;
$custom-light: #f1e395;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d866",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 53.023,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.87223,
    "c": 0.13573,
    "h": 101.9
  },
  "luminance": 0.6706
}

Semantic roles & 50–950 ramp

primary
#E7D866
secondary
#3B49B6
accent
#27D511
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D866

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

Preview Lab → · Contrast checker → · Palette generator →

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