#ECFF40#ECFF40

#ECFF40 is a very light, vivid yellow. Relative luminance 0.897; OKLCH L 95.5% C 0.200 H 115.3°. Best body text is #000000 at 18.94:1 contrast (WCAG AA passes).

Color values

HEX#ECFF40
RGBrgb(236, 255, 64)
HSLhsl(66, 100%, 63%)
HSVhsv(66, 75%, 100%)
CMYKcmyk(7.5%, 0%, 74.9%, 0%)
CIE-LABlab(95.88, -27.98, 82.30)
CIE-LCHlch(95.88, 86.93, 108.78°)
OKLaboklab(95.49% -0.0855 0.1805)
OKLCHoklch(95.49% 0.2 115.3)
XYZxyz(71.2795, 89.7242, 18.4131)
Luminance0.8972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF40 #5340FF
analogous
#FFB340 #ECFF40 #8CFF40
triadic
#ECFF40 #40ECFF #FF40EC
tetradic
#ECFF40 #40FFB3 #5340FF #FF408C
square
#ECFF40 #40FFB3 #5340FF #FF408C
split-complementary
#ECFF40 #408CFF #B340FF
monochromatic
#B1C500 #E6FF03 #ECFF40 #F2FF7D #F8FFBA

Accessibility & contrast

On white

1.11
#ECFF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.94
#ECFF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF40
18.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF40#FFFFFF#000000##000000
##ECFF401.001.1118.9418.94
#FFFFFF1.111.0021.0021.00
#00000018.9421.001.001.00
##00000018.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF208
Deuteranopia (green-blind)
#FFF551
Tritanopia (blue-blind)
#FBF0DB
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecff40;
/* rgb */ color: rgb(236, 255, 64);
/* oklch */ color: oklch(95.5% 0.200 115.3);
Tailwind
colors: {
  custom: {
    50: '#f6ff83',
    500: '#ecff40',
    950: '#000000',
  },
}
SCSS
$custom: #ecff40;
$custom-light: #f6ff83;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff40",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 64
  },
  "hsl": {
    "h": 65.969,
    "s": 100,
    "l": 62.549
  },
  "oklch": {
    "l": 0.95493,
    "c": 0.19976,
    "h": 115.3
  },
  "luminance": 0.89723
}

Semantic roles & 50–950 ramp

primary
#ECFF40
secondary
#3222C1
accent
#00E617
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #ECFF40

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

Preview Lab → · Contrast checker → · Palette generator →

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