#9CB252#9CB252

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

Color values

HEX#9CB252
RGBrgb(156, 178, 82)
HSLhsl(74, 38%, 51%)
HSVhsv(74, 54%, 70%)
CMYKcmyk(12.4%, 0%, 53.9%, 30.2%)
CIE-LABlab(69.12, -22.17, 45.90)
CIE-LCHlch(69.12, 50.98, 115.79°)
OKLaboklab(72.62% -0.0632 0.1079)
OKLCHoklch(72.62% 0.125 120.3)
XYZxyz(31.1540, 39.5180, 13.9675)
Luminance0.3952 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB252 #6852B2
analogous
#B29852 #9CB252 #6CB252
triadic
#9CB252 #529CB2 #B2529C
tetradic
#9CB252 #52B298 #6852B2 #B2526C
square
#9CB252 #52B298 #6852B2 #B2526C
split-complementary
#9CB252 #526CB2 #9852B2
monochromatic
#535F2A #788A3D #9CB252 #B4C57C #CCD8A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB252#FFFFFF#000000##000000
##9CB2521.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)
#BCA949
Deuteranopia (green-blind)
#B9A958
Tritanopia (blue-blind)
#A3AA9D
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9cb252;
/* rgb */ color: rgb(156, 178, 82);
/* oklch */ color: oklch(72.6% 0.125 120.3);
Tailwind
colors: {
  custom: {
    50: '#bbc985',
    500: '#9cb252',
    950: '#000000',
  },
}
SCSS
$custom: #9cb252;
$custom-light: #bbc985;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb252",
  "rgb": {
    "r": 156,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 73.75,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.72616,
    "c": 0.12504,
    "h": 120.3
  },
  "luminance": 0.39518
}

Semantic roles & 50–950 ramp

primary
#9CB252
secondary
#A49BC5
accent
#59CE74
background
#FBFCF8
surface
#F6F8EF
border
#D0D1CA
text
#12130B
muted
#81827C

Preview Lab

Preview with #9CB252

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

Preview Lab → · Contrast checker → · Palette generator →

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