#9FB052#9FB052

#9FB052 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 72.4% C 0.121 H 118.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#9FB052
RGBrgb(159, 176, 82)
HSLhsl(71, 37%, 51%)
HSVhsv(71, 53%, 69%)
CMYKcmyk(9.7%, 0%, 53.4%, 31%)
CIE-LABlab(68.77, -19.95, 45.55)
CIE-LCHlch(68.77, 49.72, 113.66°)
OKLaboklab(72.39% -0.0571 0.1071)
OKLCHoklch(72.39% 0.121 118.1)
XYZxyz(31.3468, 39.0310, 13.8634)
Luminance0.3903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB052 #6352B0
analogous
#B09252 #9FB052 #70B052
triadic
#9FB052 #529FB0 #B0529F
tetradic
#9FB052 #52B092 #6352B0 #B05270
square
#9FB052 #52B092 #6352B0 #B05270
split-complementary
#9FB052 #5270B0 #9252B0
monochromatic
#545D2B #7A873E #9FB052 #B6C37C #CED6A6

Accessibility & contrast

On white

2.38
#9FB052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#9FB052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB052
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB052#FFFFFF#000000##000000
##9FB0521.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA849
Deuteranopia (green-blind)
#B8A857
Tritanopia (blue-blind)
#A7A89B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb052;
/* rgb */ color: rgb(159, 176, 82);
/* oklch */ color: oklch(72.4% 0.121 118.1);
Tailwind
colors: {
  custom: {
    50: '#bdc785',
    500: '#9fb052',
    950: '#000000',
  },
}
SCSS
$custom: #9fb052;
$custom-light: #bdc785;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb052",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 82
  },
  "hsl": {
    "h": 70.851,
    "s": 37.302,
    "l": 50.588
  },
  "oklch": {
    "l": 0.72389,
    "c": 0.12137,
    "h": 118.1
  },
  "luminance": 0.39031
}

Semantic roles & 50–950 ramp

primary
#9FB052
secondary
#A29AC4
accent
#5BCD6F
background
#FBFCF8
surface
#F7F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9FB052

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

Preview Lab → · Contrast checker → · Palette generator →

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