#ECFF42#ECFF42

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

Color values

HEX#ECFF42
RGBrgb(236, 255, 66)
HSLhsl(66, 100%, 63%)
HSVhsv(66, 74%, 100%)
CMYKcmyk(7.5%, 0%, 74.1%, 0%)
CIE-LABlab(95.89, -27.90, 81.71)
CIE-LCHlch(95.89, 86.34, 108.85°)
OKLaboklab(95.5% -0.0851 0.1796)
OKLCHoklch(95.5% 0.199 115.4)
XYZxyz(71.3374, 89.7474, 18.7182)
Luminance0.8975 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF42 #5542FF
analogous
#FFB442 #ECFF42 #8DFF42
triadic
#ECFF42 #42ECFF #FF42EC
tetradic
#ECFF42 #42FFB4 #5542FF #FF428D
square
#ECFF42 #42FFB4 #5542FF #FF428D
split-complementary
#ECFF42 #428DFF #B442FF
monochromatic
#B3C700 #E6FF05 #ECFF42 #F2FF7F #F8FFBC

Accessibility & contrast

On white

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

On black

18.95
#ECFF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF42
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF42#FFFFFF#000000##000000
##ECFF421.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecff42;
/* rgb */ color: rgb(236, 255, 66);
/* oklch */ color: oklch(95.5% 0.199 115.4);
Tailwind
colors: {
  custom: {
    50: '#f6ff84',
    500: '#ecff42',
    950: '#000000',
  },
}
SCSS
$custom: #ecff42;
$custom-light: #f6ff84;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff42",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 66
  },
  "hsl": {
    "h": 66.032,
    "s": 100,
    "l": 62.941
  },
  "oklch": {
    "l": 0.95503,
    "c": 0.19875,
    "h": 115.4
  },
  "luminance": 0.89746
}

Semantic roles & 50–950 ramp

primary
#ECFF42
secondary
#3322C3
accent
#00E617
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #ECFF42

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

Preview Lab → · Contrast checker → · Palette generator →

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