#ECFF7E#ECFF7E

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

Color values

HEX#ECFF7E
RGBrgb(236, 255, 126)
HSLhsl(69, 100%, 75%)
HSVhsv(69, 51%, 100%)
CMYKcmyk(7.5%, 0%, 50.6%, 0%)
CIE-LABlab(96.35, -24.06, 58.87)
CIE-LCHlch(96.35, 63.60, 112.23°)
OKLaboklab(96.02% -0.0688 0.139)
OKLCHoklch(96.02% 0.155 116.3)
XYZxyz(74.1190, 90.8600, 33.3678)
Luminance0.9086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF7E #917EFF
analogous
#FFD17E #ECFF7E #ACFF7E
triadic
#ECFF7E #7EECFF #FF7EEC
tetradic
#ECFF7E #7EFFD1 #917EFF #FF7EAC
square
#ECFF7E #7EFFD1 #917EFF #FF7EAC
split-complementary
#ECFF7E #7EACFF #D17EFF
monochromatic
#DAFF04 #E3FF41 #ECFF7E #F5FFBB #FAFFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFF7E#FFFFFF#000000##000000
##ECFF7E1.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)
#FFF472
Deuteranopia (green-blind)
#FFF585
Tritanopia (blue-blind)
#F8F3E2
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecff7e;
/* rgb */ color: rgb(236, 255, 126);
/* oklch */ color: oklch(96.0% 0.155 116.3);
Tailwind
colors: {
  custom: {
    50: '#f4ffa6',
    500: '#ecff7e',
    950: '#000000',
  },
}
SCSS
$custom: #ecff7e;
$custom-light: #f4ffa6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff7e",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 126
  },
  "hsl": {
    "h": 68.837,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.9602,
    "c": 0.15507,
    "h": 116.3
  },
  "luminance": 0.90859
}

Semantic roles & 50–950 ramp

primary
#ECFF7E
secondary
#5A43DE
accent
#00E622
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171810
muted
#858680

Preview Lab

Preview with #ECFF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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