#9CBA27#9CBA27

#9CBA27 is a light, vivid yellow-green. Relative luminance 0.423; OKLCH L 74.1% C 0.166 H 121.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#9CBA27
RGBrgb(156, 186, 39)
HSLhsl(72, 65%, 44%)
HSVhsv(72, 79%, 73%)
CMYKcmyk(16.1%, 0%, 79%, 27.1%)
CIE-LABlab(71.10, -28.92, 64.95)
CIE-LCHlch(71.10, 71.10, 114.00°)
OKLaboklab(74.1% -0.0858 0.1422)
OKLCHoklch(74.1% 0.166 121.1)
XYZxyz(31.6360, 42.3322, 8.4234)
Luminance0.4233 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9CBA27 #4527BA
analogous
#BA8F27 #9CBA27 #53BA27
triadic
#9CBA27 #279CBA #BA279C
tetradic
#9CBA27 #27BA8F #4527BA #BA2753
square
#9CBA27 #27BA8F #4527BA #BA2753
split-complementary
#9CBA27 #2753BA #8F27BA
monochromatic
#475512 #72871C #9CBA27 #BAD846 #CDE379

Accessibility & contrast

On white

2.22
#9CBA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#9CBA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9CBA27
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9CBA27#FFFFFF#000000##000000
##9CBA271.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#A5B09F
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9cba27;
/* rgb */ color: rgb(156, 186, 39);
/* oklch */ color: oklch(74.1% 0.166 121.1);
Tailwind
colors: {
  custom: {
    50: '#bdce6e',
    500: '#9cba27',
    950: '#000000',
  },
}
SCSS
$custom: #9cba27;
$custom-light: #bdce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9cba27",
  "rgb": {
    "r": 156,
    "g": 186,
    "b": 39
  },
  "hsl": {
    "h": 72.245,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74102,
    "c": 0.16604,
    "h": 121.1
  },
  "luminance": 0.42332
}

Semantic roles & 50–950 ramp

primary
#9CBA27
secondary
#8472CB
accent
#40E862
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9CBA27

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

Preview Lab → · Contrast checker → · Palette generator →

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