#ECFB66#ECFB66

#ECFB66 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 94.9% C 0.171 H 114.5°. Best body text is #000000 at 18.56:1 contrast (WCAG AA passes).

Color values

HEX#ECFB66
RGBrgb(236, 251, 102)
HSLhsl(66, 95%, 69%)
HSVhsv(66, 59%, 98%)
CMYKcmyk(6%, 0%, 59.4%, 1.6%)
CIE-LABlab(95.07, -24.04, 67.83)
CIE-LCHlch(95.07, 71.96, 109.52°)
OKLaboklab(94.92% -0.0711 0.1557)
OKLCHoklch(94.92% 0.171 114.5)
XYZxyz(71.4891, 87.7877, 25.7465)
Luminance0.8779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB66 #7566FB
analogous
#FBBF66 #ECFB66 #A2FB66
triadic
#ECFB66 #66ECFB #FB66EC
tetradic
#ECFB66 #66FBBF #7566FB #FB66A2
square
#ECFB66 #66FBBF #7566FB #FB66A2
split-complementary
#ECFB66 #66A2FB #BF66FB
monochromatic
#CBE106 #E5F92A #ECFB66 #F3FDA2 #FBFEDD

Accessibility & contrast

On white

1.13
#ECFB66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.56
#ECFB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB66
18.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB66#FFFFFF#000000##000000
##ECFB661.001.1318.5618.56
#FFFFFF1.131.0021.0021.00
#00000018.5621.001.001.00
##00000018.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF055
Deuteranopia (green-blind)
#FFF26F
Tritanopia (blue-blind)
#FAEEDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb66;
/* rgb */ color: rgb(236, 251, 102);
/* oklch */ color: oklch(94.9% 0.171 114.5);
Tailwind
colors: {
  custom: {
    50: '#f5fc97',
    500: '#ecfb66',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb66;
$custom-light: #f5fc97;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb66",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 102
  },
  "hsl": {
    "h": 66.04,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.94921,
    "c": 0.17114,
    "h": 114.5
  },
  "luminance": 0.87787
}

Semantic roles & 50–950 ramp

primary
#ECFB66
secondary
#4130D5
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFB66

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

Preview Lab → · Contrast checker → · Palette generator →

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