#ECFF52#ECFF52

#ECFF52 is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 95.6% C 0.190 H 115.5°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#ECFF52
RGBrgb(236, 255, 82)
HSLhsl(67, 100%, 66%)
HSVhsv(67, 68%, 100%)
CMYKcmyk(7.5%, 0%, 67.8%, 0%)
CIE-LABlab(95.98, -27.15, 76.50)
CIE-LCHlch(95.98, 81.17, 109.54°)
OKLaboklab(95.6% -0.0817 0.1712)
OKLCHoklch(95.6% 0.19 115.5)
XYZxyz(71.8769, 89.9632, 21.5592)
Luminance0.8996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF52 #6552FF
analogous
#FFBC52 #ECFF52 #95FF52
triadic
#ECFF52 #52ECFF #FF52EC
tetradic
#ECFF52 #52FFBC #6552FF #FF5295
square
#ECFF52 #52FFBC #6552FF #FF5295
split-complementary
#ECFF52 #5295FF #BC52FF
monochromatic
#BFD700 #E5FF15 #ECFF52 #F3FF8F #F9FFCC

Accessibility & contrast

On white

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

On black

18.99
#ECFF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF52
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF52#FFFFFF#000000##000000
##ECFF521.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF236
Deuteranopia (green-blind)
#FFF55F
Tritanopia (blue-blind)
#FBF1DD
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecff52;
/* rgb */ color: rgb(236, 255, 82);
/* oklch */ color: oklch(95.6% 0.190 115.5);
Tailwind
colors: {
  custom: {
    50: '#f6ff8c',
    500: '#ecff52',
    950: '#000000',
  },
}
SCSS
$custom: #ecff52;
$custom-light: #f6ff8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff52",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 82
  },
  "hsl": {
    "h": 66.59,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.95604,
    "c": 0.18967,
    "h": 115.5
  },
  "luminance": 0.89962
}

Semantic roles & 50–950 ramp

primary
#ECFF52
secondary
#3825D0
accent
#00E619
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECFF52

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

Preview Lab → · Contrast checker → · Palette generator →

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