#ECD980#ECD980

#ECD980 is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.2% C 0.112 H 97.6°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#ECD980
RGBrgb(236, 217, 128)
HSLhsl(49, 74%, 71%)
HSVhsv(49, 46%, 93%)
CMYKcmyk(0%, 8.1%, 45.8%, 7.5%)
CIE-LABlab(86.51, -5.22, 46.02)
CIE-LCHlch(86.51, 46.32, 96.47°)
OKLaboklab(88.2% -0.0148 0.1108)
OKLCHoklch(88.2% 0.112 97.6)
XYZxyz(63.3029, 69.0193, 30.4054)
Luminance0.6902 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD980 #8093EC
analogous
#ECA380 #ECD980 #C9EC80
triadic
#ECD980 #80ECD9 #D980EC
tetradic
#ECD980 #80ECA3 #8093EC #EC80C9
square
#ECD980 #80ECA3 #8093EC #EC80C9
split-complementary
#ECD980 #80C9EC #A380EC
monochromatic
#D2B31F #E4C94B #ECD980 #F4E9B5 #FBF7E4

Accessibility & contrast

On white

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

On black

14.80
#ECD980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD980
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD980#FFFFFF#000000##000000
##ECD9801.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D579
Deuteranopia (green-blind)
#EEDB84
Tritanopia (blue-blind)
#FBCDC4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd980;
/* rgb */ color: rgb(236, 217, 128);
/* oklch */ color: oklch(88.2% 0.112 97.6);
Tailwind
colors: {
  custom: {
    50: '#f4e4a6',
    500: '#ecd980',
    950: '#000000',
  },
}
SCSS
$custom: #ecd980;
$custom-light: #f4e4a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd980",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 128
  },
  "hsl": {
    "h": 49.444,
    "s": 73.973,
    "l": 71.373
  },
  "oklch": {
    "l": 0.88196,
    "c": 0.11178,
    "h": 97.6
  },
  "luminance": 0.69017
}

Semantic roles & 50–950 ramp

primary
#ECD980
secondary
#4B60C6
accent
#32D60F
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD980

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

Preview Lab → · Contrast checker → · Palette generator →

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