#9FB157#9FB157

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

Color values

HEX#9FB157
RGBrgb(159, 177, 87)
HSLhsl(72, 37%, 52%)
HSVhsv(72, 51%, 69%)
CMYKcmyk(10.2%, 0%, 50.8%, 30.6%)
CIE-LABlab(69.11, -19.98, 43.53)
CIE-LCHlch(69.11, 47.90, 114.65°)
OKLaboklab(72.68% -0.0567 0.1032)
OKLCHoklch(72.68% 0.118 118.8)
XYZxyz(31.7408, 39.5035, 14.9678)
Luminance0.3950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB157 #6957B1
analogous
#B19657 #9FB157 #72B157
triadic
#9FB157 #579FB1 #B1579F
tetradic
#9FB157 #57B196 #6957B1 #B15772
square
#9FB157 #57B196 #6957B1 #B15772
split-complementary
#9FB157 #5772B1 #9657B1
monochromatic
#56612D #7C8A40 #9FB157 #B7C481 #CFD8AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB157#FFFFFF#000000##000000
##9FB1571.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)
#BBA94F
Deuteranopia (green-blind)
#B9A95C
Tritanopia (blue-blind)
#A7A99C
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb157;
/* rgb */ color: rgb(159, 177, 87);
/* oklch */ color: oklch(72.7% 0.118 118.8);
Tailwind
colors: {
  custom: {
    50: '#bdc889',
    500: '#9fb157',
    950: '#000000',
  },
}
SCSS
$custom: #9fb157;
$custom-light: #bdc889;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb157",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 72,
    "s": 36.585,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72681,
    "c": 0.11772,
    "h": 118.8
  },
  "luminance": 0.39503
}

Semantic roles & 50–950 ramp

primary
#9FB157
secondary
#A69EC6
accent
#5BCD72
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9FB157

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

Preview Lab → · Contrast checker → · Palette generator →

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