#ECDD99#ECDD99

#ECDD99 is a very light, moderate yellow. Relative luminance 0.718; OKLCH L 89.4% C 0.088 H 97.2°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#ECDD99
RGBrgb(236, 221, 153)
HSLhsl(49, 69%, 76%)
HSVhsv(49, 35%, 93%)
CMYKcmyk(0%, 6.4%, 35.2%, 7.5%)
CIE-LABlab(87.90, -4.62, 35.28)
CIE-LCHlch(87.90, 35.58, 97.45°)
OKLaboklab(89.41% -0.0111 0.0874)
OKLCHoklch(89.41% 0.088 97.2)
XYZxyz(66.1993, 71.8475, 40.5116)
Luminance0.7185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD99 #99A8EC
analogous
#ECB499 #ECDD99 #D2EC99
triadic
#ECDD99 #99ECDD #DD99EC
tetradic
#ECDD99 #99ECB4 #99A8EC #EC99D2
square
#ECDD99 #99ECB4 #99A8EC #EC99D2
split-complementary
#ECDD99 #99D2EC #B499EC
monochromatic
#D9BB32 #E2CC65 #ECDD99 #F6EECD #FAF6E5

Accessibility & contrast

On white

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

On black

15.37
#ECDD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD99
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD99#FFFFFF#000000##000000
##ECDD991.001.3715.3715.37
#FFFFFF1.371.0021.0021.00
#00000015.3721.001.001.00
##00000015.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD994
Deuteranopia (green-blind)
#EEDF9B
Tritanopia (blue-blind)
#F8D3CC
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecdd99;
/* rgb */ color: rgb(236, 221, 153);
/* oklch */ color: oklch(89.4% 0.088 97.2);
Tailwind
colors: {
  custom: {
    50: '#f3e7b7',
    500: '#ecdd99',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd99;
$custom-light: #f3e7b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd99",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 153
  },
  "hsl": {
    "h": 49.157,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.89406,
    "c": 0.08814,
    "h": 97.2
  },
  "luminance": 0.71846
}

Semantic roles & 50–950 ramp

primary
#ECDD99
secondary
#6274C8
accent
#37D115
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECDD99

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

Preview Lab → · Contrast checker → · Palette generator →

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