#E4C666#E4C666

#E4C666 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.3% C 0.121 H 92.3°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#E4C666
RGBrgb(228, 198, 102)
HSLhsl(46, 70%, 65%)
HSVhsv(46, 55%, 89%)
CMYKcmyk(0%, 13.2%, 55.3%, 10.6%)
CIE-LABlab(80.65, -0.99, 51.35)
CIE-LCHlch(80.65, 51.36, 91.10°)
OKLaboklab(83.3% -0.0048 0.1205)
OKLCHoklch(83.3% 0.121 92.3)
XYZxyz(54.5895, 57.8441, 20.8574)
Luminance0.5784 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4C666 #6684E4
analogous
#E48766 #E4C666 #C3E466
triadic
#E4C666 #66E4C6 #C666E4
tetradic
#E4C666 #66E487 #6684E4 #E466C3
square
#E4C666 #66E487 #6684E4 #E466C3
split-complementary
#E4C666 #66C3E4 #8766E4
monochromatic
#B08E1F #DBB332 #E4C666 #EDD99A #F6EDCE

Accessibility & contrast

On white

1.67
#E4C666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#E4C666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4C666
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4C666#FFFFFF#000000##000000
##E4C6661.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C35D
Deuteranopia (green-blind)
#DFCC6A
Tritanopia (blue-blind)
#F4B9B0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e4c666;
/* rgb */ color: rgb(228, 198, 102);
/* oklch */ color: oklch(83.3% 0.121 92.3);
Tailwind
colors: {
  custom: {
    50: '#efd794',
    500: '#e4c666',
    950: '#000000',
  },
}
SCSS
$custom: #e4c666;
$custom-light: #efd794;
$custom-dark: #000000;
JSON
{
  "hex": "#e4c666",
  "rgb": {
    "r": 228,
    "g": 198,
    "b": 102
  },
  "hsl": {
    "h": 45.714,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.83295,
    "c": 0.12061,
    "h": 92.3
  },
  "luminance": 0.57841
}

Semantic roles & 50–950 ramp

primary
#E4C666
secondary
#3D59B1
accent
#41D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E4C666

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

Preview Lab → · Contrast checker → · Palette generator →

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