#ECDD96#ECDD96

#ECDD96 is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.4% C 0.092 H 97.7°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#ECDD96
RGBrgb(236, 221, 150)
HSLhsl(50, 69%, 76%)
HSVhsv(50, 36%, 93%)
CMYKcmyk(0%, 6.4%, 36.4%, 7.5%)
CIE-LABlab(87.85, -4.96, 36.74)
CIE-LCHlch(87.85, 37.08, 97.69°)
OKLaboklab(89.35% -0.0123 0.0907)
OKLCHoklch(89.35% 0.092 97.7)
XYZxyz(65.9546, 71.7497, 39.2230)
Luminance0.7175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD96 #96A5EC
analogous
#ECB296 #ECDD96 #D0EC96
triadic
#ECDD96 #96ECDD #DD96EC
tetradic
#ECDD96 #96ECB2 #96A5EC #EC96D0
square
#ECDD96 #96ECB2 #96A5EC #EC96D0
split-complementary
#ECDD96 #96D0EC #B296EC
monochromatic
#D9BB2E #E3CC62 #ECDD96 #F5EECA #FAF7E5

Accessibility & contrast

On white

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

On black

15.35
#ECDD96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD96
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD96#FFFFFF#000000##000000
##ECDD961.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD991
Deuteranopia (green-blind)
#EFDF99
Tritanopia (blue-blind)
#F9D3CB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecdd96;
/* rgb */ color: rgb(236, 221, 150);
/* oklch */ color: oklch(89.4% 0.092 97.7);
Tailwind
colors: {
  custom: {
    50: '#f3e7b5',
    500: '#ecdd96',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd96;
$custom-light: #f3e7b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd96",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 150
  },
  "hsl": {
    "h": 49.535,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.89354,
    "c": 0.09156,
    "h": 97.7
  },
  "luminance": 0.71748
}

Semantic roles & 50–950 ramp

primary
#ECDD96
secondary
#5F71C7
accent
#35D114
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECDD96

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

Preview Lab → · Contrast checker → · Palette generator →

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