#E5CC66#E5CC66

#E5CC66 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.6% C 0.125 H 95.8°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#E5CC66
RGBrgb(229, 204, 102)
HSLhsl(48, 71%, 65%)
HSVhsv(48, 55%, 90%)
CMYKcmyk(0%, 10.9%, 55.5%, 10.2%)
CIE-LABlab(82.27, -3.67, 53.27)
CIE-LCHlch(82.27, 53.39, 93.94°)
OKLaboklab(84.6% -0.0126 0.1247)
OKLCHoklch(84.6% 0.125 95.8)
XYZxyz(56.3064, 60.8055, 21.3386)
Luminance0.6080 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CC66 #667FE5
analogous
#E58D66 #E5CC66 #BFE566
triadic
#E5CC66 #66E5CC #CC66E5
tetradic
#E5CC66 #66E58D #667FE5 #E566BF
square
#E5CC66 #66E58D #667FE5 #E566BF
split-complementary
#E5CC66 #66BFE5 #8D66E5
monochromatic
#B2951E #DCBB32 #E5CC66 #EEDD9A #F7EFCF

Accessibility & contrast

On white

1.60
#E5CC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#E5CC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CC66
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CC66#FFFFFF#000000##000000
##E5CC661.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5cc66;
/* rgb */ color: rgb(229, 204, 102);
/* oklch */ color: oklch(84.6% 0.125 95.8);
Tailwind
colors: {
  custom: {
    50: '#f0db94',
    500: '#e5cc66',
    950: '#000000',
  },
}
SCSS
$custom: #e5cc66;
$custom-light: #f0db94;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cc66",
  "rgb": {
    "r": 229,
    "g": 204,
    "b": 102
  },
  "hsl": {
    "h": 48.189,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.84598,
    "c": 0.12529,
    "h": 95.8
  },
  "luminance": 0.60803
}

Semantic roles & 50–950 ramp

primary
#E5CC66
secondary
#3C54B3
accent
#38D313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E5CC66

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

Preview Lab → · Contrast checker → · Palette generator →

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