#ECD661#ECD661

#ECD661 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.2% C 0.138 H 98.8°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#ECD661
RGBrgb(236, 214, 97)
HSLhsl(51, 79%, 65%)
HSVhsv(51, 59%, 93%)
CMYKcmyk(0%, 9.3%, 58.9%, 7.5%)
CIE-LABlab(85.40, -6.25, 59.28)
CIE-LCHlch(85.40, 59.61, 96.02°)
OKLaboklab(87.2% -0.0211 0.1369)
OKLCHoklch(87.2% 0.138 98.8)
XYZxyz(60.7987, 66.7917, 20.9965)
Luminance0.6679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD661 #6177EC
analogous
#EC9161 #ECD661 #BCEC61
triadic
#ECD661 #61ECD6 #D661EC
tetradic
#ECD661 #61EC91 #6177EC #EC61BC
square
#ECD661 #61EC91 #6177EC #EC61BC
split-complementary
#ECD661 #61BCEC #9161EC
monochromatic
#BCA217 #E5C82A #ECD661 #F3E498 #F9F2CE

Accessibility & contrast

On white

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

On black

14.36
#ECD661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD661
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD661#FFFFFF#000000##000000
##ECD6611.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D155
Deuteranopia (green-blind)
#EFD967
Tritanopia (blue-blind)
#FDC8BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd661;
/* rgb */ color: rgb(236, 214, 97);
/* oklch */ color: oklch(87.2% 0.138 98.8);
Tailwind
colors: {
  custom: {
    50: '#f5e292',
    500: '#ecd661',
    950: '#000000',
  },
}
SCSS
$custom: #ecd661;
$custom-light: #f5e292;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd661",
  "rgb": {
    "r": 236,
    "g": 214,
    "b": 97
  },
  "hsl": {
    "h": 50.504,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.872,
    "c": 0.13847,
    "h": 98.8
  },
  "luminance": 0.66789
}

Semantic roles & 50–950 ramp

primary
#ECD661
secondary
#364BBB
accent
#2CDB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD661

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

Preview Lab → · Contrast checker → · Palette generator →

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