#E4D579#E4D579

#E4D579 is a very light, moderate yellow. Relative luminance 0.655; OKLCH L 86.6% C 0.115 H 100.2°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#E4D579
RGBrgb(228, 213, 121)
HSLhsl(52, 66%, 68%)
HSVhsv(52, 47%, 89%)
CMYKcmyk(0%, 6.6%, 46.9%, 10.6%)
CIE-LABlab(84.72, -7.05, 47.08)
CIE-LCHlch(84.72, 47.61, 98.51°)
OKLaboklab(86.59% -0.0203 0.1128)
OKLCHoklch(86.59% 0.115 100.2)
XYZxyz(59.2419, 65.4650, 27.6008)
Luminance0.6546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D579 #7988E4
analogous
#E49F79 #E4D579 #BDE479
triadic
#E4D579 #79E4D5 #D579E4
tetradic
#E4D579 #79E49F #7988E4 #E479BD
square
#E4D579 #79E49F #7988E4 #E479BD
split-complementary
#E4D579 #79BDE4 #9F79E4
monochromatic
#BDA726 #DAC546 #E4D579 #EEE5AC #F9F5DF

Accessibility & contrast

On white

1.49
#E4D579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.09
#E4D579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D579
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D579#FFFFFF#000000##000000
##E4D5791.001.4914.0914.09
#FFFFFF1.491.0021.0021.00
#00000014.0921.001.001.00
##00000014.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D071
Deuteranopia (green-blind)
#E9D67D
Tritanopia (blue-blind)
#F2C9BF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e4d579;
/* rgb */ color: rgb(228, 213, 121);
/* oklch */ color: oklch(86.6% 0.115 100.2);
Tailwind
colors: {
  custom: {
    50: '#eee1a1',
    500: '#e4d579',
    950: '#000000',
  },
}
SCSS
$custom: #e4d579;
$custom-light: #eee1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d579",
  "rgb": {
    "r": 228,
    "g": 213,
    "b": 121
  },
  "hsl": {
    "h": 51.589,
    "s": 66.46,
    "l": 68.431
  },
  "oklch": {
    "l": 0.86587,
    "c": 0.11459,
    "h": 100.2
  },
  "luminance": 0.65463
}

Semantic roles & 50–950 ramp

primary
#E4D579
secondary
#4656BB
accent
#31CE17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D579

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

Preview Lab → · Contrast checker → · Palette generator →

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