#ECDD91#ECDD91

#ECDD91 is a very light, moderate yellow. Relative luminance 0.716; OKLCH L 89.3% C 0.097 H 98.4°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#ECDD91
RGBrgb(236, 221, 145)
HSLhsl(50, 71%, 75%)
HSVhsv(50, 39%, 93%)
CMYKcmyk(0%, 6.4%, 38.6%, 7.5%)
CIE-LABlab(87.77, -5.51, 39.17)
CIE-LCHlch(87.77, 39.55, 98.01°)
OKLaboklab(89.27% -0.0142 0.0962)
OKLCHoklch(89.27% 0.097 98.4)
XYZxyz(65.5606, 71.5921, 37.1477)
Luminance0.7159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD91 #91A0EC
analogous
#ECB091 #ECDD91 #CEEC91
triadic
#ECDD91 #91ECDD #DD91EC
tetradic
#ECDD91 #91ECB0 #91A0EC #EC91CE
square
#ECDD91 #91ECB0 #91A0EC #EC91CE
split-complementary
#ECDD91 #91CEEC #B091EC
monochromatic
#DABD29 #E3CD5D #ECDD91 #F5EDC5 #FAF7E5

Accessibility & contrast

On white

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

On black

15.32
#ECDD91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD91
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD91#FFFFFF#000000##000000
##ECDD911.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD98B
Deuteranopia (green-blind)
#EFDF94
Tritanopia (blue-blind)
#F9D3CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecdd91;
/* rgb */ color: rgb(236, 221, 145);
/* oklch */ color: oklch(89.3% 0.097 98.4);
Tailwind
colors: {
  custom: {
    50: '#f3e7b2',
    500: '#ecdd91',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd91;
$custom-light: #f3e7b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd91",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 145
  },
  "hsl": {
    "h": 50.11,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.89269,
    "c": 0.09719,
    "h": 98.4
  },
  "luminance": 0.7159
}

Semantic roles & 50–950 ramp

primary
#ECDD91
secondary
#5A6CC7
accent
#33D313
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECDD91

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

Preview Lab → · Contrast checker → · Palette generator →

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