#9BCB40#9BCB40

#9BCB40 is a light, vivid yellow-green. Relative luminance 0.501; OKLCH L 78.2% C 0.172 H 126.6°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#9BCB40
RGBrgb(155, 203, 64)
HSLhsl(81, 57%, 52%)
HSVhsv(81, 68%, 80%)
CMYKcmyk(23.6%, 0%, 68.5%, 20.4%)
CIE-LABlab(76.10, -35.89, 61.27)
CIE-LCHlch(76.10, 71.01, 120.36°)
OKLaboklab(78.18% -0.1029 0.1384)
OKLCHoklch(78.18% 0.172 126.6)
XYZxyz(35.7990, 50.0500, 12.6240)
Luminance0.5005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BCB40 #7040CB
analogous
#CBB540 #9BCB40 #56CB40
triadic
#9BCB40 #409BCB #CB409B
tetradic
#9BCB40 #40CBB5 #7040CB #CB4056
square
#9BCB40 #40CBB5 #7040CB #CB4056
split-complementary
#9BCB40 #4056CB #B540CB
monochromatic
#55721F #79A22C #9BCB40 #B4D870 #CDE5A0

Accessibility & contrast

On white

1.91
#9BCB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#9BCB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BCB40
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BCB40#FFFFFF#000000##000000
##9BCB401.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BE2B
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#A1C2AF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #9bcb40;
/* rgb */ color: rgb(155, 203, 64);
/* oklch */ color: oklch(78.2% 0.172 126.6);
Tailwind
colors: {
  custom: {
    50: '#bcdb7d',
    500: '#9bcb40',
    950: '#000000',
  },
}
SCSS
$custom: #9bcb40;
$custom-light: #bcdb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bcb40",
  "rgb": {
    "r": 155,
    "g": 203,
    "b": 64
  },
  "hsl": {
    "h": 80.719,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78176,
    "c": 0.17243,
    "h": 126.6
  },
  "luminance": 0.50051
}

Semantic roles & 50–950 ramp

primary
#9BCB40
secondary
#4D357B
accent
#47E07C
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#12150A
muted
#82847D

Preview Lab

Preview with #9BCB40

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

Preview Lab → · Contrast checker → · Palette generator →

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