#ECD96D#ECD96D

#ECD96D is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.9% C 0.130 H 99.5°. Best body text is #000000 at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#ECD96D
RGBrgb(236, 217, 109)
HSLhsl(51, 77%, 68%)
HSVhsv(51, 54%, 93%)
CMYKcmyk(0%, 8.1%, 53.8%, 7.5%)
CIE-LABlab(86.29, -6.88, 54.84)
CIE-LCHlch(86.29, 55.27, 97.15°)
OKLaboklab(87.94% -0.0215 0.1286)
OKLCHoklch(87.94% 0.13 99.5)
XYZxyz(62.1674, 68.5651, 24.4248)
Luminance0.6856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD96D #6D80EC
analogous
#EC9A6D #ECD96D #BFEC6D
triadic
#ECD96D #6DECD9 #D96DEC
tetradic
#ECD96D #6DEC9A #6D80EC #EC6DBF
square
#ECD96D #6DEC9A #6D80EC #EC6DBF
split-complementary
#ECD96D #6DBFEC #9A6DEC
monochromatic
#C5AB1A #E5CB37 #ECD96D #F3E7A3 #FAF5D9

Accessibility & contrast

On white

1.43
#ECD96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.71
#ECD96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD96D
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD96D#FFFFFF#000000##000000
##ECD96D1.001.4314.7114.71
#FFFFFF1.431.0021.0021.00
#00000014.7121.001.001.00
##00000014.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD463
Deuteranopia (green-blind)
#F0DB72
Tritanopia (blue-blind)
#FCCCC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd96d;
/* rgb */ color: rgb(236, 217, 109);
/* oklch */ color: oklch(87.9% 0.130 99.5);
Tailwind
colors: {
  custom: {
    50: '#f5e49a',
    500: '#ecd96d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd96d;
$custom-light: #f5e49a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd96d",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 51.024,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87944,
    "c": 0.13043,
    "h": 99.5
  },
  "luminance": 0.68563
}

Semantic roles & 50–950 ramp

primary
#ECD96D
secondary
#3A4FC3
accent
#2BD90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD96D

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

Preview Lab → · Contrast checker → · Palette generator →

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