#9BC12A#9BC12A

#9BC12A is a light, vivid yellow-green. Relative luminance 0.453; OKLCH L 75.7% C 0.173 H 123.4°. Best body text is #000000 at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#9BC12A
RGBrgb(155, 193, 42)
HSLhsl(75, 64%, 46%)
HSVhsv(75, 78%, 76%)
CMYKcmyk(19.7%, 0%, 78.2%, 24.3%)
CIE-LABlab(73.07, -32.49, 65.84)
CIE-LCHlch(73.07, 73.42, 116.27°)
OKLaboklab(75.68% -0.0953 0.1446)
OKLCHoklch(75.68% 0.173 123.4)
XYZxyz(33.0059, 45.2754, 9.1902)
Luminance0.4528 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC12A #502AC1
analogous
#C19B2A #9BC12A #50C12A
triadic
#9BC12A #2A9BC1 #C12A9B
tetradic
#9BC12A #2AC19B #502AC1 #C12A50
square
#9BC12A #2AC19B #502AC1 #C12A50
split-complementary
#9BC12A #2A50C1 #9B2AC1
monochromatic
#4A5C14 #738F1F #9BC12A #B6D94F #CBE482

Accessibility & contrast

On white

2.09
#9BC12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.06
#9BC12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC12A
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC12A#FFFFFF#000000##000000
##9BC12A1.002.0910.0610.06
#FFFFFF2.091.0021.0021.00
#00000010.0621.001.001.00
##00000010.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#C7B339
Tritanopia (blue-blind)
#A3B7A5
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #9bc12a;
/* rgb */ color: rgb(155, 193, 42);
/* oklch */ color: oklch(75.7% 0.173 123.4);
Tailwind
colors: {
  custom: {
    50: '#bcd371',
    500: '#9bc12a',
    950: '#000000',
  },
}
SCSS
$custom: #9bc12a;
$custom-light: #bcd371;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc12a",
  "rgb": {
    "r": 155,
    "g": 193,
    "b": 42
  },
  "hsl": {
    "h": 75.099,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.75684,
    "c": 0.17315,
    "h": 123.4
  },
  "luminance": 0.45276
}

Semantic roles & 50–950 ramp

primary
#9BC12A
secondary
#8F7ACD
accent
#41E76A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#121408
muted
#81827B

Preview Lab

Preview with #9BC12A

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

Preview Lab → · Contrast checker → · Palette generator →

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