#ECD99A#ECD99A

#ECD99A is a very light, moderate yellow. Relative luminance 0.698; OKLCH L 88.6% C 0.083 H 93.3°. Best body text is #000000 at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#ECD99A
RGBrgb(236, 217, 154)
HSLhsl(46, 68%, 76%)
HSVhsv(46, 35%, 93%)
CMYKcmyk(0%, 8.1%, 34.7%, 7.5%)
CIE-LABlab(86.90, -2.46, 33.45)
CIE-LCHlch(86.90, 33.54, 94.21°)
OKLaboklab(88.62% -0.0048 0.0832)
OKLCHoklch(88.62% 0.083 93.3)
XYZxyz(65.2387, 69.7937, 40.6006)
Luminance0.6979 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD99A #9AADEC
analogous
#ECB09A #ECD99A #D6EC9A
triadic
#ECD99A #9AECD9 #D99AEC
tetradic
#ECD99A #9AECB0 #9AADEC #EC9AD6
square
#ECD99A #9AECB0 #9AADEC #EC9AD6
split-complementary
#ECD99A #9AD6EC #B09AEC
monochromatic
#D9B233 #E2C666 #ECD99A #F6ECCE #FAF5E5

Accessibility & contrast

On white

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

On black

14.96
#ECD99A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD99A
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD99A#FFFFFF#000000##000000
##ECD99A1.001.4014.9614.96
#FFFFFF1.401.0021.0021.00
#00000014.9621.001.001.00
##00000014.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd99a;
/* rgb */ color: rgb(236, 217, 154);
/* oklch */ color: oklch(88.6% 0.083 93.3);
Tailwind
colors: {
  custom: {
    50: '#f3e4b8',
    500: '#ecd99a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd99a;
$custom-light: #f3e4b8;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd99a",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 154
  },
  "hsl": {
    "h": 46.098,
    "s": 68.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.88622,
    "c": 0.08333,
    "h": 93.3
  },
  "luminance": 0.69792
}

Semantic roles & 50–950 ramp

primary
#ECD99A
secondary
#627AC8
accent
#41D015
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD99A

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

Preview Lab → · Contrast checker → · Palette generator →

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