#ECD66A#ECD66A

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

Color values

HEX#ECD66A
RGBrgb(236, 214, 106)
HSLhsl(50, 77%, 67%)
HSVhsv(50, 55%, 93%)
CMYKcmyk(0%, 9.3%, 55.1%, 7.5%)
CIE-LABlab(85.49, -5.59, 55.30)
CIE-LCHlch(85.49, 55.58, 95.77°)
OKLaboklab(87.3% -0.0182 0.1293)
OKLCHoklch(87.3% 0.131 98)
XYZxyz(61.2424, 66.9691, 23.3333)
Luminance0.6697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD66A #6A80EC
analogous
#EC956A #ECD66A #C1EC6A
triadic
#ECD66A #6AECD6 #D66AEC
tetradic
#ECD66A #6AEC95 #6A80EC #EC6AC1
square
#ECD66A #6AEC95 #6A80EC #EC6AC1
split-complementary
#ECD66A #6AC1EC #956AEC
monochromatic
#C3A619 #E5C734 #ECD66A #F3E5A0 #FAF4D7

Accessibility & contrast

On white

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

On black

14.39
#ECD66A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD66A
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD66A#FFFFFF#000000##000000
##ECD66A1.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd66a;
/* rgb */ color: rgb(236, 214, 106);
/* oklch */ color: oklch(87.3% 0.131 98.0);
Tailwind
colors: {
  custom: {
    50: '#f5e298',
    500: '#ecd66a',
    950: '#000000',
  },
}
SCSS
$custom: #ecd66a;
$custom-light: #f5e298;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd66a",
  "rgb": {
    "r": 236,
    "g": 214,
    "b": 106
  },
  "hsl": {
    "h": 49.846,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.873,
    "c": 0.13059,
    "h": 98
  },
  "luminance": 0.66967
}

Semantic roles & 50–950 ramp

primary
#ECD66A
secondary
#3950C1
accent
#2FDA0C
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #ECD66A

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

Preview Lab → · Contrast checker → · Palette generator →

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