#ECDE79#ECDE79

#ECDE79 is a very light, vivid yellow. Relative luminance 0.715; OKLCH L 89.1% C 0.124 H 101.5°. Best body text is #000000 at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#ECDE79
RGBrgb(236, 222, 121)
HSLhsl(53, 75%, 70%)
HSVhsv(53, 49%, 93%)
CMYKcmyk(0%, 5.9%, 48.7%, 7.5%)
CIE-LABlab(87.71, -8.39, 50.87)
CIE-LCHlch(87.71, 51.56, 99.36°)
OKLaboklab(89.11% -0.0246 0.1211)
OKLCHoklch(89.11% 0.124 101.5)
XYZxyz(64.1663, 71.4580, 28.4982)
Luminance0.7146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE79 #7987EC
analogous
#ECA579 #ECDE79 #C0EC79
triadic
#ECDE79 #79ECDE #DE79EC
tetradic
#ECDE79 #79ECA5 #7987EC #EC79C0
square
#ECDE79 #79ECA5 #7987EC #EC79C0
split-complementary
#ECDE79 #79C0EC #A579EC
monochromatic
#CDB81D #E4D143 #ECDE79 #F4EBAF #FBF8E4

Accessibility & contrast

On white

1.37
#ECDE79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.29
#ECDE79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE79
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE79#FFFFFF#000000##000000
##ECDE791.001.3715.2915.29
#FFFFFF1.371.0021.0021.00
#00000015.2921.001.001.00
##00000015.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED870
Deuteranopia (green-blind)
#F3DF7D
Tritanopia (blue-blind)
#FBD2C6
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecde79;
/* rgb */ color: rgb(236, 222, 121);
/* oklch */ color: oklch(89.1% 0.124 101.5);
Tailwind
colors: {
  custom: {
    50: '#f4e8a2',
    500: '#ecde79',
    950: '#000000',
  },
}
SCSS
$custom: #ecde79;
$custom-light: #f4e8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde79",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 121
  },
  "hsl": {
    "h": 52.696,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.89113,
    "c": 0.12353,
    "h": 101.5
  },
  "luminance": 0.71456
}

Semantic roles & 50–950 ramp

primary
#ECDE79
secondary
#4454C5
accent
#27D70E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #ECDE79

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

Preview Lab → · Contrast checker → · Palette generator →

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