#9ECC48#9ECC48

#9ECC48 is a light, vivid yellow-green. Relative luminance 0.509; OKLCH L 78.7% C 0.167 H 126.4°. Best body text is #000000 at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#9ECC48
RGBrgb(158, 204, 72)
HSLhsl(81, 56%, 54%)
HSVhsv(81, 65%, 80%)
CMYKcmyk(22.5%, 0%, 64.7%, 20%)
CIE-LABlab(76.63, -34.64, 58.73)
CIE-LCHlch(76.63, 68.18, 120.54°)
OKLaboklab(78.67% -0.0989 0.1341)
OKLCHoklch(78.67% 0.167 126.4)
XYZxyz(36.8632, 50.9222, 14.0165)
Luminance0.5092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC48 #7648CC
analogous
#CCB848 #9ECC48 #5CCC48
triadic
#9ECC48 #489ECC #CC489E
tetradic
#9ECC48 #48CCB8 #7648CC #CC485C
square
#9ECC48 #48CCB8 #7648CC #CC485C
split-complementary
#9ECC48 #485CCC #B848CC
monochromatic
#5A7821 #7EA82F #9ECC48 #B7D978 #D1E7A8

Accessibility & contrast

On white

1.88
#9ECC48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.18
#9ECC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECC48
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECC48#FFFFFF#000000##000000
##9ECC481.001.8811.1811.18
#FFFFFF1.881.0021.0021.00
#00000011.1821.001.001.00
##00000011.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF37
Deuteranopia (green-blind)
#D0BC52
Tritanopia (blue-blind)
#A4C3B1
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecc48;
/* rgb */ color: rgb(158, 204, 72);
/* oklch */ color: oklch(78.7% 0.167 126.4);
Tailwind
colors: {
  custom: {
    50: '#bedb81',
    500: '#9ecc48',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc48;
$custom-light: #bedb81;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc48",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 80.909,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78673,
    "c": 0.16661,
    "h": 126.4
  },
  "luminance": 0.50923
}

Semantic roles & 50–950 ramp

primary
#9ECC48
secondary
#513880
accent
#48E07D
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#12150B
muted
#82847E

Preview Lab

Preview with #9ECC48

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

Preview Lab → · Contrast checker → · Palette generator →

#9ECC48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva