#9FB162#9FB162

#9FB162 is a light, moderate yellow-green. Relative luminance 0.397; OKLCH L 72.8% C 0.106 H 119.6°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#9FB162
RGBrgb(159, 177, 98)
HSLhsl(74, 34%, 54%)
HSVhsv(74, 45%, 69%)
CMYKcmyk(10.2%, 0%, 44.6%, 30.6%)
CIE-LABlab(69.25, -18.82, 38.21)
CIE-LCHlch(69.25, 42.60, 116.22°)
OKLaboklab(72.84% -0.0525 0.0922)
OKLCHoklch(72.84% 0.106 119.6)
XYZxyz(32.2250, 39.6972, 17.5176)
Luminance0.3970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB162 #7462B1
analogous
#B19C62 #9FB162 #78B162
triadic
#9FB162 #629FB1 #B1629F
tetradic
#9FB162 #62B19C #7462B1 #B16278
square
#9FB162 #62B19C #7462B1 #B16278
split-complementary
#9FB162 #6278B1 #9C62B1
monochromatic
#5A6633 #7E8F47 #9FB162 #B8C58B #D1DAB4

Accessibility & contrast

On white

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

On black

8.94
#9FB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB162
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB162#FFFFFF#000000##000000
##9FB1621.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA95C
Deuteranopia (green-blind)
#B8A966
Tritanopia (blue-blind)
#A6AA9E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb162;
/* rgb */ color: rgb(159, 177, 98);
/* oklch */ color: oklch(72.8% 0.106 119.6);
Tailwind
colors: {
  custom: {
    50: '#bdc890',
    500: '#9fb162',
    950: '#000000',
  },
}
SCSS
$custom: #9fb162;
$custom-light: #bdc890;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb162",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 73.671,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.72837,
    "c": 0.10611,
    "h": 119.6
  },
  "luminance": 0.39697
}

Semantic roles & 50–950 ramp

primary
#9FB162
secondary
#AEA7C8
accent
#5ECA77
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130D
muted
#81827D

Preview Lab

Preview with #9FB162

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

Preview Lab → · Contrast checker → · Palette generator →

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