#E4D966#E4D966

#E4D966 is a very light, vivid yellow. Relative luminance 0.671; OKLCH L 87.2% C 0.137 H 103.8°. Best body text is #000000 at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#E4D966
RGBrgb(228, 217, 102)
HSLhsl(55, 70%, 65%)
HSVhsv(55, 55%, 89%)
CMYKcmyk(0%, 4.8%, 55.3%, 10.6%)
CIE-LABlab(85.54, -10.67, 57.02)
CIE-LCHlch(85.54, 58.01, 100.60°)
OKLaboklab(87.17% -0.0327 0.1328)
OKLCHoklch(87.17% 0.137 103.8)
XYZxyz(59.2079, 67.0810, 22.3969)
Luminance0.6708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D966 #6671E4
analogous
#E49A66 #E4D966 #B0E466
triadic
#E4D966 #66E4D9 #D966E4
tetradic
#E4D966 #66E49A #6671E4 #E466B0
square
#E4D966 #66E49A #6671E4 #E466B0
split-complementary
#E4D966 #66B0E4 #9A66E4
monochromatic
#B0A41F #DBCC32 #E4D966 #EDE69A #F6F3CE

Accessibility & contrast

On white

1.46
#E4D966 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.42
#E4D966 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D966
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D966#FFFFFF#000000##000000
##E4D9661.001.4614.4214.42
#FFFFFF1.461.0021.0021.00
#00000014.4221.001.001.00
##00000014.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD25A
Deuteranopia (green-blind)
#EED86C
Tritanopia (blue-blind)
#F3CCBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e4d966;
/* rgb */ color: rgb(228, 217, 102);
/* oklch */ color: oklch(87.2% 0.137 103.8);
Tailwind
colors: {
  custom: {
    50: '#efe495',
    500: '#e4d966',
    950: '#000000',
  },
}
SCSS
$custom: #e4d966;
$custom-light: #efe495;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d966",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 102
  },
  "hsl": {
    "h": 54.762,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8717,
    "c": 0.13673,
    "h": 103.8
  },
  "luminance": 0.67079
}

Semantic roles & 50–950 ramp

primary
#E4D966
secondary
#3D47B1
accent
#24D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D966

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

Preview Lab → · Contrast checker → · Palette generator →

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