#9ECC2D#9ECC2D

#9ECC2D is a light, vivid yellow-green. Relative luminance 0.506; OKLCH L 78.5% C 0.183 H 125.1°. Best body text is #000000 at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#9ECC2D
RGBrgb(158, 204, 45)
HSLhsl(77, 64%, 49%)
HSVhsv(77, 78%, 80%)
CMYKcmyk(22.5%, 0%, 77.9%, 20%)
CIE-LABlab(76.46, -36.22, 68.14)
CIE-LCHlch(76.46, 77.17, 118.00°)
OKLaboklab(78.48% -0.1054 0.1498)
OKLCHoklch(78.48% 0.183 125.1)
XYZxyz(36.1674, 50.6438, 10.3519)
Luminance0.5064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9ECC2D #5B2DCC
analogous
#CCAB2D #9ECC2D #4FCC2D
triadic
#9ECC2D #2D9ECC #CC2D9E
tetradic
#9ECC2D #2DCCAB #5B2DCC #CC2D4F
square
#9ECC2D #2DCCAB #5B2DCC #CC2D4F
split-complementary
#9ECC2D #2D4FCC #AB2DCC
monochromatic
#506817 #779A22 #9ECC2D #B6DB5B #CCE68D

Accessibility & contrast

On white

1.89
#9ECC2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.13
#9ECC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9ECC2D
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9ECC2D#FFFFFF#000000##000000
##9ECC2D1.001.8911.1311.13
#FFFFFF1.891.0021.0021.00
#00000011.1321.001.001.00
##00000011.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D1BC3D
Tritanopia (blue-blind)
#A5C2AF
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9ecc2d;
/* rgb */ color: rgb(158, 204, 45);
/* oklch */ color: oklch(78.5% 0.183 125.1);
Tailwind
colors: {
  custom: {
    50: '#bfdb73',
    500: '#9ecc2d',
    950: '#000000',
  },
}
SCSS
$custom: #9ecc2d;
$custom-light: #bfdb73;
$custom-dark: #000000;
JSON
{
  "hex": "#9ecc2d",
  "rgb": {
    "r": 158,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 77.358,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78482,
    "c": 0.18318,
    "h": 125.1
  },
  "luminance": 0.50644
}

Semantic roles & 50–950 ramp

primary
#9ECC2D
secondary
#402B72
accent
#41E771
background
#FDFEFB
surface
#F9FCF1
border
#D2D5CB
text
#131509
muted
#82847D

Preview Lab

Preview with #9ECC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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