#ECFF7C#ECFF7C

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

Color values

HEX#ECFF7C
RGBrgb(236, 255, 124)
HSLhsl(69, 100%, 74%)
HSVhsv(69, 51%, 100%)
CMYKcmyk(7.5%, 0%, 51.4%, 0%)
CIE-LABlab(96.33, -24.23, 59.75)
CIE-LCHlch(96.33, 64.47, 112.07°)
OKLaboklab(96% -0.0695 0.1407)
OKLCHoklch(96% 0.157 116.3)
XYZxyz(73.9912, 90.8089, 32.6949)
Luminance0.9081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF7C #8F7CFF
analogous
#FFD07C #ECFF7C #ABFF7C
triadic
#ECFF7C #7CECFF #FF7CEC
tetradic
#ECFF7C #7CFFD0 #8F7CFF #FF7CAB
square
#ECFF7C #7CFFD0 #8F7CFF #FF7CAB
split-complementary
#ECFF7C #7CABFF #D07CFF
monochromatic
#DAFF02 #E3FF3F #ECFF7C #F5FFB9 #FBFFE0

Accessibility & contrast

On white

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

On black

19.16
#ECFF7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF7C
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF7C#FFFFFF#000000##000000
##ECFF7C1.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF470
Deuteranopia (green-blind)
#FFF583
Tritanopia (blue-blind)
#F8F3E1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecff7c;
/* rgb */ color: rgb(236, 255, 124);
/* oklch */ color: oklch(96.0% 0.157 116.3);
Tailwind
colors: {
  custom: {
    50: '#f4ffa5',
    500: '#ecff7c',
    950: '#000000',
  },
}
SCSS
$custom: #ecff7c;
$custom-light: #f4ffa5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff7c",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 124
  },
  "hsl": {
    "h": 68.702,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.95997,
    "c": 0.15692,
    "h": 116.3
  },
  "luminance": 0.90808
}

Semantic roles & 50–950 ramp

primary
#ECFF7C
secondary
#5842DE
accent
#00E621
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17180F
muted
#858680

Preview Lab

Preview with #ECFF7C

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

Preview Lab → · Contrast checker → · Palette generator →

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