#E4DC6C#E4DC6C

#E4DC6C is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.9% C 0.134 H 105.1°. Best body text is #000000 at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#E4DC6C
RGBrgb(228, 220, 108)
HSLhsl(56, 69%, 66%)
HSVhsv(56, 53%, 89%)
CMYKcmyk(0%, 3.5%, 52.6%, 10.6%)
CIE-LABlab(86.39, -11.70, 55.25)
CIE-LCHlch(86.39, 56.47, 101.96°)
OKLaboklab(87.86% -0.035 0.1296)
OKLCHoklch(87.86% 0.134 105.1)
XYZxyz(60.2966, 68.7649, 24.2812)
Luminance0.6876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC6C #6C74E4
analogous
#E4A06C #E4DC6C #B0E46C
triadic
#E4DC6C #6CE4DC #DC6CE4
tetradic
#E4DC6C #6CE4A0 #6C74E4 #E46CB0
square
#E4DC6C #6CE4A0 #6C74E4 #E46CB0
split-complementary
#E4DC6C #6CB0E4 #A06CE4
monochromatic
#B4AB21 #DBD038 #E4DC6C #EDE8A0 #F7F5D3

Accessibility & contrast

On white

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

On black

14.75
#E4DC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC6C
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC6C#FFFFFF#000000##000000
##E4DC6C1.001.4214.7514.75
#FFFFFF1.421.0021.0021.00
#00000014.7521.001.001.00
##00000014.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD561
Deuteranopia (green-blind)
#EFDB72
Tritanopia (blue-blind)
#F3D0C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dc6c;
/* rgb */ color: rgb(228, 220, 108);
/* oklch */ color: oklch(87.9% 0.134 105.1);
Tailwind
colors: {
  custom: {
    50: '#efe699',
    500: '#e4dc6c',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc6c;
$custom-light: #efe699;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc6c",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 108
  },
  "hsl": {
    "h": 56,
    "s": 68.966,
    "l": 65.882
  },
  "oklch": {
    "l": 0.8786,
    "c": 0.13421,
    "h": 105.1
  },
  "luminance": 0.68763
}

Semantic roles & 50–950 ramp

primary
#E4DC6C
secondary
#3F47B5
accent
#21D115
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4DC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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