#9BBA40#9BBA40

#9BBA40 is a light, vivid yellow-green. Relative luminance 0.425; OKLCH L 74.2% C 0.151 H 122.4°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#9BBA40
RGBrgb(155, 186, 64)
HSLhsl(75, 49%, 49%)
HSVhsv(75, 66%, 73%)
CMYKcmyk(16.7%, 0%, 65.6%, 27.1%)
CIE-LABlab(71.18, -27.95, 56.17)
CIE-LCHlch(71.18, 62.74, 116.46°)
OKLaboklab(74.2% -0.081 0.1277)
OKLCHoklch(74.2% 0.151 122.4)
XYZxyz(32.0022, 42.4565, 11.3585)
Luminance0.4246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BBA40 #5F40BA
analogous
#BA9C40 #9BBA40 #5EBA40
triadic
#9BBA40 #409BBA #BA409B
tetradic
#9BBA40 #40BA9C #5F40BA #BA405E
square
#9BBA40 #40BA9C #5F40BA #BA405E
split-complementary
#9BBA40 #405EBA #9C40BA
monochromatic
#4F5F21 #758C30 #9BBA40 #B3CC6B #CBDC99

Accessibility & contrast

On white

2.21
#9BBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#9BBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BBA40
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BBA40#FFFFFF#000000##000000
##9BBA401.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF30
Deuteranopia (green-blind)
#C1AE49
Tritanopia (blue-blind)
#A3B1A1
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #9bba40;
/* rgb */ color: rgb(155, 186, 64);
/* oklch */ color: oklch(74.2% 0.151 122.4);
Tailwind
colors: {
  custom: {
    50: '#bbce7b',
    500: '#9bba40',
    950: '#000000',
  },
}
SCSS
$custom: #9bba40;
$custom-light: #bbce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#9bba40",
  "rgb": {
    "r": 155,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 75.246,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74202,
    "c": 0.15117,
    "h": 122.4
  },
  "luminance": 0.42457
}

Semantic roles & 50–950 ramp

primary
#9BBA40
secondary
#9D8EC8
accent
#4FD872
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9BBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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