#ECFF7B#ECFF7B

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

Color values

HEX#ECFF7B
RGBrgb(236, 255, 123)
HSLhsl(69, 100%, 74%)
HSVhsv(69, 52%, 100%)
CMYKcmyk(7.5%, 0%, 51.8%, 0%)
CIE-LABlab(96.32, -24.32, 60.18)
CIE-LCHlch(96.32, 64.91, 112.00°)
OKLaboklab(95.99% -0.0698 0.1416)
OKLCHoklch(95.99% 0.158 116.3)
XYZxyz(73.9283, 90.7838, 32.3635)
Luminance0.9078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF7B #8E7BFF
analogous
#FFD07B #ECFF7B #AAFF7B
triadic
#ECFF7B #7BECFF #FF7BEC
tetradic
#ECFF7B #7BFFD0 #8E7BFF #FF7BAA
square
#ECFF7B #7BFFD0 #8E7BFF #FF7BAA
split-complementary
#ECFF7B #7BAAFF #D07BFF
monochromatic
#DAFF01 #E3FF3E #ECFF7B #F5FFB8 #FBFFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFF7B#FFFFFF#000000##000000
##ECFF7B1.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)
#FFF46E
Deuteranopia (green-blind)
#FFF582
Tritanopia (blue-blind)
#F8F3E1
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecff7b;
/* rgb */ color: rgb(236, 255, 123);
/* oklch */ color: oklch(96.0% 0.158 116.3);
Tailwind
colors: {
  custom: {
    50: '#f4ffa4',
    500: '#ecff7b',
    950: '#000000',
  },
}
SCSS
$custom: #ecff7b;
$custom-light: #f4ffa4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff7b",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 123
  },
  "hsl": {
    "h": 68.636,
    "s": 100,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95985,
    "c": 0.15783,
    "h": 116.3
  },
  "luminance": 0.90783
}

Semantic roles & 50–950 ramp

primary
#ECFF7B
secondary
#5741DD
accent
#00E621
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17180F
muted
#858680

Preview Lab

Preview with #ECFF7B

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

Preview Lab → · Contrast checker → · Palette generator →

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