#E7C866#E7C866

#E7C866 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 84.0% C 0.123 H 92.1°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#E7C866
RGBrgb(231, 200, 102)
HSLhsl(46, 73%, 65%)
HSVhsv(46, 56%, 91%)
CMYKcmyk(0%, 13.4%, 55.8%, 9.4%)
CIE-LABlab(81.43, -0.78, 52.33)
CIE-LCHlch(81.43, 52.34, 90.86°)
OKLaboklab(83.98% -0.0044 0.1226)
OKLCHoklch(83.98% 0.123 92.1)
XYZxyz(56.0098, 59.2595, 21.0558)
Luminance0.5926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C866 #6685E7
analogous
#E78766 #E7C866 #C6E766
triadic
#E7C866 #66E7C8 #C866E7
tetradic
#E7C866 #66E787 #6685E7 #E766C6
square
#E7C866 #66E787 #6685E7 #E766C6
split-complementary
#E7C866 #66C6E7 #8766E7
monochromatic
#B6911D #DFB531 #E7C866 #EFDB9B #F8EED0

Accessibility & contrast

On white

1.63
#E7C866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#E7C866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C866
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C866#FFFFFF#000000##000000
##E7C8661.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55D
Deuteranopia (green-blind)
#E2CE6A
Tritanopia (blue-blind)
#F8BBB2
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #e7c866;
/* rgb */ color: rgb(231, 200, 102);
/* oklch */ color: oklch(84.0% 0.123 92.1);
Tailwind
colors: {
  custom: {
    50: '#f1d894',
    500: '#e7c866',
    950: '#000000',
  },
}
SCSS
$custom: #e7c866;
$custom-light: #f1d894;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c866",
  "rgb": {
    "r": 231,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 45.581,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.83976,
    "c": 0.12267,
    "h": 92.1
  },
  "luminance": 0.59257
}

Semantic roles & 50–950 ramp

primary
#E7C866
secondary
#3B59B6
accent
#40D511
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7C866

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

Preview Lab → · Contrast checker → · Palette generator →

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