#ECFB80#ECFB80

#ECFB80 is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.2% C 0.148 H 115.0°. Best body text is #000000 at 18.68:1 contrast (WCAG AA passes).

Color values

HEX#ECFB80
RGBrgb(236, 251, 128)
HSLhsl(67, 94%, 74%)
HSVhsv(67, 49%, 98%)
CMYKcmyk(6%, 0%, 49%, 1.6%)
CIE-LABlab(95.32, -21.98, 56.74)
CIE-LCHlch(95.32, 60.85, 111.17°)
OKLaboklab(95.2% -0.0627 0.1345)
OKLCHoklch(95.2% 0.148 115)
XYZxyz(72.9866, 88.3867, 33.6333)
Luminance0.8839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB80 #8F80FB
analogous
#FBCD80 #ECFB80 #AFFB80
triadic
#ECFB80 #80ECFB #FB80EC
tetradic
#ECFB80 #80FBCD #8F80FB #FB80AF
square
#ECFB80 #80FBCD #8F80FB #FB80AF
split-complementary
#ECFB80 #80AFFB #CD80FB
monochromatic
#DAF709 #E3F945 #ECFB80 #F5FDBB #FBFEE1

Accessibility & contrast

On white

1.12
#ECFB80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.68
#ECFB80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB80
18.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB80#FFFFFF#000000##000000
##ECFB801.001.1218.6818.68
#FFFFFF1.121.0021.0021.00
#00000018.6821.001.001.00
##00000018.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF175
Deuteranopia (green-blind)
#FFF387
Tritanopia (blue-blind)
#F8EFDF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfb80;
/* rgb */ color: rgb(236, 251, 128);
/* oklch */ color: oklch(95.2% 0.148 115.0);
Tailwind
colors: {
  custom: {
    50: '#f4fca7',
    500: '#ecfb80',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb80;
$custom-light: #f4fca7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb80",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 128
  },
  "hsl": {
    "h": 67.317,
    "s": 93.893,
    "l": 74.314
  },
  "oklch": {
    "l": 0.95204,
    "c": 0.1484,
    "h": 115
  },
  "luminance": 0.88386
}

Semantic roles & 50–950 ramp

primary
#ECFB80
secondary
#5846D9
accent
#00E61C
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFB80

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

Preview Lab → · Contrast checker → · Palette generator →

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