#9CB928#9CB928

#9CB928 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.9% C 0.164 H 120.9°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#9CB928
RGBrgb(156, 185, 40)
HSLhsl(72, 64%, 44%)
HSVhsv(72, 78%, 73%)
CMYKcmyk(15.7%, 0%, 78.4%, 27.5%)
CIE-LABlab(70.82, -28.40, 64.40)
CIE-LCHlch(70.82, 70.38, 113.80°)
OKLaboklab(73.87% -0.0843 0.1412)
OKLCHoklch(73.87% 0.164 120.9)
XYZxyz(31.4428, 41.9191, 8.4418)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB928 #4528B9
analogous
#B98E28 #9CB928 #54B928
triadic
#9CB928 #289CB9 #B9289C
tetradic
#9CB928 #28B98E #4528B9 #B92854
square
#9CB928 #28B98E #4528B9 #B92854
split-complementary
#9CB928 #2854B9 #8E28B9
monochromatic
#475412 #72871D #9CB928 #BAD747 #CDE279

Accessibility & contrast

On white

2.24
#9CB928 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#9CB928 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB928
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB928#FFFFFF#000000##000000
##9CB9281.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#A5AF9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9cb928;
/* rgb */ color: rgb(156, 185, 40);
/* oklch */ color: oklch(73.9% 0.164 120.9);
Tailwind
colors: {
  custom: {
    50: '#bdce6f',
    500: '#9cb928',
    950: '#000000',
  },
}
SCSS
$custom: #9cb928;
$custom-light: #bdce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb928",
  "rgb": {
    "r": 156,
    "g": 185,
    "b": 40
  },
  "hsl": {
    "h": 72,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73874,
    "c": 0.16441,
    "h": 120.9
  },
  "luminance": 0.41919
}

Semantic roles & 50–950 ramp

primary
#9CB928
secondary
#8473CA
accent
#40E762
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB928

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

Preview Lab → · Contrast checker → · Palette generator →

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