#ECDE91#ECDE91

#ECDE91 is a very light, moderate yellow. Relative luminance 0.721; OKLCH L 89.5% C 0.098 H 99.2°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#ECDE91
RGBrgb(236, 222, 145)
HSLhsl(51, 71%, 75%)
HSVhsv(51, 39%, 93%)
CMYKcmyk(0%, 5.9%, 38.6%, 7.5%)
CIE-LABlab(88.03, -6.02, 39.50)
CIE-LCHlch(88.03, 39.95, 98.67°)
OKLaboklab(89.47% -0.0157 0.0969)
OKLCHoklch(89.47% 0.098 99.2)
XYZxyz(65.8254, 72.1217, 37.2360)
Luminance0.7212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDE91 #919FEC
analogous
#ECB091 #ECDE91 #CDEC91
triadic
#ECDE91 #91ECDE #DE91EC
tetradic
#ECDE91 #91ECB0 #919FEC #EC91CD
square
#ECDE91 #91ECB0 #919FEC #EC91CD
split-complementary
#ECDE91 #91CDEC #B091EC
monochromatic
#DABF29 #E3CE5D #ECDE91 #F5EEC5 #FAF7E5

Accessibility & contrast

On white

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

On black

15.42
#ECDE91 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDE91
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDE91#FFFFFF#000000##000000
##ECDE911.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECDA8B
Deuteranopia (green-blind)
#F0DF94
Tritanopia (blue-blind)
#F9D4CB
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #ecde91;
/* rgb */ color: rgb(236, 222, 145);
/* oklch */ color: oklch(89.5% 0.098 99.2);
Tailwind
colors: {
  custom: {
    50: '#f3e8b2',
    500: '#ecde91',
    950: '#000000',
  },
}
SCSS
$custom: #ecde91;
$custom-light: #f3e8b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecde91",
  "rgb": {
    "r": 236,
    "g": 222,
    "b": 145
  },
  "hsl": {
    "h": 50.769,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.89471,
    "c": 0.09817,
    "h": 99.2
  },
  "luminance": 0.7212
}

Semantic roles & 50–950 ramp

primary
#ECDE91
secondary
#5A6BC7
accent
#30D313
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECDE91

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

Preview Lab → · Contrast checker → · Palette generator →

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