#9BC331#9BC331

#9BC331 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 76.2% C 0.172 H 124.1°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#9BC331
RGBrgb(155, 195, 49)
HSLhsl(76, 60%, 48%)
HSVhsv(76, 75%, 76%)
CMYKcmyk(20.5%, 0%, 74.9%, 23.5%)
CIE-LABlab(73.69, -33.09, 64.23)
CIE-LCHlch(73.69, 72.25, 117.26°)
OKLaboklab(76.19% -0.0964 0.1423)
OKLCHoklch(76.19% 0.172 124.1)
XYZxyz(33.5874, 46.2202, 10.0570)
Luminance0.4622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BC331 #5931C3
analogous
#C3A231 #9BC331 #52C331
triadic
#9BC331 #319BC3 #C3319B
tetradic
#9BC331 #31C3A2 #5931C3 #C33152
square
#9BC331 #31C3A2 #5931C3 #C33152
split-complementary
#9BC331 #3152C3 #A231C3
monochromatic
#4D6118 #749225 #9BC331 #B4D65B #CBE28C

Accessibility & contrast

On white

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

On black

10.24
#9BC331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BC331
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BC331#FFFFFF#000000##000000
##9BC3311.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB60F
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#A3B9A7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #9bc331;
/* rgb */ color: rgb(155, 195, 49);
/* oklch */ color: oklch(76.2% 0.172 124.1);
Tailwind
colors: {
  custom: {
    50: '#bcd574',
    500: '#9bc331',
    950: '#000000',
  },
}
SCSS
$custom: #9bc331;
$custom-light: #bcd574;
$custom-dark: #000000;
JSON
{
  "hex": "#9bc331",
  "rgb": {
    "r": 155,
    "g": 195,
    "b": 49
  },
  "hsl": {
    "h": 76.438,
    "s": 59.836,
    "l": 47.843
  },
  "oklch": {
    "l": 0.76193,
    "c": 0.17188,
    "h": 124.1
  },
  "luminance": 0.46221
}

Semantic roles & 50–950 ramp

primary
#9BC331
secondary
#9783CC
accent
#45E370
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#121409
muted
#81837B

Preview Lab

Preview with #9BC331

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

Preview Lab → · Contrast checker → · Palette generator →

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