#E7CC66#E7CC66

#E7CC66 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.8% C 0.126 H 94.7°. Best body text is #000000 at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#E7CC66
RGBrgb(231, 204, 102)
HSLhsl(47, 73%, 65%)
HSVhsv(47, 56%, 91%)
CMYKcmyk(0%, 11.7%, 55.8%, 9.4%)
CIE-LABlab(82.45, -2.84, 53.52)
CIE-LCHlch(82.45, 53.59, 93.04°)
OKLaboklab(84.78% -0.0104 0.1252)
OKLCHoklch(84.78% 0.126 94.7)
XYZxyz(56.9484, 61.1366, 21.3686)
Luminance0.6113 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7CC66 #6681E7
analogous
#E78C66 #E7CC66 #C1E766
triadic
#E7CC66 #66E7CC #CC66E7
tetradic
#E7CC66 #66E78C #6681E7 #E766C1
square
#E7CC66 #66E78C #6681E7 #E766C1
split-complementary
#E7CC66 #66C1E7 #8C66E7
monochromatic
#B6961D #DFBA31 #E7CC66 #EFDE9B #F8EFD0

Accessibility & contrast

On white

1.59
#E7CC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.23
#E7CC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7CC66
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7CC66#FFFFFF#000000##000000
##E7CC661.001.5913.2313.23
#FFFFFF1.591.0021.0021.00
#00000013.2321.001.001.00
##00000013.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC85C
Deuteranopia (green-blind)
#E5D16A
Tritanopia (blue-blind)
#F7BFB5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e7cc66;
/* rgb */ color: rgb(231, 204, 102);
/* oklch */ color: oklch(84.8% 0.126 94.7);
Tailwind
colors: {
  custom: {
    50: '#f1db94',
    500: '#e7cc66',
    950: '#000000',
  },
}
SCSS
$custom: #e7cc66;
$custom-light: #f1db94;
$custom-dark: #000000;
JSON
{
  "hex": "#e7cc66",
  "rgb": {
    "r": 231,
    "g": 204,
    "b": 102
  },
  "hsl": {
    "h": 47.442,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.8478,
    "c": 0.12559,
    "h": 94.7
  },
  "luminance": 0.61134
}

Semantic roles & 50–950 ramp

primary
#E7CC66
secondary
#3B55B6
accent
#3AD511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7CC66

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

Preview Lab → · Contrast checker → · Palette generator →

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