#9FCC52#9FCC52

#9FCC52 is a light, vivid yellow-green. Relative luminance 0.512; OKLCH L 78.8% C 0.158 H 126.8°. Best body text is #000000 at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#9FCC52
RGBrgb(159, 204, 82)
HSLhsl(82, 54%, 56%)
HSVhsv(82, 60%, 80%)
CMYKcmyk(22.1%, 0%, 59.8%, 20%)
CIE-LABlab(76.78, -33.47, 54.68)
CIE-LCHlch(76.78, 64.11, 121.47°)
OKLaboklab(78.83% -0.0948 0.1267)
OKLCHoklch(78.83% 0.158 126.8)
XYZxyz(37.4139, 51.1653, 15.8858)
Luminance0.5117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FCC52 #7F52CC
analogous
#CCBC52 #9FCC52 #62CC52
triadic
#9FCC52 #529FCC #CC529F
tetradic
#9FCC52 #52CCBC #7F52CC #CC5262
square
#9FCC52 #52CCBC #7F52CC #CC5262
split-complementary
#9FCC52 #5262CC #BC52CC
monochromatic
#5D7E25 #80AE33 #9FCC52 #B9DA81 #D3E8B1

Accessibility & contrast

On white

1.87
#9FCC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.23
#9FCC52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FCC52
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FCC52#FFFFFF#000000##000000
##9FCC521.001.8711.2311.23
#FFFFFF1.871.0021.0021.00
#00000011.2321.001.001.00
##00000011.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF44
Deuteranopia (green-blind)
#D0BD5B
Tritanopia (blue-blind)
#A5C3B2
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #9fcc52;
/* rgb */ color: rgb(159, 204, 82);
/* oklch */ color: oklch(78.8% 0.158 126.8);
Tailwind
colors: {
  custom: {
    50: '#bedb87',
    500: '#9fcc52',
    950: '#000000',
  },
}
SCSS
$custom: #9fcc52;
$custom-light: #bedb87;
$custom-dark: #000000;
JSON
{
  "hex": "#9fcc52",
  "rgb": {
    "r": 159,
    "g": 204,
    "b": 82
  },
  "hsl": {
    "h": 82.131,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78835,
    "c": 0.15827,
    "h": 126.8
  },
  "luminance": 0.51166
}

Semantic roles & 50–950 ramp

primary
#9FCC52
secondary
#573C86
accent
#4ADE81
background
#FDFEFC
surface
#F9FCF3
border
#D2D5CD
text
#12150C
muted
#82847F

Preview Lab

Preview with #9FCC52

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

Preview Lab → · Contrast checker → · Palette generator →

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