#9BB258#9BB258

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

Color values

HEX#9BB258
RGBrgb(155, 178, 88)
HSLhsl(75, 37%, 52%)
HSVhsv(75, 51%, 70%)
CMYKcmyk(12.9%, 0%, 50.6%, 30.2%)
CIE-LABlab(69.12, -21.99, 42.98)
CIE-LCHlch(69.12, 48.28, 117.10°)
OKLaboklab(72.62% -0.062 0.1021)
OKLCHoklch(72.62% 0.119 121.3)
XYZxyz(31.1996, 39.5139, 15.2139)
Luminance0.3951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB258 #6F58B2
analogous
#B29C58 #9BB258 #6EB258
triadic
#9BB258 #589BB2 #B2589B
tetradic
#9BB258 #58B29C #6F58B2 #B2586E
square
#9BB258 #58B29C #6F58B2 #B2586E
split-complementary
#9BB258 #586EB2 #9C58B2
monochromatic
#55622D #798C41 #9BB258 #B4C582 #CDD9AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BB258#FFFFFF#000000##000000
##9BB2581.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)
#B8A95D
Tritanopia (blue-blind)
#A2AA9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9bb258;
/* rgb */ color: rgb(155, 178, 88);
/* oklch */ color: oklch(72.6% 0.119 121.3);
Tailwind
colors: {
  custom: {
    50: '#bac989',
    500: '#9bb258',
    950: '#000000',
  },
}
SCSS
$custom: #9bb258;
$custom-light: #bac989;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb258",
  "rgb": {
    "r": 155,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 75.333,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72618,
    "c": 0.11948,
    "h": 121.3
  },
  "luminance": 0.39514
}

Semantic roles & 50–950 ramp

primary
#9BB258
secondary
#A99FC7
accent
#5BCD78
background
#FBFCF8
surface
#F6F8F0
border
#D0D1CB
text
#12130C
muted
#81827D

Preview Lab

Preview with #9BB258

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

Preview Lab → · Contrast checker → · Palette generator →

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