#ECFF5F#ECFF5F

#ECFF5F is a very light, vivid yellow. Relative luminance 0.902; OKLCH L 95.7% C 0.181 H 115.7°. Best body text is #000000 at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#ECFF5F
RGBrgb(236, 255, 95)
HSLhsl(67, 100%, 69%)
HSVhsv(67, 63%, 100%)
CMYKcmyk(7.5%, 0%, 62.7%, 0%)
CIE-LABlab(96.07, -26.39, 71.72)
CIE-LCHlch(96.07, 76.42, 110.20°)
OKLaboklab(95.71% -0.0783 0.163)
OKLCHoklch(95.71% 0.181 115.7)
XYZxyz(72.4193, 90.1801, 24.4158)
Luminance0.9018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF5F #725FFF
analogous
#FFC25F #ECFF5F #9CFF5F
triadic
#ECFF5F #5FECFF #FF5FEC
tetradic
#ECFF5F #5FFFC2 #725FFF #FF5F9C
square
#ECFF5F #5FFFC2 #725FFF #FF5F9C
split-complementary
#ECFF5F #5F9CFF #C25FFF
monochromatic
#C9E400 #E5FF22 #ECFF5F #F3FF9C #FBFFD9

Accessibility & contrast

On white

1.10
#ECFF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.04
#ECFF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF5F
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF5F#FFFFFF#000000##000000
##ECFF5F1.001.1019.0419.04
#FFFFFF1.101.0021.0021.00
#00000019.0421.001.001.00
##00000019.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF34A
Deuteranopia (green-blind)
#FFF56A
Tritanopia (blue-blind)
#FAF1DE
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecff5f;
/* rgb */ color: rgb(236, 255, 95);
/* oklch */ color: oklch(95.7% 0.181 115.7);
Tailwind
colors: {
  custom: {
    50: '#f5ff93',
    500: '#ecff5f',
    950: '#000000',
  },
}
SCSS
$custom: #ecff5f;
$custom-light: #f5ff93;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff5f",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 95
  },
  "hsl": {
    "h": 67.125,
    "s": 100,
    "l": 68.627
  },
  "oklch": {
    "l": 0.95705,
    "c": 0.18085,
    "h": 115.7
  },
  "luminance": 0.90179
}

Semantic roles & 50–950 ramp

primary
#ECFF5F
secondary
#3E29D9
accent
#00E61B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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