#9FB255#9FB255

#9FB255 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.9% C 0.121 H 119.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#9FB255
RGBrgb(159, 178, 85)
HSLhsl(72, 38%, 52%)
HSVhsv(72, 52%, 70%)
CMYKcmyk(10.7%, 0%, 52.2%, 30.2%)
CIE-LABlab(69.38, -20.67, 44.81)
CIE-LCHlch(69.38, 49.35, 114.77°)
OKLaboklab(72.88% -0.0588 0.1058)
OKLCHoklch(72.88% 0.121 119.1)
XYZxyz(31.8585, 39.8678, 14.6095)
Luminance0.3987 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB255 #6855B2
analogous
#B29755 #9FB255 #71B255
triadic
#9FB255 #559FB2 #B2559F
tetradic
#9FB255 #55B297 #6855B2 #B25571
square
#9FB255 #55B297 #6855B2 #B25571
split-complementary
#9FB255 #5571B2 #9755B2
monochromatic
#56612C #7B8B3F #9FB255 #B7C57F #CFD8A9

Accessibility & contrast

On white

2.34
#9FB255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#9FB255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB255
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB255#FFFFFF#000000##000000
##9FB2551.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA94C
Deuteranopia (green-blind)
#BAAA5A
Tritanopia (blue-blind)
#A7AA9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb255;
/* rgb */ color: rgb(159, 178, 85);
/* oklch */ color: oklch(72.9% 0.121 119.1);
Tailwind
colors: {
  custom: {
    50: '#bdc987',
    500: '#9fb255',
    950: '#000000',
  },
}
SCSS
$custom: #9fb255;
$custom-light: #bdc987;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb255",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 72.258,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72882,
    "c": 0.12105,
    "h": 119.1
  },
  "luminance": 0.39868
}

Semantic roles & 50–950 ramp

primary
#9FB255
secondary
#A59DC6
accent
#5ACE72
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #9FB255

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

Preview Lab → · Contrast checker → · Palette generator →

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