#9BB040#9BB040

#9BB040 is a light, vivid yellow-green. Relative luminance 0.384; OKLCH L 71.9% C 0.139 H 119.1°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#9BB040
RGBrgb(155, 176, 64)
HSLhsl(71, 47%, 47%)
HSVhsv(71, 64%, 69%)
CMYKcmyk(11.9%, 0%, 63.6%, 31%)
CIE-LABlab(68.31, -23.08, 53.12)
CIE-LCHlch(68.31, 57.91, 113.48°)
OKLaboklab(71.89% -0.0674 0.1212)
OKLCHoklch(71.89% 0.139 119.1)
XYZxyz(29.9688, 38.3896, 10.6806)
Luminance0.3839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB040 #5540B0
analogous
#B08D40 #9BB040 #63B040
triadic
#9BB040 #409BB0 #B0409B
tetradic
#9BB040 #40B08D #5540B0 #B04063
square
#9BB040 #40B08D #5540B0 #B04063
split-complementary
#9BB040 #4063B0 #8D40B0
monochromatic
#4C561F #738330 #9BB040 #B5C766 #CBD893

Accessibility & contrast

On white

2.42
#9BB040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#9BB040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB040
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB040#FFFFFF#000000##000000
##9BB0401.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#B9A748
Tritanopia (blue-blind)
#A4A799
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9bb040;
/* rgb */ color: rgb(155, 176, 64);
/* oklch */ color: oklch(71.9% 0.139 119.1);
Tailwind
colors: {
  custom: {
    50: '#bbc77a',
    500: '#9bb040',
    950: '#000000',
  },
}
SCSS
$custom: #9bb040;
$custom-light: #bbc77a;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb040",
  "rgb": {
    "r": 155,
    "g": 176,
    "b": 64
  },
  "hsl": {
    "h": 71.25,
    "s": 46.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71885,
    "c": 0.13871,
    "h": 119.1
  },
  "luminance": 0.38389
}

Semantic roles & 50–950 ramp

primary
#9BB040
secondary
#9489C3
accent
#51D66A
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#121309
muted
#81827B

Preview Lab

Preview with #9BB040

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

Preview Lab → · Contrast checker → · Palette generator →

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