#E4DC6A#E4DC6A

#E4DC6A is a very light, vivid yellow. Relative luminance 0.687; OKLCH L 87.8% C 0.136 H 105.2°. Best body text is #000000 at 14.74:1 contrast (WCAG AA passes).

Color values

HEX#E4DC6A
RGBrgb(228, 220, 106)
HSLhsl(56, 69%, 65%)
HSVhsv(56, 54%, 89%)
CMYKcmyk(0%, 3.5%, 53.5%, 10.6%)
CIE-LABlab(86.37, -11.86, 56.14)
CIE-LCHlch(86.37, 57.38, 101.93°)
OKLaboklab(87.84% -0.0357 0.1313)
OKLCHoklch(87.84% 0.136 105.2)
XYZxyz(60.1914, 68.7229, 23.7270)
Luminance0.6872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC6A #6A72E4
analogous
#E49F6A #E4DC6A #AFE46A
triadic
#E4DC6A #6AE4DC #DC6AE4
tetradic
#E4DC6A #6AE49F #6A72E4 #E46AAF
square
#E4DC6A #6AE49F #6A72E4 #E46AAF
split-complementary
#E4DC6A #6AAFE4 #9F6AE4
monochromatic
#B3AA20 #DBD036 #E4DC6A #EDE89E #F7F4D2

Accessibility & contrast

On white

1.42
#E4DC6A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.74
#E4DC6A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC6A
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC6A#FFFFFF#000000##000000
##E4DC6A1.001.4214.7414.74
#FFFFFF1.421.0021.0021.00
#00000014.7421.001.001.00
##00000014.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4dc6a;
/* rgb */ color: rgb(228, 220, 106);
/* oklch */ color: oklch(87.8% 0.136 105.2);
Tailwind
colors: {
  custom: {
    50: '#efe698',
    500: '#e4dc6a',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc6a;
$custom-light: #efe698;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc6a",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 106
  },
  "hsl": {
    "h": 56.066,
    "s": 69.318,
    "l": 65.49
  },
  "oklch": {
    "l": 0.87837,
    "c": 0.13606,
    "h": 105.2
  },
  "luminance": 0.68721
}

Semantic roles & 50–950 ramp

primary
#E4DC6A
secondary
#3E46B4
accent
#21D114
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4DC6A

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

Preview Lab → · Contrast checker → · Palette generator →

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