#9FB256#9FB256

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

Color values

HEX#9FB256
RGBrgb(159, 178, 86)
HSLhsl(72, 37%, 52%)
HSVhsv(72, 52%, 70%)
CMYKcmyk(10.7%, 0%, 51.7%, 30.2%)
CIE-LABlab(69.39, -20.58, 44.34)
CIE-LCHlch(69.39, 48.88, 114.90°)
OKLaboklab(72.9% -0.0585 0.1049)
OKLCHoklch(72.9% 0.12 119.1)
XYZxyz(31.8985, 39.8838, 14.8202)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB256 #6956B2
analogous
#B29756 #9FB256 #71B256
triadic
#9FB256 #569FB2 #B2569F
tetradic
#9FB256 #56B297 #6956B2 #B25671
square
#9FB256 #56B297 #6956B2 #B25671
split-complementary
#9FB256 #5671B2 #9756B2
monochromatic
#56612C #7C8B3F #9FB256 #B7C580 #CFD8AA

Accessibility & contrast

On white

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

On black

8.98
#9FB256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB256
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB256#FFFFFF#000000##000000
##9FB2561.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fb256;
/* rgb */ color: rgb(159, 178, 86);
/* oklch */ color: oklch(72.9% 0.120 119.1);
Tailwind
colors: {
  custom: {
    50: '#bdc988',
    500: '#9fb256',
    950: '#000000',
  },
}
SCSS
$custom: #9fb256;
$custom-light: #bdc988;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb256",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 72.391,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.72895,
    "c": 0.12005,
    "h": 119.1
  },
  "luminance": 0.39884
}

Semantic roles & 50–950 ramp

primary
#9FB256
secondary
#A69EC6
accent
#5ACD72
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130B
muted
#81827C

Preview Lab

Preview with #9FB256

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

Preview Lab → · Contrast checker → · Palette generator →

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