#ECFF48#ECFF48

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

Color values

HEX#ECFF48
RGBrgb(236, 255, 72)
HSLhsl(66, 100%, 64%)
HSVhsv(66, 72%, 100%)
CMYKcmyk(7.5%, 0%, 71.8%, 0%)
CIE-LABlab(95.92, -27.64, 79.85)
CIE-LCHlch(95.92, 84.50, 109.09°)
OKLaboklab(95.54% -0.0839 0.1767)
OKLCHoklch(95.54% 0.196 115.4)
XYZxyz(71.5237, 89.8219, 19.6992)
Luminance0.8982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF48 #5B48FF
analogous
#FFB748 #ECFF48 #90FF48
triadic
#ECFF48 #48ECFF #FF48EC
tetradic
#ECFF48 #48FFB7 #5B48FF #FF4890
square
#ECFF48 #48FFB7 #5B48FF #FF4890
split-complementary
#ECFF48 #4890FF #B748FF
monochromatic
#B7CD00 #E6FF0B #ECFF48 #F2FF85 #F9FFC2

Accessibility & contrast

On white

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

On black

18.96
#ECFF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF48
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF48#FFFFFF#000000##000000
##ECFF481.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF223
Deuteranopia (green-blind)
#FFF557
Tritanopia (blue-blind)
#FBF0DC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecff48;
/* rgb */ color: rgb(236, 255, 72);
/* oklch */ color: oklch(95.5% 0.196 115.4);
Tailwind
colors: {
  custom: {
    50: '#f6ff87',
    500: '#ecff48',
    950: '#000000',
  },
}
SCSS
$custom: #ecff48;
$custom-light: #f6ff87;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff48",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 72
  },
  "hsl": {
    "h": 66.23,
    "s": 100,
    "l": 64.118
  },
  "oklch": {
    "l": 0.95538,
    "c": 0.19558,
    "h": 115.4
  },
  "luminance": 0.89821
}

Semantic roles & 50–950 ramp

primary
#ECFF48
secondary
#3423C8
accent
#00E618
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170C
muted
#86857F

Preview Lab

Preview with #ECFF48

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

Preview Lab → · Contrast checker → · Palette generator →

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