#9CB258#9CB258

#9CB258 is a light, moderate yellow-green. Relative luminance 0.396; OKLCH L 72.7% C 0.119 H 120.8°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#9CB258
RGBrgb(156, 178, 88)
HSLhsl(75, 37%, 52%)
HSVhsv(75, 51%, 70%)
CMYKcmyk(12.4%, 0%, 50.6%, 30.2%)
CIE-LABlab(69.19, -21.59, 43.08)
CIE-LCHlch(69.19, 48.19, 116.62°)
OKLaboklab(72.69% -0.061 0.1023)
OKLCHoklch(72.69% 0.119 120.8)
XYZxyz(31.3923, 39.6133, 15.2230)
Luminance0.3961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB258 #6E58B2
analogous
#B29B58 #9CB258 #6FB258
triadic
#9CB258 #589CB2 #B2589C
tetradic
#9CB258 #58B29B #6E58B2 #B2586F
square
#9CB258 #58B29B #6E58B2 #B2586F
split-complementary
#9CB258 #586FB2 #9B58B2
monochromatic
#55622D #7A8C41 #9CB258 #B5C582 #CED9AC

Accessibility & contrast

On white

2.35
#9CB258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#9CB258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB258
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB258#FFFFFF#000000##000000
##9CB2581.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA950
Deuteranopia (green-blind)
#B9A95D
Tritanopia (blue-blind)
#A3AA9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb258;
/* rgb */ color: rgb(156, 178, 88);
/* oklch */ color: oklch(72.7% 0.119 120.8);
Tailwind
colors: {
  custom: {
    50: '#bbc989',
    500: '#9cb258',
    950: '#000000',
  },
}
SCSS
$custom: #9cb258;
$custom-light: #bbc989;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb258",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 88
  },
  "hsl": {
    "h": 74.667,
    "s": 36.885,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72693,
    "c": 0.11911,
    "h": 120.8
  },
  "luminance": 0.39613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9CB258

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

Preview Lab → · Contrast checker → · Palette generator →

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