#9FB252#9FB252

#9FB252 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.8% C 0.124 H 118.9°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#9FB252
RGBrgb(159, 178, 82)
HSLhsl(72, 38%, 51%)
HSVhsv(72, 54%, 70%)
CMYKcmyk(10.7%, 0%, 53.9%, 30.2%)
CIE-LABlab(69.34, -20.96, 46.21)
CIE-LCHlch(69.34, 50.74, 114.39°)
OKLaboklab(72.85% -0.0599 0.1085)
OKLCHoklch(72.85% 0.124 118.9)
XYZxyz(31.7418, 39.8211, 13.9951)
Luminance0.3982 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB252 #6552B2
analogous
#B29552 #9FB252 #6FB252
triadic
#9FB252 #529FB2 #B2529F
tetradic
#9FB252 #52B295 #6552B2 #B2526F
square
#9FB252 #52B295 #6552B2 #B2526F
split-complementary
#9FB252 #526FB2 #9552B2
monochromatic
#555F2A #7A8A3D #9FB252 #B7C57C #CED8A7

Accessibility & contrast

On white

2.34
#9FB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#9FB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB252
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB252#FFFFFF#000000##000000
##9FB2521.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA949
Deuteranopia (green-blind)
#BAAA58
Tritanopia (blue-blind)
#A7AA9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb252;
/* rgb */ color: rgb(159, 178, 82);
/* oklch */ color: oklch(72.8% 0.124 118.9);
Tailwind
colors: {
  custom: {
    50: '#bdc985',
    500: '#9fb252',
    950: '#000000',
  },
}
SCSS
$custom: #9fb252;
$custom-light: #bdc985;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb252",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 71.875,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72845,
    "c": 0.12398,
    "h": 118.9
  },
  "luminance": 0.39821
}

Semantic roles & 50–950 ramp

primary
#9FB252
secondary
#A39BC5
accent
#59CE71
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9FB252

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

Preview Lab → · Contrast checker → · Palette generator →

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