#ECFB76#ECFB76

#ECFB76 is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.1% C 0.158 H 114.8°. Best body text is #000000 at 18.63:1 contrast (WCAG AA passes).

Color values

HEX#ECFB76
RGBrgb(236, 251, 118)
HSLhsl(67, 94%, 72%)
HSVhsv(67, 53%, 98%)
CMYKcmyk(6%, 0%, 53%, 1.6%)
CIE-LABlab(95.22, -22.84, 61.13)
CIE-LCHlch(95.22, 65.26, 110.48°)
OKLaboklab(95.09% -0.0661 0.1431)
OKLCHoklch(95.09% 0.158 114.8)
XYZxyz(72.3606, 88.1363, 30.3361)
Luminance0.8813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB76 #8576FB
analogous
#FBC876 #ECFB76 #AAFB76
triadic
#ECFB76 #76ECFB #FB76EC
tetradic
#ECFB76 #76FBC8 #8576FB #FB76AA
square
#ECFB76 #76FBC8 #8576FB #FB76AA
split-complementary
#ECFB76 #76AAFB #C876FB
monochromatic
#D5F007 #E4F93B #ECFB76 #F4FDB1 #FBFEE1

Accessibility & contrast

On white

1.13
#ECFB76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.63
#ECFB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB76
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB76#FFFFFF#000000##000000
##ECFB761.001.1318.6318.63
#FFFFFF1.131.0021.0021.00
#00000018.6321.001.001.00
##00000018.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF069
Deuteranopia (green-blind)
#FFF37E
Tritanopia (blue-blind)
#F9EEDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb76;
/* rgb */ color: rgb(236, 251, 118);
/* oklch */ color: oklch(95.1% 0.158 114.8);
Tailwind
colors: {
  custom: {
    50: '#f4fca1',
    500: '#ecfb76',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb76;
$custom-light: #f4fca1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb76",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 118
  },
  "hsl": {
    "h": 66.767,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95086,
    "c": 0.15766,
    "h": 114.8
  },
  "luminance": 0.88135
}

Semantic roles & 50–950 ramp

primary
#ECFB76
secondary
#4F3ED7
accent
#00E61A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFB76

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

Preview Lab → · Contrast checker → · Palette generator →

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