#9FCC2D#9FCC2D

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

Color values

HEX#9FCC2D
RGBrgb(159, 204, 45)
HSLhsl(77, 64%, 49%)
HSVhsv(77, 78%, 80%)
CMYKcmyk(22.1%, 0%, 77.9%, 20%)
CIE-LABlab(76.52, -35.83, 68.22)
CIE-LCHlch(76.52, 77.05, 117.71°)
OKLaboklab(78.55% -0.1044 0.15)
OKLCHoklch(78.55% 0.183 124.8)
XYZxyz(36.3649, 50.7457, 10.3612)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCC2D #5A2DCC
analogous
#CCAA2D #9FCC2D #50CC2D
triadic
#9FCC2D #2D9FCC #CC2D9F
tetradic
#9FCC2D #2DCCAA #5A2DCC #CC2D50
square
#9FCC2D #2DCCAA #5A2DCC #CC2D50
split-complementary
#9FCC2D #2D50CC #AA2DCC
monochromatic
#516817 #789A22 #9FCC2D #B7DB5B #CDE68D

Accessibility & contrast

On white

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

On black

11.15
#9FCC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCC2D
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCC2D#FFFFFF#000000##000000
##9FCC2D1.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fcc2d;
/* rgb */ color: rgb(159, 204, 45);
/* oklch */ color: oklch(78.5% 0.183 124.8);
Tailwind
colors: {
  custom: {
    50: '#c0db73',
    500: '#9fcc2d',
    950: '#000000',
  },
}
SCSS
$custom: #9fcc2d;
$custom-light: #c0db73;
$custom-dark: #000000;
JSON
{
  "hex": "#9fcc2d",
  "rgb": {
    "r": 159,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 76.981,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78548,
    "c": 0.18273,
    "h": 124.8
  },
  "luminance": 0.50746
}

Semantic roles & 50–950 ramp

primary
#9FCC2D
secondary
#3F2B72
accent
#41E770
background
#FDFEFB
surface
#F9FBF1
border
#D2D4CB
text
#131509
muted
#82847D

Preview Lab

Preview with #9FCC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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