#9DCC2D#9DCC2D

#9DCC2D is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.4% C 0.184 H 125.4°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#9DCC2D
RGBrgb(157, 204, 45)
HSLhsl(78, 64%, 49%)
HSVhsv(78, 78%, 80%)
CMYKcmyk(23%, 0%, 77.9%, 20%)
CIE-LABlab(76.40, -36.61, 68.06)
CIE-LCHlch(76.40, 77.28, 118.28°)
OKLaboklab(78.42% -0.1064 0.1497)
OKLCHoklch(78.42% 0.184 125.4)
XYZxyz(35.9714, 50.5428, 10.3427)
Luminance0.5054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9DCC2D #5C2DCC
analogous
#CCAC2D #9DCC2D #4ECC2D
triadic
#9DCC2D #2D9DCC #CC2D9D
tetradic
#9DCC2D #2DCCAC #5C2DCC #CC2D4E
square
#9DCC2D #2DCCAC #5C2DCC #CC2D4E
split-complementary
#9DCC2D #2D4ECC #AC2DCC
monochromatic
#506817 #769A22 #9DCC2D #B5DB5B #CCE68D

Accessibility & contrast

On white

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

On black

11.11
#9DCC2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9DCC2D
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9DCC2D#FFFFFF#000000##000000
##9DCC2D1.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9dcc2d;
/* rgb */ color: rgb(157, 204, 45);
/* oklch */ color: oklch(78.4% 0.184 125.4);
Tailwind
colors: {
  custom: {
    50: '#bedb73',
    500: '#9dcc2d',
    950: '#000000',
  },
}
SCSS
$custom: #9dcc2d;
$custom-light: #bedb73;
$custom-dark: #000000;
JSON
{
  "hex": "#9dcc2d",
  "rgb": {
    "r": 157,
    "g": 204,
    "b": 45
  },
  "hsl": {
    "h": 77.736,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.78416,
    "c": 0.18365,
    "h": 125.4
  },
  "luminance": 0.50543
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9DCC2D

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

Preview Lab → · Contrast checker → · Palette generator →

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