#9BB122#9BB122

#9BB122 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 71.9% C 0.159 H 118.6°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#9BB122
RGBrgb(155, 177, 34)
HSLhsl(69, 68%, 41%)
HSVhsv(69, 81%, 69%)
CMYKcmyk(12.4%, 0%, 80.8%, 30.6%)
CIE-LABlab(68.41, -25.19, 63.93)
CIE-LCHlch(68.41, 68.72, 111.50°)
OKLaboklab(71.91% -0.0759 0.1392)
OKLCHoklch(71.91% 0.159 118.6)
XYZxyz(29.5291, 38.5286, 7.3942)
Luminance0.3853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB122 #3822B1
analogous
#B18022 #9BB122 #54B122
triadic
#9BB122 #229BB1 #B1229B
tetradic
#9BB122 #22B180 #3822B1 #B12254
square
#9BB122 #22B180 #3822B1 #B12254
split-complementary
#9BB122 #2254B1 #8022B1
monochromatic
#414A0E #6E7E18 #9BB122 #C0D938 #D0E36B

Accessibility & contrast

On white

2.41
#9BB122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#9BB122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB122
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB122#FFFFFF#000000##000000
##9BB1221.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BBA731
Tritanopia (blue-blind)
#A5A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9bb122;
/* rgb */ color: rgb(155, 177, 34);
/* oklch */ color: oklch(71.9% 0.159 118.6);
Tailwind
colors: {
  custom: {
    50: '#bcc86b',
    500: '#9bb122',
    950: '#000000',
  },
}
SCSS
$custom: #9bb122;
$custom-light: #bcc86b;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb122",
  "rgb": {
    "r": 155,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 69.231,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71907,
    "c": 0.15851,
    "h": 118.6
  },
  "luminance": 0.38528
}

Semantic roles & 50–950 ramp

primary
#9BB122
secondary
#7566C9
accent
#3DEB58
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9BB122

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

Preview Lab → · Contrast checker → · Palette generator →

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