#E4DC66#E4DC66

#E4DC66 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.8% C 0.140 H 105.4°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#E4DC66
RGBrgb(228, 220, 102)
HSLhsl(56, 70%, 65%)
HSVhsv(56, 55%, 89%)
CMYKcmyk(0%, 3.5%, 55.3%, 10.6%)
CIE-LABlab(86.33, -12.17, 57.91)
CIE-LCHlch(86.33, 59.17, 101.87°)
OKLaboklab(87.79% -0.037 0.1347)
OKLCHoklch(87.79% 0.14 105.4)
XYZxyz(59.9882, 68.6416, 22.6570)
Luminance0.6864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC66 #666EE4
analogous
#E49D66 #E4DC66 #ADE466
triadic
#E4DC66 #66E4DC #DC66E4
tetradic
#E4DC66 #66E49D #666EE4 #E466AD
square
#E4DC66 #66E49D #666EE4 #E466AD
split-complementary
#E4DC66 #66ADE4 #9D66E4
monochromatic
#B0A71F #DBD032 #E4DC66 #EDE89A #F6F4CE

Accessibility & contrast

On white

1.43
#E4DC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.73
#E4DC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC66
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC66#FFFFFF#000000##000000
##E4DC661.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD55A
Deuteranopia (green-blind)
#F0DB6C
Tritanopia (blue-blind)
#F3CFC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dc66;
/* rgb */ color: rgb(228, 220, 102);
/* oklch */ color: oklch(87.8% 0.140 105.4);
Tailwind
colors: {
  custom: {
    50: '#efe695',
    500: '#e4dc66',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc66;
$custom-light: #efe695;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc66",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 102
  },
  "hsl": {
    "h": 56.19,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.87792,
    "c": 0.13966,
    "h": 105.4
  },
  "luminance": 0.6864
}

Semantic roles & 50–950 ramp

primary
#E4DC66
secondary
#3D44B1
accent
#20D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4DC66

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

Preview Lab → · Contrast checker → · Palette generator →

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