#ECDE99#ECDE99

#ECDE99 is a very light, moderate yellow. Relative luminance 0.724; OKLCH L 89.6% C 0.089 H 98.1°. Best body text is #000000 at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#ECDE99
RGBrgb(236, 222, 153)
HSLhsl(50, 69%, 76%)
HSVhsv(50, 35%, 93%)
CMYKcmyk(0%, 5.9%, 35.2%, 7.5%)
CIE-LABlab(88.15, -5.12, 35.62)
CIE-LCHlch(88.15, 35.98, 98.18°)
OKLaboklab(89.61% -0.0125 0.0882)
OKLCHoklch(89.61% 0.089 98.1)
XYZxyz(66.4641, 72.3772, 40.5999)
Luminance0.7238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE99 #99A7EC
analogous
#ECB599 #ECDE99 #D1EC99
triadic
#ECDE99 #99ECDE #DE99EC
tetradic
#ECDE99 #99ECB5 #99A7EC #EC99D1
square
#ECDE99 #99ECB5 #99A7EC #EC99D1
split-complementary
#ECDE99 #99D1EC #B599EC
monochromatic
#D9BD32 #E2CD65 #ECDE99 #F6EFCD #FAF7E5

Accessibility & contrast

On white

1.36
#ECDE99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.48
#ECDE99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE99
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE99#FFFFFF#000000##000000
##ECDE991.001.3615.4815.48
#FFFFFF1.361.0021.0021.00
#00000015.4821.001.001.00
##00000015.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBDA94
Deuteranopia (green-blind)
#EFDF9B
Tritanopia (blue-blind)
#F8D4CC
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ecde99;
/* rgb */ color: rgb(236, 222, 153);
/* oklch */ color: oklch(89.6% 0.089 98.1);
Tailwind
colors: {
  custom: {
    50: '#f3e8b7',
    500: '#ecde99',
    950: '#000000',
  },
}
SCSS
$custom: #ecde99;
$custom-light: #f3e8b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde99",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 153
  },
  "hsl": {
    "h": 49.88,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.89608,
    "c": 0.08911,
    "h": 98.1
  },
  "luminance": 0.72375
}

Semantic roles & 50–950 ramp

primary
#ECDE99
secondary
#6273C8
accent
#35D115
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECDE99

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

Preview Lab → · Contrast checker → · Palette generator →

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