#ECDD97#ECDD97

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

Color values

HEX#ECDD97
RGBrgb(236, 221, 151)
HSLhsl(49, 69%, 76%)
HSVhsv(49, 36%, 93%)
CMYKcmyk(0%, 6.4%, 36%, 7.5%)
CIE-LABlab(87.86, -4.84, 36.26)
CIE-LCHlch(87.86, 36.58, 97.61°)
OKLaboklab(89.37% -0.0119 0.0896)
OKLCHoklch(89.37% 0.09 97.5)
XYZxyz(66.0355, 71.7820, 39.6489)
Luminance0.7178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD97 #97A6EC
analogous
#ECB297 #ECDD97 #D0EC97
triadic
#ECDD97 #97ECDD #DD97EC
tetradic
#ECDD97 #97ECB2 #97A6EC #EC97D0
square
#ECDD97 #97ECB2 #97A6EC #EC97D0
split-complementary
#ECDD97 #97D0EC #B297EC
monochromatic
#D9BB30 #E3CC63 #ECDD97 #F5EECB #FAF7E5

Accessibility & contrast

On white

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

On black

15.36
#ECDD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD97
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD97#FFFFFF#000000##000000
##ECDD971.001.3715.3615.36
#FFFFFF1.371.0021.0021.00
#00000015.3621.001.001.00
##00000015.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD992
Deuteranopia (green-blind)
#EFDF9A
Tritanopia (blue-blind)
#F8D3CB
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecdd97;
/* rgb */ color: rgb(236, 221, 151);
/* oklch */ color: oklch(89.4% 0.090 97.5);
Tailwind
colors: {
  custom: {
    50: '#f3e7b6',
    500: '#ecdd97',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd97;
$custom-light: #f3e7b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd97",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 151
  },
  "hsl": {
    "h": 49.412,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.89371,
    "c": 0.09043,
    "h": 97.5
  },
  "luminance": 0.7178
}

Semantic roles & 50–950 ramp

primary
#ECDD97
secondary
#6072C8
accent
#36D114
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECDD97

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

Preview Lab → · Contrast checker → · Palette generator →

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