#9BC321#9BC321

#9BC321 is a light, vivid yellow-green. Relative luminance 0.461; OKLCH L 76.1% C 0.179 H 123.6°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#9BC321
RGBrgb(155, 195, 33)
HSLhsl(75, 71%, 45%)
HSVhsv(75, 83%, 76%)
CMYKcmyk(20.5%, 0%, 83.1%, 23.5%)
CIE-LABlab(73.62, -33.76, 68.75)
CIE-LCHlch(73.62, 76.60, 116.16°)
OKLaboklab(76.11% -0.0993 0.1493)
OKLCHoklch(76.11% 0.179 123.6)
XYZxyz(33.3076, 46.1083, 8.5836)
Luminance0.4611 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC321 #4921C3
analogous
#C39A21 #9BC321 #4AC321
triadic
#9BC321 #219BC3 #C3219B
tetradic
#9BC321 #21C39A #4921C3 #C3214A
square
#9BC321 #21C39A #4921C3 #C3214A
split-complementary
#9BC321 #214AC3 #9A21C3
monochromatic
#485A0F #718F18 #9BC321 #B8DF42 #CCE877

Accessibility & contrast

On white

2.05
#9BC321 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#9BC321 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC321
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC321#FFFFFF#000000##000000
##9BC3211.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB600
Deuteranopia (green-blind)
#C9B534
Tritanopia (blue-blind)
#A3B9A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9bc321;
/* rgb */ color: rgb(155, 195, 33);
/* oklch */ color: oklch(76.1% 0.179 123.6);
Tailwind
colors: {
  custom: {
    50: '#bdd56d',
    500: '#9bc321',
    950: '#000000',
  },
}
SCSS
$custom: #9bc321;
$custom-light: #bdd56d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc321",
  "rgb": {
    "r": 155,
    "g": 195,
    "b": 33
  },
  "hsl": {
    "h": 74.815,
    "s": 71.053,
    "l": 44.706
  },
  "oklch": {
    "l": 0.76111,
    "c": 0.17934,
    "h": 123.6
  },
  "luminance": 0.46109
}

Semantic roles & 50–950 ramp

primary
#9BC321
secondary
#8871CF
accent
#3AEE66
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131408
muted
#82837B

Preview Lab

Preview with #9BC321

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

Preview Lab → · Contrast checker → · Palette generator →

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