#ECF661#ECF661

#ECF661 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 93.8% C 0.170 H 112.8°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#ECF661
RGBrgb(236, 246, 97)
HSLhsl(64, 89%, 67%)
HSVhsv(64, 61%, 96%)
CMYKcmyk(4.1%, 0%, 60.6%, 3.5%)
CIE-LABlab(93.71, -22.00, 68.41)
CIE-LCHlch(93.71, 71.86, 107.83°)
OKLaboklab(93.82% -0.0658 0.1563)
OKLCHoklch(93.82% 0.17 112.8)
XYZxyz(69.7073, 84.6089, 23.9660)
Luminance0.8461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF661 #6B61F6
analogous
#F6B661 #ECF661 #A1F661
triadic
#ECF661 #61ECF6 #F661EC
tetradic
#ECF661 #61F6B6 #6B61F6 #F661A1
square
#ECF661 #61F6B6 #6B61F6 #F661A1
split-complementary
#ECF661 #61A1F6 #B661F6
monochromatic
#C4D10C #E5F327 #ECF661 #F3F99B #FAFDD5

Accessibility & contrast

On white

1.17
#ECF661 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.92
#ECF661 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF661
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF661#FFFFFF#000000##000000
##ECF6611.001.1717.9217.92
#FFFFFF1.171.0021.0021.00
#00000017.9221.001.001.00
##00000017.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB4F
Deuteranopia (green-blind)
#FFEF6A
Tritanopia (blue-blind)
#FBE8D7
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf661;
/* rgb */ color: rgb(236, 246, 97);
/* oklch */ color: oklch(93.8% 0.170 112.8);
Tailwind
colors: {
  custom: {
    50: '#f5f994',
    500: '#ecf661',
    950: '#000000',
  },
}
SCSS
$custom: #ecf661;
$custom-light: #f5f994;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf661",
  "rgb": {
    "r": 236,
    "g": 246,
    "b": 97
  },
  "hsl": {
    "h": 64.027,
    "s": 89.222,
    "l": 67.255
  },
  "oklch": {
    "l": 0.93822,
    "c": 0.16957,
    "h": 112.8
  },
  "luminance": 0.84607
}

Semantic roles & 50–950 ramp

primary
#ECF661
secondary
#3A2FCC
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF661

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

Preview Lab → · Contrast checker → · Palette generator →

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