#ECF866#ECF866

#ECF866 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.3% C 0.168 H 113.6°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#ECF866
RGBrgb(236, 248, 102)
HSLhsl(65, 91%, 69%)
HSVhsv(65, 59%, 97%)
CMYKcmyk(4.8%, 0%, 58.9%, 2.7%)
CIE-LABlab(94.28, -22.62, 66.96)
CIE-LCHlch(94.28, 70.68, 108.66°)
OKLaboklab(94.29% -0.0671 0.1538)
OKLCHoklch(94.29% 0.168 113.6)
XYZxyz(70.5594, 85.9283, 25.4366)
Luminance0.8593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF866 #7266F8
analogous
#F8BB66 #ECF866 #A3F866
triadic
#ECF866 #66ECF8 #F866EC
tetradic
#ECF866 #66F8BB #7266F8 #F866A3
square
#ECF866 #66F8BB #7266F8 #F866A3
split-complementary
#ECF866 #66A3F8 #BB66F8
monochromatic
#C9DA0A #E5F52B #ECF866 #F3FBA1 #FBFDDB

Accessibility & contrast

On white

1.15
#ECF866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#ECF866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF866
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF866#FFFFFF#000000##000000
##ECF8661.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED55
Deuteranopia (green-blind)
#FFF06F
Tritanopia (blue-blind)
#FAEBD9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf866;
/* rgb */ color: rgb(236, 248, 102);
/* oklch */ color: oklch(94.3% 0.168 113.6);
Tailwind
colors: {
  custom: {
    50: '#f5fa97',
    500: '#ecf866',
    950: '#000000',
  },
}
SCSS
$custom: #ecf866;
$custom-light: #f5fa97;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf866",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 102
  },
  "hsl": {
    "h": 64.932,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.94289,
    "c": 0.16783,
    "h": 113.6
  },
  "luminance": 0.85927
}

Semantic roles & 50–950 ramp

primary
#ECF866
secondary
#3E31D2
accent
#00E613
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECF866

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

Preview Lab → · Contrast checker → · Palette generator →

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