#E7D579#E7D579

#E7D579 is a very light, moderate yellow. Relative luminance 0.660; OKLCH L 86.8% C 0.115 H 98.5°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#E7D579
RGBrgb(231, 213, 121)
HSLhsl(50, 70%, 69%)
HSVhsv(50, 48%, 91%)
CMYKcmyk(0%, 7.8%, 47.6%, 9.4%)
CIE-LABlab(84.98, -5.84, 47.45)
CIE-LCHlch(84.98, 47.81, 97.02°)
OKLaboklab(86.85% -0.017 0.1136)
OKLCHoklch(86.85% 0.115 98.5)
XYZxyz(60.2022, 65.9601, 27.6458)
Luminance0.6596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D579 #798BE7
analogous
#E79E79 #E7D579 #C2E779
triadic
#E7D579 #79E7D5 #D579E7
tetradic
#E7D579 #79E79E #798BE7 #E779C2
square
#E7D579 #79E79E #798BE7 #E779C2
split-complementary
#E7D579 #79C2E7 #9E79E7
monochromatic
#C3A923 #DEC545 #E7D579 #F0E5AD #FAF6E1

Accessibility & contrast

On white

1.48
#E7D579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.19
#E7D579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D579
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D579#FFFFFF#000000##000000
##E7D5791.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D071
Deuteranopia (green-blind)
#EAD77D
Tritanopia (blue-blind)
#F6C9BF
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e7d579;
/* rgb */ color: rgb(231, 213, 121);
/* oklch */ color: oklch(86.8% 0.115 98.5);
Tailwind
colors: {
  custom: {
    50: '#f0e1a1',
    500: '#e7d579',
    950: '#000000',
  },
}
SCSS
$custom: #e7d579;
$custom-light: #f0e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d579",
  "rgb": {
    "r": 231,
    "g": 213,
    "b": 121
  },
  "hsl": {
    "h": 50.182,
    "s": 69.62,
    "l": 69.02
  },
  "oklch": {
    "l": 0.86848,
    "c": 0.11482,
    "h": 98.5
  },
  "luminance": 0.65958
}

Semantic roles & 50–950 ramp

primary
#E7D579
secondary
#4559BF
accent
#33D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D579

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

Preview Lab → · Contrast checker → · Palette generator →

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