#ECD99B#ECD99B

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

Color values

HEX#ECD99B
RGBrgb(236, 217, 155)
HSLhsl(46, 68%, 77%)
HSVhsv(46, 34%, 93%)
CMYKcmyk(0%, 8.1%, 34.3%, 7.5%)
CIE-LABlab(86.91, -2.34, 32.96)
CIE-LCHlch(86.91, 33.05, 94.07°)
OKLaboklab(88.64% -0.0044 0.0821)
OKLCHoklch(88.64% 0.082 93.1)
XYZxyz(65.3223, 69.8271, 41.0410)
Luminance0.6983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD99B #9BAEEC
analogous
#ECB19B #ECD99B #D7EC9B
triadic
#ECD99B #9BECD9 #D99BEC
tetradic
#ECD99B #9BECB1 #9BAEEC #EC9BD7
square
#ECD99B #9BECB1 #9BAEEC #EC9BD7
split-complementary
#ECD99B #9BD7EC #B19BEC
monochromatic
#D8B234 #E2C568 #ECD99B #F6EDCE #FAF5E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD99B#FFFFFF#000000##000000
##ECD99B1.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)
#E6D697
Deuteranopia (green-blind)
#EBDC9D
Tritanopia (blue-blind)
#F8D0C9
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #ecd99b;
/* rgb */ color: rgb(236, 217, 155);
/* oklch */ color: oklch(88.6% 0.082 93.1);
Tailwind
colors: {
  custom: {
    50: '#f3e4b9',
    500: '#ecd99b',
    950: '#000000',
  },
}
SCSS
$custom: #ecd99b;
$custom-light: #f3e4b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd99b",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 155
  },
  "hsl": {
    "h": 45.926,
    "s": 68.067,
    "l": 76.667
  },
  "oklch": {
    "l": 0.88641,
    "c": 0.08219,
    "h": 93.1
  },
  "luminance": 0.69825
}

Semantic roles & 50–950 ramp

primary
#ECD99B
secondary
#637BC8
accent
#41D016
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD99B

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

Preview Lab → · Contrast checker → · Palette generator →

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