#E6C866#E6C866

#E6C866 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.9% C 0.122 H 92.6°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#E6C866
RGBrgb(230, 200, 102)
HSLhsl(46, 72%, 65%)
HSVhsv(46, 56%, 90%)
CMYKcmyk(0%, 13%, 55.7%, 9.8%)
CIE-LABlab(81.34, -1.20, 52.20)
CIE-LCHlch(81.34, 52.22, 91.31°)
OKLaboklab(83.88% -0.0055 0.1223)
OKLCHoklch(83.88% 0.122 92.6)
XYZxyz(55.6879, 59.0935, 21.0407)
Luminance0.5909 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6C866 #6684E6
analogous
#E68866 #E6C866 #C4E666
triadic
#E6C866 #66E6C8 #C866E6
tetradic
#E6C866 #66E688 #6684E6 #E666C4
square
#E6C866 #66E688 #6684E6 #E666C4
split-complementary
#E6C866 #66C4E6 #8866E6
monochromatic
#B4911D #DDB531 #E6C866 #EFDB9B #F7EECF

Accessibility & contrast

On white

1.64
#E6C866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#E6C866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6C866
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6C866#FFFFFF#000000##000000
##E6C8661.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e6c866;
/* rgb */ color: rgb(230, 200, 102);
/* oklch */ color: oklch(83.9% 0.122 92.6);
Tailwind
colors: {
  custom: {
    50: '#f1d894',
    500: '#e6c866',
    950: '#000000',
  },
}
SCSS
$custom: #e6c866;
$custom-light: #f1d894;
$custom-dark: #000000;
JSON
{
  "hex": "#e6c866",
  "rgb": {
    "r": 230,
    "g": 200,
    "b": 102
  },
  "hsl": {
    "h": 45.938,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.83883,
    "c": 0.12246,
    "h": 92.6
  },
  "luminance": 0.59091
}

Semantic roles & 50–950 ramp

primary
#E6C866
secondary
#3C58B5
accent
#3FD412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E6C866

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

Preview Lab → · Contrast checker → · Palette generator →

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