#ECD96F#ECD96F

#ECD96F is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 88.0% C 0.129 H 99.3°. Best body text is #000000 at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#ECD96F
RGBrgb(236, 217, 111)
HSLhsl(51, 77%, 68%)
HSVhsv(51, 53%, 93%)
CMYKcmyk(0%, 8.1%, 53%, 7.5%)
CIE-LABlab(86.31, -6.72, 53.93)
CIE-LCHlch(86.31, 54.35, 97.10°)
OKLaboklab(87.97% -0.0208 0.1269)
OKLCHoklch(87.97% 0.129 99.3)
XYZxyz(62.2762, 68.6087, 24.9982)
Luminance0.6861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD96F #6F82EC
analogous
#EC9A6F #ECD96F #C0EC6F
triadic
#ECD96F #6FECD9 #D96FEC
tetradic
#ECD96F #6FEC9A #6F82EC #EC6FC0
square
#ECD96F #6FEC9A #6F82EC #EC6FC0
split-complementary
#ECD96F #6FC0EC #9A6FEC
monochromatic
#C6AC1A #E5CB39 #ECD96F #F3E7A5 #FAF6DB

Accessibility & contrast

On white

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

On black

14.72
#ECD96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD96F
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD96F#FFFFFF#000000##000000
##ECD96F1.001.4314.7214.72
#FFFFFF1.431.0021.0021.00
#00000014.7221.001.001.00
##00000014.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD465
Deuteranopia (green-blind)
#F0DB74
Tritanopia (blue-blind)
#FCCCC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd96f;
/* rgb */ color: rgb(236, 217, 111);
/* oklch */ color: oklch(88.0% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#f4e49b',
    500: '#ecd96f',
    950: '#000000',
  },
}
SCSS
$custom: #ecd96f;
$custom-light: #f4e49b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd96f",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 111
  },
  "hsl": {
    "h": 50.88,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.87969,
    "c": 0.12857,
    "h": 99.3
  },
  "luminance": 0.68606
}

Semantic roles & 50–950 ramp

primary
#ECD96F
secondary
#3B50C4
accent
#2CD90D
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD96F

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

Preview Lab → · Contrast checker → · Palette generator →

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