#9BB240#9BB240

#9BB240 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 72.3% C 0.141 H 119.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#9BB240
RGBrgb(155, 178, 64)
HSLhsl(72, 47%, 47%)
HSVhsv(72, 64%, 70%)
CMYKcmyk(12.9%, 0%, 64%, 30.2%)
CIE-LABlab(68.88, -24.06, 53.73)
CIE-LCHlch(68.88, 58.87, 114.13°)
OKLaboklab(72.35% -0.0702 0.1225)
OKLCHoklch(72.35% 0.141 119.8)
XYZxyz(30.3638, 39.1797, 10.8123)
Luminance0.3918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB240 #5740B2
analogous
#B29040 #9BB240 #62B240
triadic
#9BB240 #409BB2 #B2409B
tetradic
#9BB240 #40B290 #5740B2 #B24062
square
#9BB240 #40B290 #5740B2 #B24062
split-complementary
#9BB240 #4062B2 #9040B2
monochromatic
#4D5820 #748530 #9BB240 #B5C867 #CBD894

Accessibility & contrast

On white

2.38
#9BB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#9BB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB240
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB240#FFFFFF#000000##000000
##9BB2401.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA831
Deuteranopia (green-blind)
#BAA848
Tritanopia (blue-blind)
#A3A99A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9bb240;
/* rgb */ color: rgb(155, 178, 64);
/* oklch */ color: oklch(72.3% 0.141 119.8);
Tailwind
colors: {
  custom: {
    50: '#bbc97a',
    500: '#9bb240',
    950: '#000000',
  },
}
SCSS
$custom: #9bb240;
$custom-light: #bbc97a;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb240",
  "rgb": {
    "r": 155,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 72.105,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72347,
    "c": 0.14119,
    "h": 119.8
  },
  "luminance": 0.3918
}

Semantic roles & 50–950 ramp

primary
#9BB240
secondary
#968AC4
accent
#51D76C
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9BB240

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

Preview Lab → · Contrast checker → · Palette generator →

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