#9FB166#9FB166

#9FB166 is a light, moderate yellow-green. Relative luminance 0.398; OKLCH L 72.9% C 0.102 H 120.0°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#9FB166
RGBrgb(159, 177, 102)
HSLhsl(74, 32%, 55%)
HSVhsv(74, 42%, 69%)
CMYKcmyk(10.2%, 0%, 42.4%, 30.6%)
CIE-LABlab(69.31, -18.36, 36.24)
CIE-LCHlch(69.31, 40.62, 116.88°)
OKLaboklab(72.9% -0.0509 0.088)
OKLCHoklch(72.9% 0.102 120)
XYZxyz(32.4186, 39.7746, 18.5372)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB166 #7866B1
analogous
#B19E66 #9FB166 #7AB166
triadic
#9FB166 #669FB1 #B1669F
tetradic
#9FB166 #66B19E #7866B1 #B1667A
square
#9FB166 #66B19E #7866B1 #B1667A
split-complementary
#9FB166 #667AB1 #9E66B1
monochromatic
#5C6835 #7F904A #9FB166 #B8C68F #D2DAB7

Accessibility & contrast

On white

2.35
#9FB166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#9FB166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB166
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB166#FFFFFF#000000##000000
##9FB1661.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA960
Deuteranopia (green-blind)
#B7A96A
Tritanopia (blue-blind)
#A5AA9F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb166;
/* rgb */ color: rgb(159, 177, 102);
/* oklch */ color: oklch(72.9% 0.102 120.0);
Tailwind
colors: {
  custom: {
    50: '#bcc893',
    500: '#9fb166',
    950: '#000000',
  },
}
SCSS
$custom: #9fb166;
$custom-light: #bcc893;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb166",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 102
  },
  "hsl": {
    "h": 74.4,
    "s": 32.468,
    "l": 54.706
  },
  "oklch": {
    "l": 0.72899,
    "c": 0.10166,
    "h": 120
  },
  "luminance": 0.39775
}

Semantic roles & 50–950 ramp

primary
#9FB166
secondary
#B1AAC9
accent
#5FC978
background
#FBFCF9
surface
#F6F8F1
border
#D0D1CB
text
#12130D
muted
#81827E

Preview Lab

Preview with #9FB166

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

Preview Lab → · Contrast checker → · Palette generator →

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