#9CB927#9CB927

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

Color values

HEX#9CB927
RGBrgb(156, 185, 39)
HSLhsl(72, 65%, 44%)
HSVhsv(72, 79%, 73%)
CMYKcmyk(15.7%, 0%, 78.9%, 27.5%)
CIE-LABlab(70.81, -28.44, 64.69)
CIE-LCHlch(70.81, 70.67, 113.73°)
OKLaboklab(73.87% -0.0845 0.1416)
OKLCHoklch(73.87% 0.165 120.8)
XYZxyz(31.4261, 41.9124, 8.3534)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CB927 #4427B9
analogous
#B98D27 #9CB927 #53B927
triadic
#9CB927 #279CB9 #B9279C
tetradic
#9CB927 #27B98D #4427B9 #B92753
square
#9CB927 #27B98D #4427B9 #B92753
split-complementary
#9CB927 #2753B9 #8D27B9
monochromatic
#475412 #71861C #9CB927 #BBD845 #CDE378

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9CB927#FFFFFF#000000##000000
##9CB9271.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: #9cb927;
/* rgb */ color: rgb(156, 185, 39);
/* oklch */ color: oklch(73.9% 0.165 120.8);
Tailwind
colors: {
  custom: {
    50: '#bdce6e',
    500: '#9cb927',
    950: '#000000',
  },
}
SCSS
$custom: #9cb927;
$custom-light: #bdce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9cb927",
  "rgb": {
    "r": 156,
    "g": 185,
    "b": 39
  },
  "hsl": {
    "h": 71.918,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73869,
    "c": 0.16488,
    "h": 120.8
  },
  "luminance": 0.41912
}

Semantic roles & 50–950 ramp

primary
#9CB927
secondary
#8372CA
accent
#40E861
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CB927

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

Preview Lab → · Contrast checker → · Palette generator →

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