#9FB178#9FB178

#9FB178 is a light, moderate yellow-green. Relative luminance 0.402; OKLCH L 73.2% C 0.080 H 122.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#9FB178
RGBrgb(159, 177, 120)
HSLhsl(79, 27%, 58%)
HSVhsv(79, 32%, 69%)
CMYKcmyk(10.2%, 0%, 32.2%, 30.6%)
CIE-LABlab(69.59, -16.06, 27.16)
CIE-LCHlch(69.59, 31.55, 120.59°)
OKLaboklab(73.22% -0.0434 0.0678)
OKLCHoklch(73.22% 0.08 122.6)
XYZxyz(33.4101, 40.1712, 23.7594)
Luminance0.4017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB178 #8A78B1
analogous
#B1A678 #9FB178 #82B178
triadic
#9FB178 #789FB1 #B1789F
tetradic
#9FB178 #78B1A6 #8A78B1 #B17882
square
#9FB178 #78B1A6 #8A78B1 #B17882
split-complementary
#9FB178 #7882B1 #A678B1
monochromatic
#606F40 #829556 #9FB178 #BBC79F #D6DEC6

Accessibility & contrast

On white

2.32
#9FB178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#9FB178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB178
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB178#FFFFFF#000000##000000
##9FB1781.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA74
Deuteranopia (green-blind)
#B5AA7B
Tritanopia (blue-blind)
#A3ABA2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb178;
/* rgb */ color: rgb(159, 177, 120);
/* oklch */ color: oklch(73.2% 0.080 122.6);
Tailwind
colors: {
  custom: {
    50: '#bcc89f',
    500: '#9fb178',
    950: '#000000',
  },
}
SCSS
$custom: #9fb178;
$custom-light: #bcc89f;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb178",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 120
  },
  "hsl": {
    "h": 78.947,
    "s": 26.761,
    "l": 58.235
  },
  "oklch": {
    "l": 0.73218,
    "c": 0.08045,
    "h": 122.6
  },
  "luminance": 0.40171
}

Semantic roles & 50–950 ramp

primary
#9FB178
secondary
#BEB7CE
accent
#65C383
background
#FBFCF9
surface
#F6F8F2
border
#D0D1CC
text
#12130E
muted
#81827E

Preview Lab

Preview with #9FB178

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

Preview Lab → · Contrast checker → · Palette generator →

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