#ECF66F#ECF66F

#ECF66F is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 94.0% C 0.158 H 112.9°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#ECF66F
RGBrgb(236, 246, 111)
HSLhsl(64, 88%, 70%)
HSVhsv(64, 55%, 96%)
CMYKcmyk(4.1%, 0%, 54.9%, 3.5%)
CIE-LABlab(93.84, -21.00, 62.63)
CIE-LCHlch(93.84, 66.06, 108.54°)
OKLaboklab(93.96% -0.0616 0.1456)
OKLCHoklch(93.96% 0.158 112.9)
XYZxyz(70.4186, 84.8934, 27.7124)
Luminance0.8489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF66F #796FF6
analogous
#F6BC6F #ECF66F #A9F66F
triadic
#ECF66F #6FECF6 #F66FEC
tetradic
#ECF66F #6FF6BC #796FF6 #F66FA9
square
#ECF66F #6FF6BC #796FF6 #F66FA9
split-complementary
#ECF66F #6FA9F6 #BC6FF6
monochromatic
#CDDD0E #E4F235 #ECF66F #F4FAA9 #FBFDE2

Accessibility & contrast

On white

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

On black

17.98
#ECF66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF66F
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF66F#FFFFFF#000000##000000
##ECF66F1.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC61
Deuteranopia (green-blind)
#FFEF77
Tritanopia (blue-blind)
#FAE9D8
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf66f;
/* rgb */ color: rgb(236, 246, 111);
/* oklch */ color: oklch(94.0% 0.158 112.9);
Tailwind
colors: {
  custom: {
    50: '#f5f99c',
    500: '#ecf66f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf66f;
$custom-light: #f5f99c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf66f",
  "rgb": {
    "r": 236,
    "g": 246,
    "b": 111
  },
  "hsl": {
    "h": 64.444,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.9396,
    "c": 0.15814,
    "h": 112.9
  },
  "luminance": 0.84892
}

Semantic roles & 50–950 ramp

primary
#ECF66F
secondary
#4439D0
accent
#01E512
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF66F

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

Preview Lab → · Contrast checker → · Palette generator →

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