#E7D66C#E7D66C

#E7D66C is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.9% C 0.128 H 100.3°. Best body text is #000000 at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#E7D66C
RGBrgb(231, 214, 108)
HSLhsl(52, 72%, 66%)
HSVhsv(52, 53%, 91%)
CMYKcmyk(0%, 7.4%, 53.2%, 9.4%)
CIE-LABlab(85.08, -7.47, 53.78)
CIE-LCHlch(85.08, 54.30, 97.91°)
OKLaboklab(86.88% -0.023 0.1263)
OKLCHoklch(86.88% 0.128 100.3)
XYZxyz(59.7103, 66.1670, 23.8107)
Luminance0.6616 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D66C #6C7DE7
analogous
#E7996C #E7D66C #BBE76C
triadic
#E7D66C #6CE7D6 #D66CE7
tetradic
#E7D66C #6CE799 #6C7DE7 #E76CBB
square
#E7D66C #6CE799 #6C7DE7 #E76CBB
split-complementary
#E7D66C #6CBBE7 #996CE7
monochromatic
#BAA51E #DEC737 #E7D66C #F0E5A1 #F8F3D5

Accessibility & contrast

On white

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

On black

14.23
#E7D66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D66C
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D66C#FFFFFF#000000##000000
##E7D66C1.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D162
Deuteranopia (green-blind)
#ECD871
Tritanopia (blue-blind)
#F6C9BE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d66c;
/* rgb */ color: rgb(231, 214, 108);
/* oklch */ color: oklch(86.9% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#f1e299',
    500: '#e7d66c',
    950: '#000000',
  },
}
SCSS
$custom: #e7d66c;
$custom-light: #f1e299;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d66c",
  "rgb": {
    "r": 231,
    "g": 214,
    "b": 108
  },
  "hsl": {
    "h": 51.707,
    "s": 71.93,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86883,
    "c": 0.12842,
    "h": 100.3
  },
  "luminance": 0.66165
}

Semantic roles & 50–950 ramp

primary
#E7D66C
secondary
#3D4FBA
accent
#2CD412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D66C

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

Preview Lab → · Contrast checker → · Palette generator →

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