#ECD99C#ECD99C

#ECD99C is a very light, moderate yellow. Relative luminance 0.699; OKLCH L 88.7% C 0.081 H 92.8°. Best body text is #000000 at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#ECD99C
RGBrgb(236, 217, 156)
HSLhsl(46, 68%, 77%)
HSVhsv(46, 34%, 93%)
CMYKcmyk(0%, 8.1%, 33.9%, 7.5%)
CIE-LABlab(86.93, -2.22, 32.47)
CIE-LCHlch(86.93, 32.55, 93.92°)
OKLaboklab(88.66% -0.004 0.0809)
OKLCHoklch(88.66% 0.081 92.8)
XYZxyz(65.4067, 69.8608, 41.4851)
Luminance0.6986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD99C #9CAFEC
analogous
#ECB19C #ECD99C #D7EC9C
triadic
#ECD99C #9CECD9 #D99CEC
tetradic
#ECD99C #9CECB1 #9CAFEC #EC9CD7
square
#ECD99C #9CECB1 #9CAFEC #EC9CD7
split-complementary
#ECD99C #9CD7EC #B19CEC
monochromatic
#D8B235 #E2C569 #ECD99C #F6EDCF #FAF5E5

Accessibility & contrast

On white

1.40
#ECD99C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.97
#ECD99C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD99C
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD99C#FFFFFF#000000##000000
##ECD99C1.001.4014.9714.97
#FFFFFF1.401.0021.0021.00
#00000014.9721.001.001.00
##00000014.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D698
Deuteranopia (green-blind)
#EBDC9E
Tritanopia (blue-blind)
#F8D0C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecd99c;
/* rgb */ color: rgb(236, 217, 156);
/* oklch */ color: oklch(88.7% 0.081 92.8);
Tailwind
colors: {
  custom: {
    50: '#f3e4b9',
    500: '#ecd99c',
    950: '#000000',
  },
}
SCSS
$custom: #ecd99c;
$custom-light: #f3e4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd99c",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 156
  },
  "hsl": {
    "h": 45.75,
    "s": 67.797,
    "l": 76.863
  },
  "oklch": {
    "l": 0.88659,
    "c": 0.08104,
    "h": 92.8
  },
  "luminance": 0.69859
}

Semantic roles & 50–950 ramp

primary
#ECD99C
secondary
#647CC8
accent
#42D016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD99C

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

Preview Lab → · Contrast checker → · Palette generator →

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