#ECDD92#ECDD92

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

Color values

HEX#ECDD92
RGBrgb(236, 221, 146)
HSLhsl(50, 70%, 75%)
HSVhsv(50, 38%, 93%)
CMYKcmyk(0%, 6.4%, 38.1%, 7.5%)
CIE-LABlab(87.79, -5.40, 38.68)
CIE-LCHlch(87.79, 39.06, 97.95°)
OKLaboklab(89.29% -0.0138 0.0951)
OKLCHoklch(89.29% 0.096 98.3)
XYZxyz(65.6380, 71.6230, 37.5556)
Luminance0.7162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD92 #92A1EC
analogous
#ECB092 #ECDD92 #CEEC92
triadic
#ECDD92 #92ECDD #DD92EC
tetradic
#ECDD92 #92ECB0 #92A1EC #EC92CE
square
#ECDD92 #92ECB0 #92A1EC #EC92CE
split-complementary
#ECDD92 #92CEEC #B092EC
monochromatic
#DABC2A #E3CD5E #ECDD92 #F5EDC6 #FAF7E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECDD92#FFFFFF#000000##000000
##ECDD921.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)
#EBD98D
Deuteranopia (green-blind)
#EFDF95
Tritanopia (blue-blind)
#F9D3CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #ecdd92;
/* rgb */ color: rgb(236, 221, 146);
/* oklch */ color: oklch(89.3% 0.096 98.3);
Tailwind
colors: {
  custom: {
    50: '#f3e7b3',
    500: '#ecdd92',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd92;
$custom-light: #f3e7b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd92",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 146
  },
  "hsl": {
    "h": 50,
    "s": 70.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.89285,
    "c": 0.09608,
    "h": 98.3
  },
  "luminance": 0.71621
}

Semantic roles & 50–950 ramp

primary
#ECDD92
secondary
#5B6DC7
accent
#33D213
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECDD92

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

Preview Lab → · Contrast checker → · Palette generator →

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