#9CB728#9CB728

#9CB728 is a light, vivid yellow-green. Relative luminance 0.411; OKLCH L 73.4% C 0.162 H 120.3°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#9CB728
RGBrgb(156, 183, 40)
HSLhsl(71, 64%, 44%)
HSVhsv(71, 78%, 72%)
CMYKcmyk(14.8%, 0%, 78.1%, 28.2%)
CIE-LABlab(70.24, -27.44, 63.87)
CIE-LCHlch(70.24, 69.52, 113.25°)
OKLaboklab(73.41% -0.0817 0.14)
OKLCHoklch(73.41% 0.162 120.3)
XYZxyz(31.0274, 41.0882, 8.3033)
Luminance0.4109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB728 #4328B7
analogous
#B78A28 #9CB728 #54B728
triadic
#9CB728 #289CB7 #B7289C
tetradic
#9CB728 #28B78A #4328B7 #B72854
square
#9CB728 #28B78A #4328B7 #B72854
split-complementary
#9CB728 #2854B7 #8A28B7
monochromatic
#465312 #71851D #9CB728 #BBD646 #CEE178

Accessibility & contrast

On white

2.28
#9CB728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#9CB728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CB728
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CB728#FFFFFF#000000##000000
##9CB7281.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C0AC36
Tritanopia (blue-blind)
#A5AD9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #9cb728;
/* rgb */ color: rgb(156, 183, 40);
/* oklch */ color: oklch(73.4% 0.162 120.3);
Tailwind
colors: {
  custom: {
    50: '#bdcc6e',
    500: '#9cb728',
    950: '#000000',
  },
}
SCSS
$custom: #9cb728;
$custom-light: #bdcc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb728",
  "rgb": {
    "r": 156,
    "g": 183,
    "b": 40
  },
  "hsl": {
    "h": 71.329,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.73408,
    "c": 0.16211,
    "h": 120.3
  },
  "luminance": 0.41088
}

Semantic roles & 50–950 ramp

primary
#9CB728
secondary
#8272C9
accent
#41E760
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB728

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

Preview Lab → · Contrast checker → · Palette generator →

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