#ECD66D#ECD66D

#ECD66D is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.3% C 0.128 H 97.7°. Best body text is #000000 at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#ECD66D
RGBrgb(236, 214, 109)
HSLhsl(50, 77%, 68%)
HSVhsv(50, 54%, 93%)
CMYKcmyk(0%, 9.3%, 53.8%, 7.5%)
CIE-LABlab(85.52, -5.36, 53.94)
CIE-LCHlch(85.52, 54.20, 95.67°)
OKLaboklab(87.34% -0.0171 0.1267)
OKLCHoklch(87.34% 0.128 97.7)
XYZxyz(61.4011, 67.0326, 24.1693)
Luminance0.6703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD66D #6D83EC
analogous
#EC966D #ECD66D #C3EC6D
triadic
#ECD66D #6DECD6 #D66DEC
tetradic
#ECD66D #6DEC96 #6D83EC #EC6DC3
square
#ECD66D #6DEC96 #6D83EC #EC6DC3
split-complementary
#ECD66D #6DC3EC #966DEC
monochromatic
#C5A71A #E5C737 #ECD66D #F3E5A3 #FAF4D9

Accessibility & contrast

On white

1.46
#ECD66D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.41
#ECD66D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD66D
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD66D#FFFFFF#000000##000000
##ECD66D1.001.4614.4114.41
#FFFFFF1.461.0021.0021.00
#00000014.4121.001.001.00
##00000014.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D163
Deuteranopia (green-blind)
#EED972
Tritanopia (blue-blind)
#FCC9BE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #ecd66d;
/* rgb */ color: rgb(236, 214, 109);
/* oklch */ color: oklch(87.3% 0.128 97.7);
Tailwind
colors: {
  custom: {
    50: '#f5e299',
    500: '#ecd66d',
    950: '#000000',
  },
}
SCSS
$custom: #ecd66d;
$custom-light: #f5e299;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd66d",
  "rgb": {
    "r": 236,
    "g": 214,
    "b": 109
  },
  "hsl": {
    "h": 49.606,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.87336,
    "c": 0.12785,
    "h": 97.7
  },
  "luminance": 0.6703
}

Semantic roles & 50–950 ramp

primary
#ECD66D
secondary
#3A52C3
accent
#30D90C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD66D

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

Preview Lab → · Contrast checker → · Palette generator →

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