#9FB158#9FB158

#9FB158 is a light, moderate yellow-green. Relative luminance 0.395; OKLCH L 72.7% C 0.117 H 118.8°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#9FB158
RGBrgb(159, 177, 88)
HSLhsl(72, 36%, 52%)
HSVhsv(72, 50%, 69%)
CMYKcmyk(10.2%, 0%, 50.3%, 30.6%)
CIE-LABlab(69.13, -19.88, 43.05)
CIE-LCHlch(69.13, 47.42, 114.78°)
OKLaboklab(72.69% -0.0563 0.1022)
OKLCHoklch(72.69% 0.117 118.8)
XYZxyz(31.7820, 39.5200, 15.1844)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB158 #6A58B1
analogous
#B19758 #9FB158 #73B158
triadic
#9FB158 #589FB1 #B1589F
tetradic
#9FB158 #58B197 #6A58B1 #B15873
square
#9FB158 #58B197 #6A58B1 #B15873
split-complementary
#9FB158 #5873B1 #9758B1
monochromatic
#57612D #7C8B41 #9FB158 #B7C482 #CFD8AB

Accessibility & contrast

On white

2.36
#9FB158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#9FB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB158
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB158#FFFFFF#000000##000000
##9FB1581.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA950
Deuteranopia (green-blind)
#B9A95D
Tritanopia (blue-blind)
#A7A99D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb158;
/* rgb */ color: rgb(159, 177, 88);
/* oklch */ color: oklch(72.7% 0.117 118.8);
Tailwind
colors: {
  custom: {
    50: '#bdc889',
    500: '#9fb158',
    950: '#000000',
  },
}
SCSS
$custom: #9fb158;
$custom-light: #bdc889;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb158",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 72.135,
    "s": 36.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.72694,
    "c": 0.11671,
    "h": 118.8
  },
  "luminance": 0.3952
}

Semantic roles & 50–950 ramp

primary
#9FB158
secondary
#A79FC6
accent
#5BCC72
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9FB158

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

Preview Lab → · Contrast checker → · Palette generator →

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