#ECD996#ECD996

#ECD996 is a very light, moderate yellow. Relative luminance 0.697; OKLCH L 88.5% C 0.088 H 94.2°. Best body text is #000000 at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#ECD996
RGBrgb(236, 217, 150)
HSLhsl(47, 69%, 76%)
HSVhsv(47, 36%, 93%)
CMYKcmyk(0%, 8.1%, 36.4%, 7.5%)
CIE-LABlab(86.83, -2.92, 35.41)
CIE-LCHlch(86.83, 35.53, 94.72°)
OKLaboklab(88.55% -0.0064 0.0876)
OKLCHoklch(88.55% 0.088 94.2)
XYZxyz(64.9111, 69.6626, 38.8752)
Luminance0.6966 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD996 #96A9EC
analogous
#ECAE96 #ECD996 #D4EC96
triadic
#ECD996 #96ECD9 #D996EC
tetradic
#ECD996 #96ECAE #96A9EC #EC96D4
square
#ECD996 #96ECAE #96A9EC #EC96D4
split-complementary
#ECD996 #96D4EC #AE96EC
monochromatic
#D9B32E #E3C662 #ECD996 #F5ECCA #FAF6E5

Accessibility & contrast

On white

1.41
#ECD996 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.93
#ECD996 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD996
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD996#FFFFFF#000000##000000
##ECD9961.001.4114.9314.93
#FFFFFF1.411.0021.0021.00
#00000014.9321.001.001.00
##00000014.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D691
Deuteranopia (green-blind)
#ECDC98
Tritanopia (blue-blind)
#F9CFC8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #ecd996;
/* rgb */ color: rgb(236, 217, 150);
/* oklch */ color: oklch(88.5% 0.088 94.2);
Tailwind
colors: {
  custom: {
    50: '#f3e4b5',
    500: '#ecd996',
    950: '#000000',
  },
}
SCSS
$custom: #ecd996;
$custom-light: #f3e4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd996",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 150
  },
  "hsl": {
    "h": 46.744,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.8855,
    "c": 0.08787,
    "h": 94.2
  },
  "luminance": 0.69661
}

Semantic roles & 50–950 ramp

primary
#ECD996
secondary
#5F76C7
accent
#3ED114
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #ECD996

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

Preview Lab → · Contrast checker → · Palette generator →

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