#ECDD93#ECDD93

#ECDD93 is a very light, moderate yellow. Relative luminance 0.717; OKLCH L 89.3% C 0.095 H 98.1°. Best body text is #000000 at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#ECDD93
RGBrgb(236, 221, 147)
HSLhsl(50, 70%, 75%)
HSVhsv(50, 38%, 93%)
CMYKcmyk(0%, 6.4%, 37.7%, 7.5%)
CIE-LABlab(87.80, -5.29, 38.20)
CIE-LCHlch(87.80, 38.56, 97.89°)
OKLaboklab(89.3% -0.0134 0.094)
OKLCHoklch(89.3% 0.095 98.1)
XYZxyz(65.7162, 71.6543, 37.9670)
Luminance0.7165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECDD93 #93A2EC
analogous
#ECB193 #ECDD93 #CEEC93
triadic
#ECDD93 #93ECDD #DD93EC
tetradic
#ECDD93 #93ECB1 #93A2EC #EC93CE
square
#ECDD93 #93ECB1 #93A2EC #EC93CE
split-complementary
#ECDD93 #93CEEC #B193EC
monochromatic
#DABC2B #E3CD5F #ECDD93 #F5EDC7 #FAF7E5

Accessibility & contrast

On white

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

On black

15.33
#ECDD93 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECDD93
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECDD93#FFFFFF#000000##000000
##ECDD931.001.3715.3315.33
#FFFFFF1.371.0021.0021.00
#00000015.3321.001.001.00
##00000015.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecdd93;
/* rgb */ color: rgb(236, 221, 147);
/* oklch */ color: oklch(89.3% 0.095 98.1);
Tailwind
colors: {
  custom: {
    50: '#f3e7b3',
    500: '#ecdd93',
    950: '#000000',
  },
}
SCSS
$custom: #ecdd93;
$custom-light: #f3e7b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecdd93",
  "rgb": {
    "r": 236,
    "g": 221,
    "b": 147
  },
  "hsl": {
    "h": 49.888,
    "s": 70.079,
    "l": 75.098
  },
  "oklch": {
    "l": 0.89302,
    "c": 0.09495,
    "h": 98.1
  },
  "luminance": 0.71652
}

Semantic roles & 50–950 ramp

primary
#ECDD93
secondary
#5C6EC7
accent
#34D213
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171611
muted
#858481

Preview Lab

Preview with #ECDD93

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

Preview Lab → · Contrast checker → · Palette generator →

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