#E7D66A#E7D66A

#E7D66A is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.9% C 0.130 H 100.5°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#E7D66A
RGBrgb(231, 214, 106)
HSLhsl(52, 72%, 66%)
HSVhsv(52, 54%, 91%)
CMYKcmyk(0%, 7.4%, 54.1%, 9.4%)
CIE-LABlab(85.06, -7.63, 54.69)
CIE-LCHlch(85.06, 55.22, 97.94°)
OKLaboklab(86.86% -0.0237 0.1281)
OKLCHoklch(86.86% 0.13 100.5)
XYZxyz(59.6051, 66.1249, 23.2565)
Luminance0.6612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D66A #6A7BE7
analogous
#E7976A #E7D66A #B9E76A
triadic
#E7D66A #6AE7D6 #D66AE7
tetradic
#E7D66A #6AE797 #6A7BE7 #E76AB9
square
#E7D66A #6AE797 #6A7BE7 #E76AB9
split-complementary
#E7D66A #6AB9E7 #976AE7
monochromatic
#B9A41E #DFC735 #E7D66A #EFE59F #F8F3D3

Accessibility & contrast

On white

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

On black

14.22
#E7D66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D66A
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D66A#FFFFFF#000000##000000
##E7D66A1.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D160
Deuteranopia (green-blind)
#ECD76F
Tritanopia (blue-blind)
#F7C9BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d66a;
/* rgb */ color: rgb(231, 214, 106);
/* oklch */ color: oklch(86.9% 0.130 100.5);
Tailwind
colors: {
  custom: {
    50: '#f1e297',
    500: '#e7d66a',
    950: '#000000',
  },
}
SCSS
$custom: #e7d66a;
$custom-light: #f1e297;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d66a",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 106
  },
  "hsl": {
    "h": 51.84,
    "s": 72.254,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86859,
    "c": 0.13029,
    "h": 100.5
  },
  "luminance": 0.66123
}

Semantic roles & 50–950 ramp

primary
#E7D66A
secondary
#3D4DB9
accent
#2CD411
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D66A

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

Preview Lab → · Contrast checker → · Palette generator →

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