#E4DC74#E4DC74

#E4DC74 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.0% C 0.127 H 104.8°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#E4DC74
RGBrgb(228, 220, 116)
HSLhsl(56, 67%, 67%)
HSVhsv(56, 49%, 89%)
CMYKcmyk(0%, 3.5%, 49.1%, 10.6%)
CIE-LABlab(86.48, -11.03, 51.61)
CIE-LCHlch(86.48, 52.78, 102.06°)
OKLaboklab(87.96% -0.0322 0.1224)
OKLCHoklch(87.96% 0.127 104.8)
XYZxyz(60.7421, 68.9431, 26.6273)
Luminance0.6894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC74 #747CE4
analogous
#E4A474 #E4DC74 #B4E474
triadic
#E4DC74 #74E4DC #DC74E4
tetradic
#E4DC74 #74E4A4 #747CE4 #E474B4
square
#E4DC74 #74E4A4 #747CE4 #E474B4
split-complementary
#E4DC74 #74B4E4 #A474E4
monochromatic
#BAAF24 #DACF41 #E4DC74 #EEE9A7 #F8F6DA

Accessibility & contrast

On white

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

On black

14.79
#E4DC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC74
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC74#FFFFFF#000000##000000
##E4DC741.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD56B
Deuteranopia (green-blind)
#EFDB79
Tritanopia (blue-blind)
#F2D0C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dc74;
/* rgb */ color: rgb(228, 220, 116);
/* oklch */ color: oklch(88.0% 0.127 104.8);
Tailwind
colors: {
  custom: {
    50: '#eee69e',
    500: '#e4dc74',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc74;
$custom-light: #eee69e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc74",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 116
  },
  "hsl": {
    "h": 55.714,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.87959,
    "c": 0.12657,
    "h": 104.8
  },
  "luminance": 0.68941
}

Semantic roles & 50–950 ramp

primary
#E4DC74
secondary
#434BBA
accent
#23CF16
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E4DC74

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

Preview Lab → · Contrast checker → · Palette generator →

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