#ECD579#ECD579

#ECD579 is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.115 H 95.7°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#ECD579
RGBrgb(236, 213, 121)
HSLhsl(48, 75%, 70%)
HSVhsv(48, 49%, 93%)
CMYKcmyk(0%, 9.7%, 48.7%, 7.5%)
CIE-LABlab(85.41, -3.83, 48.07)
CIE-LCHlch(85.41, 48.23, 94.56°)
OKLaboklab(87.29% -0.0115 0.1149)
OKLCHoklch(87.29% 0.115 95.7)
XYZxyz(61.8395, 66.8043, 27.7226)
Luminance0.6680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD579 #7990EC
analogous
#EC9C79 #ECD579 #C9EC79
triadic
#ECD579 #79ECD5 #D579EC
tetradic
#ECD579 #79EC9C #7990EC #EC79C9
square
#ECD579 #79EC9C #7990EC #EC79C9
split-complementary
#ECD579 #79C9EC #9C79EC
monochromatic
#CDAA1D #E4C443 #ECD579 #F4E6AF #FBF7E4

Accessibility & contrast

On white

1.46
#ECD579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.36
#ECD579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD579
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD579#FFFFFF#000000##000000
##ECD5791.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D171
Deuteranopia (green-blind)
#ECD97D
Tritanopia (blue-blind)
#FBC9BF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd579;
/* rgb */ color: rgb(236, 213, 121);
/* oklch */ color: oklch(87.3% 0.115 95.7);
Tailwind
colors: {
  custom: {
    50: '#f4e1a1',
    500: '#ecd579',
    950: '#000000',
  },
}
SCSS
$custom: #ecd579;
$custom-light: #f4e1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd579",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 121
  },
  "hsl": {
    "h": 48,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.8729,
    "c": 0.11544,
    "h": 95.7
  },
  "luminance": 0.66802
}

Semantic roles & 50–950 ramp

primary
#ECD579
secondary
#445EC5
accent
#36D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD579

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

Preview Lab → · Contrast checker → · Palette generator →

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