#9BB242#9BB242

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

Color values

HEX#9BB242
RGBrgb(155, 178, 66)
HSLhsl(72, 46%, 48%)
HSVhsv(72, 63%, 70%)
CMYKcmyk(12.9%, 0%, 62.9%, 30.2%)
CIE-LABlab(68.90, -23.92, 52.90)
CIE-LCHlch(68.90, 58.05, 114.33°)
OKLaboklab(72.37% -0.0695 0.121)
OKLCHoklch(72.37% 0.14 119.9)
XYZxyz(30.4218, 39.2028, 11.1174)
Luminance0.3920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB242 #5942B2
analogous
#B29142 #9BB242 #63B242
triadic
#9BB242 #429BB2 #B2429B
tetradic
#9BB242 #42B291 #5942B2 #B24263
square
#9BB242 #42B291 #5942B2 #B24263
split-complementary
#9BB242 #4263B2 #9142B2
monochromatic
#4D5921 #748531 #9BB242 #B4C86A #CBD896

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BB242#FFFFFF#000000##000000
##9BB2421.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)
#BDA834
Deuteranopia (green-blind)
#BAA84A
Tritanopia (blue-blind)
#A3A99B
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9bb242;
/* rgb */ color: rgb(155, 178, 66);
/* oklch */ color: oklch(72.4% 0.140 119.9);
Tailwind
colors: {
  custom: {
    50: '#bbc97b',
    500: '#9bb242',
    950: '#000000',
  },
}
SCSS
$custom: #9bb242;
$custom-light: #bbc97b;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb242",
  "rgb": {
    "r": 155,
    "g": 178,
    "b": 66
  },
  "hsl": {
    "h": 72.321,
    "s": 45.902,
    "l": 47.843
  },
  "oklch": {
    "l": 0.72366,
    "c": 0.1396,
    "h": 119.9
  },
  "luminance": 0.39203
}

Semantic roles & 50–950 ramp

primary
#9BB242
secondary
#978CC4
accent
#52D66D
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9BB242

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

Preview Lab → · Contrast checker → · Palette generator →

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