#9BB042#9BB042

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

Color values

HEX#9BB042
RGBrgb(155, 176, 66)
HSLhsl(71, 45%, 47%)
HSVhsv(71, 63%, 69%)
CMYKcmyk(11.9%, 0%, 62.5%, 31%)
CIE-LABlab(68.32, -22.93, 52.28)
CIE-LCHlch(68.32, 57.09, 113.68°)
OKLaboklab(71.9% -0.0668 0.1197)
OKLCHoklch(71.9% 0.137 119.2)
XYZxyz(30.0267, 38.4128, 10.9858)
Luminance0.3841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB042 #5742B0
analogous
#B08E42 #9BB042 #64B042
triadic
#9BB042 #429BB0 #B0429B
tetradic
#9BB042 #42B08E #5742B0 #B04264
square
#9BB042 #42B08E #5742B0 #B04264
split-complementary
#9BB042 #4264B0 #8E42B0
monochromatic
#4D5721 #748331 #9BB042 #B5C769 #CBD795

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BB042#FFFFFF#000000##000000
##9BB0421.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)
#BBA735
Deuteranopia (green-blind)
#B8A74A
Tritanopia (blue-blind)
#A3A799
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9bb042;
/* rgb */ color: rgb(155, 176, 66);
/* oklch */ color: oklch(71.9% 0.137 119.2);
Tailwind
colors: {
  custom: {
    50: '#bbc77b',
    500: '#9bb042',
    950: '#000000',
  },
}
SCSS
$custom: #9bb042;
$custom-light: #bbc77b;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb042",
  "rgb": {
    "r": 155,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 71.455,
    "s": 45.455,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71904,
    "c": 0.1371,
    "h": 119.2
  },
  "luminance": 0.38413
}

Semantic roles & 50–950 ramp

primary
#9BB042
secondary
#968BC3
accent
#53D56C
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9BB042

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

Preview Lab → · Contrast checker → · Palette generator →

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