#ECD99D#ECD99D

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

Color values

HEX#ECD99D
RGBrgb(236, 217, 157)
HSLhsl(46, 68%, 77%)
HSVhsv(46, 33%, 93%)
CMYKcmyk(0%, 8.1%, 33.5%, 7.5%)
CIE-LABlab(86.95, -2.11, 31.98)
CIE-LCHlch(86.95, 32.05, 93.77°)
OKLaboklab(88.68% -0.0036 0.0798)
OKLCHoklch(88.68% 0.08 92.6)
XYZxyz(65.4917, 69.8949, 41.9329)
Luminance0.6989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD99D #9DB0EC
analogous
#ECB29D #ECD99D #D7EC9D
triadic
#ECD99D #9DECD9 #D99DEC
tetradic
#ECD99D #9DECB2 #9DB0EC #EC9DD7
square
#ECD99D #9DECB2 #9DB0EC #EC9DD7
split-complementary
#ECD99D #9DD7EC #B29DEC
monochromatic
#D8B136 #E2C56A #ECD99D #F6EDD0 #FAF5E5

Accessibility & contrast

On white

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

On black

14.98
#ECD99D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD99D
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD99D#FFFFFF#000000##000000
##ECD99D1.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd99d;
/* rgb */ color: rgb(236, 217, 157);
/* oklch */ color: oklch(88.7% 0.080 92.6);
Tailwind
colors: {
  custom: {
    50: '#f3e4ba',
    500: '#ecd99d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd99d;
$custom-light: #f3e4ba;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd99d",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 157
  },
  "hsl": {
    "h": 45.57,
    "s": 67.521,
    "l": 77.059
  },
  "oklch": {
    "l": 0.88678,
    "c": 0.07988,
    "h": 92.6
  },
  "luminance": 0.69893
}

Semantic roles & 50–950 ramp

primary
#ECD99D
secondary
#657DC8
accent
#43CF16
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD99D

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

Preview Lab → · Contrast checker → · Palette generator →

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