#9FB172#9FB172

#9FB172 is a light, moderate yellow-green. Relative luminance 0.400; OKLCH L 73.1% C 0.088 H 121.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#9FB172
RGBrgb(159, 177, 114)
HSLhsl(77, 29%, 57%)
HSVhsv(77, 36%, 69%)
CMYKcmyk(10.2%, 0%, 35.6%, 30.6%)
CIE-LABlab(69.49, -16.87, 30.21)
CIE-LCHlch(69.49, 34.61, 119.18°)
OKLaboklab(73.11% -0.0459 0.0747)
OKLCHoklch(73.11% 0.088 121.6)
XYZxyz(33.0573, 40.0301, 21.9014)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB172 #8472B1
analogous
#B1A472 #9FB172 #80B172
triadic
#9FB172 #729FB1 #B1729F
tetradic
#9FB172 #72B1A4 #8472B1 #B17280
square
#9FB172 #72B1A4 #8472B1 #B17280
split-complementary
#9FB172 #7280B1 #A472B1
monochromatic
#5F6D3C #819452 #9FB172 #BAC799 #D5DDC1

Accessibility & contrast

On white

2.33
#9FB172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#9FB172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB172
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB172#FFFFFF#000000##000000
##9FB1721.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA6E
Deuteranopia (green-blind)
#B6AA75
Tritanopia (blue-blind)
#A4ABA1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb172;
/* rgb */ color: rgb(159, 177, 114);
/* oklch */ color: oklch(73.1% 0.088 121.6);
Tailwind
colors: {
  custom: {
    50: '#bcc89b',
    500: '#9fb172',
    950: '#000000',
  },
}
SCSS
$custom: #9fb172;
$custom-light: #bcc89b;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb172",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 114
  },
  "hsl": {
    "h": 77.143,
    "s": 28.767,
    "l": 57.059
  },
  "oklch": {
    "l": 0.73105,
    "c": 0.08771,
    "h": 121.6
  },
  "luminance": 0.4003
}

Semantic roles & 50–950 ramp

primary
#9FB172
secondary
#BAB3CC
accent
#63C57F
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #9FB172

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

Preview Lab → · Contrast checker → · Palette generator →

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