#E7D666#E7D666

#E7D666 is a very light, vivid yellow. Relative luminance 0.660; OKLCH L 86.8% C 0.134 H 100.8°. Best body text is #000000 at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#E7D666
RGBrgb(231, 214, 102)
HSLhsl(52, 73%, 65%)
HSVhsv(52, 56%, 91%)
CMYKcmyk(0%, 7.4%, 55.8%, 9.4%)
CIE-LABlab(85.02, -7.94, 56.48)
CIE-LCHlch(85.02, 57.04, 98.00°)
OKLaboklab(86.81% -0.025 0.1316)
OKLCHoklch(86.81% 0.134 100.8)
XYZxyz(59.4019, 66.0436, 22.1865)
Luminance0.6604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D666 #6677E7
analogous
#E79566 #E7D666 #B7E766
triadic
#E7D666 #66E7D6 #D666E7
tetradic
#E7D666 #66E795 #6677E7 #E766B7
square
#E7D666 #66E795 #6677E7 #E766B7
split-complementary
#E7D666 #66B7E7 #9566E7
monochromatic
#B6A21D #DFC831 #E7D666 #EFE49B #F8F2D0

Accessibility & contrast

On white

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

On black

14.21
#E7D666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D666
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D666#FFFFFF#000000##000000
##E7D6661.001.4814.2114.21
#FFFFFF1.481.0021.0021.00
#00000014.2121.001.001.00
##00000014.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#ECD76B
Tritanopia (blue-blind)
#F7C9BD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d666;
/* rgb */ color: rgb(231, 214, 102);
/* oklch */ color: oklch(86.8% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#f1e295',
    500: '#e7d666',
    950: '#000000',
  },
}
SCSS
$custom: #e7d666;
$custom-light: #f1e295;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d666",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 102
  },
  "hsl": {
    "h": 52.093,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.86813,
    "c": 0.13391,
    "h": 100.8
  },
  "luminance": 0.66041
}

Semantic roles & 50–950 ramp

primary
#E7D666
secondary
#3B4BB6
accent
#2AD511
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7D666

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

Preview Lab → · Contrast checker → · Palette generator →

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