#E4CC66#E4CC66

#E4CC66 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.5% C 0.125 H 96.3°. Best body text is #000000 at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#E4CC66
RGBrgb(228, 204, 102)
HSLhsl(49, 70%, 65%)
HSVhsv(49, 55%, 89%)
CMYKcmyk(0%, 10.5%, 55.3%, 10.6%)
CIE-LABlab(82.19, -4.08, 53.14)
CIE-LCHlch(82.19, 53.30, 94.39°)
OKLaboklab(84.51% -0.0138 0.1244)
OKLCHoklch(84.51% 0.125 96.3)
XYZxyz(55.9881, 60.6415, 21.3236)
Luminance0.6064 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CC66 #667EE4
analogous
#E48D66 #E4CC66 #BDE466
triadic
#E4CC66 #66E4CC #CC66E4
tetradic
#E4CC66 #66E48D #667EE4 #E466BD
square
#E4CC66 #66E48D #667EE4 #E466BD
split-complementary
#E4CC66 #66BDE4 #8D66E4
monochromatic
#B0951F #DBBB32 #E4CC66 #EDDD9A #F6EFCE

Accessibility & contrast

On white

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

On black

13.13
#E4CC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CC66
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CC66#FFFFFF#000000##000000
##E4CC661.001.6013.1313.13
#FFFFFF1.601.0021.0021.00
#00000013.1321.001.001.00
##00000013.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC85C
Deuteranopia (green-blind)
#E4D06A
Tritanopia (blue-blind)
#F4BFB5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e4cc66;
/* rgb */ color: rgb(228, 204, 102);
/* oklch */ color: oklch(84.5% 0.125 96.3);
Tailwind
colors: {
  custom: {
    50: '#efdb94',
    500: '#e4cc66',
    950: '#000000',
  },
}
SCSS
$custom: #e4cc66;
$custom-light: #efdb94;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cc66",
  "rgb": {
    "r": 228,
    "g": 204,
    "b": 102
  },
  "hsl": {
    "h": 48.571,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.84507,
    "c": 0.12516,
    "h": 96.3
  },
  "luminance": 0.60639
}

Semantic roles & 50–950 ramp

primary
#E4CC66
secondary
#3D53B1
accent
#38D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4CC66

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

Preview Lab → · Contrast checker → · Palette generator →

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