#ECDD79#ECDD79

#ECDD79 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.9% C 0.123 H 100.9°. Best body text is #000000 at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#ECDD79
RGBrgb(236, 221, 121)
HSLhsl(52, 75%, 70%)
HSVhsv(52, 49%, 93%)
CMYKcmyk(0%, 6.4%, 48.7%, 7.5%)
CIE-LABlab(87.45, -7.89, 50.56)
CIE-LCHlch(87.45, 51.17, 98.86°)
OKLaboklab(88.91% -0.0232 0.1204)
OKLCHoklch(88.91% 0.123 100.9)
XYZxyz(63.9015, 70.9284, 28.4099)
Luminance0.7093 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD79 #7988EC
analogous
#ECA479 #ECDD79 #C1EC79
triadic
#ECDD79 #79ECDD #DD79EC
tetradic
#ECDD79 #79ECA4 #7988EC #EC79C1
square
#ECDD79 #79ECA4 #7988EC #EC79C1
split-complementary
#ECDD79 #79C1EC #A479EC
monochromatic
#CDB61D #E4CF43 #ECDD79 #F4EBAF #FBF8E4

Accessibility & contrast

On white

1.38
#ECDD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.19
#ECDD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD79
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD79#FFFFFF#000000##000000
##ECDD791.001.3815.1915.19
#FFFFFF1.381.0021.0021.00
#00000015.1921.001.001.00
##00000015.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD870
Deuteranopia (green-blind)
#F2DE7D
Tritanopia (blue-blind)
#FBD1C6
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #ecdd79;
/* rgb */ color: rgb(236, 221, 121);
/* oklch */ color: oklch(88.9% 0.123 100.9);
Tailwind
colors: {
  custom: {
    50: '#f4e7a2',
    500: '#ecdd79',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd79;
$custom-light: #f4e7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd79",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 121
  },
  "hsl": {
    "h": 52.174,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.88909,
    "c": 0.12258,
    "h": 100.9
  },
  "luminance": 0.70926
}

Semantic roles & 50–950 ramp

primary
#ECDD79
secondary
#4455C5
accent
#28D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDD79

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

Preview Lab → · Contrast checker → · Palette generator →

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