#ECD979#ECD979

#ECD979 is a very light, moderate yellow. Relative luminance 0.688; OKLCH L 88.1% C 0.119 H 98.4°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#ECD979
RGBrgb(236, 217, 121)
HSLhsl(50, 75%, 70%)
HSVhsv(50, 49%, 93%)
CMYKcmyk(0%, 8.1%, 48.7%, 7.5%)
CIE-LABlab(86.43, -5.87, 49.32)
CIE-LCHlch(86.43, 49.67, 96.78°)
OKLaboklab(88.1% -0.0173 0.1176)
OKLCHoklch(88.1% 0.119 98.4)
XYZxyz(62.8580, 68.8414, 28.0621)
Luminance0.6884 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD979 #798CEC
analogous
#ECA079 #ECD979 #C5EC79
triadic
#ECD979 #79ECD9 #D979EC
tetradic
#ECD979 #79ECA0 #798CEC #EC79C5
square
#ECD979 #79ECA0 #798CEC #EC79C5
split-complementary
#ECD979 #79C5EC #A079EC
monochromatic
#CDB01D #E4CA43 #ECD979 #F4E8AF #FBF7E4

Accessibility & contrast

On white

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

On black

14.77
#ECD979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD979
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD979#FFFFFF#000000##000000
##ECD9791.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD471
Deuteranopia (green-blind)
#EFDB7D
Tritanopia (blue-blind)
#FBCDC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd979;
/* rgb */ color: rgb(236, 217, 121);
/* oklch */ color: oklch(88.1% 0.119 98.4);
Tailwind
colors: {
  custom: {
    50: '#f4e4a1',
    500: '#ecd979',
    950: '#000000',
  },
}
SCSS
$custom: #ecd979;
$custom-light: #f4e4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd979",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 121
  },
  "hsl": {
    "h": 50.087,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.88097,
    "c": 0.1189,
    "h": 98.4
  },
  "luminance": 0.68839
}

Semantic roles & 50–950 ramp

primary
#ECD979
secondary
#4459C5
accent
#2FD70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD979

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

Preview Lab → · Contrast checker → · Palette generator →

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