#ECFF7D#ECFF7D

#ECFF7D is a very light, vivid yellow. Relative luminance 0.908; OKLCH L 96.0% C 0.156 H 116.3°. Best body text is #000000 at 19.17:1 contrast (WCAG AA passes).

Color values

HEX#ECFF7D
RGBrgb(236, 255, 125)
HSLhsl(69, 100%, 75%)
HSVhsv(69, 51%, 100%)
CMYKcmyk(7.5%, 0%, 51%, 0%)
CIE-LABlab(96.34, -24.14, 59.31)
CIE-LCHlch(96.34, 64.04, 112.15°)
OKLaboklab(96.01% -0.0691 0.1398)
OKLCHoklch(96.01% 0.156 116.3)
XYZxyz(74.0548, 90.8344, 33.0296)
Luminance0.9083 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF7D #907DFF
analogous
#FFD17D #ECFF7D #ABFF7D
triadic
#ECFF7D #7DECFF #FF7DEC
tetradic
#ECFF7D #7DFFD1 #907DFF #FF7DAB
square
#ECFF7D #7DFFD1 #907DFF #FF7DAB
split-complementary
#ECFF7D #7DABFF #D17DFF
monochromatic
#DAFF03 #E3FF40 #ECFF7D #F5FFBA #FBFFE0

Accessibility & contrast

On white

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

On black

19.17
#ECFF7D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF7D
19.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF7D#FFFFFF#000000##000000
##ECFF7D1.001.1019.1719.17
#FFFFFF1.101.0021.0021.00
#00000019.1721.001.001.00
##00000019.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF471
Deuteranopia (green-blind)
#FFF584
Tritanopia (blue-blind)
#F8F3E2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecff7d;
/* rgb */ color: rgb(236, 255, 125);
/* oklch */ color: oklch(96.0% 0.156 116.3);
Tailwind
colors: {
  custom: {
    50: '#f4ffa6',
    500: '#ecff7d',
    950: '#000000',
  },
}
SCSS
$custom: #ecff7d;
$custom-light: #f4ffa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff7d",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 125
  },
  "hsl": {
    "h": 68.769,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.96008,
    "c": 0.156,
    "h": 116.3
  },
  "luminance": 0.90834
}

Semantic roles & 50–950 ramp

primary
#ECFF7D
secondary
#5942DE
accent
#00E622
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171810
muted
#858680

Preview Lab

Preview with #ECFF7D

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

Preview Lab → · Contrast checker → · Palette generator →

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