#9FB258#9FB258

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

Color values

HEX#9FB258
RGBrgb(159, 178, 88)
HSLhsl(73, 37%, 52%)
HSVhsv(73, 51%, 70%)
CMYKcmyk(10.7%, 0%, 50.6%, 30.2%)
CIE-LABlab(69.41, -20.38, 43.39)
CIE-LCHlch(69.41, 47.94, 115.16°)
OKLaboklab(72.92% -0.0577 0.103)
OKLCHoklch(72.92% 0.118 119.3)
XYZxyz(31.9802, 39.9165, 15.2505)
Luminance0.3992 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB258 #6B58B2
analogous
#B29858 #9FB258 #72B258
triadic
#9FB258 #589FB2 #B2589F
tetradic
#9FB258 #58B298 #6B58B2 #B25872
square
#9FB258 #58B298 #6B58B2 #B25872
split-complementary
#9FB258 #5872B2 #9858B2
monochromatic
#57622D #7C8C41 #9FB258 #B7C582 #CFD9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FB258#FFFFFF#000000##000000
##9FB2581.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)
#BCAA50
Deuteranopia (green-blind)
#BAAA5D
Tritanopia (blue-blind)
#A6AA9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9fb258;
/* rgb */ color: rgb(159, 178, 88);
/* oklch */ color: oklch(72.9% 0.118 119.3);
Tailwind
colors: {
  custom: {
    50: '#bdc989',
    500: '#9fb258',
    950: '#000000',
  },
}
SCSS
$custom: #9fb258;
$custom-light: #bdc989;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb258",
  "rgb": {
    "r": 159,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 72.667,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72922,
    "c": 0.11805,
    "h": 119.3
  },
  "luminance": 0.39916
}

Semantic roles & 50–950 ramp

primary
#9FB258
secondary
#A89FC7
accent
#5BCD73
background
#FBFCF8
surface
#F7F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9FB258

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

Preview Lab → · Contrast checker → · Palette generator →

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