#9BB128#9BB128

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

Color values

HEX#9BB128
RGBrgb(155, 177, 40)
HSLhsl(70, 63%, 43%)
HSVhsv(70, 77%, 69%)
CMYKcmyk(12.4%, 0%, 77.4%, 30.6%)
CIE-LABlab(68.44, -24.95, 62.20)
CIE-LCHlch(68.44, 67.01, 111.86°)
OKLaboklab(71.94% -0.0748 0.1365)
OKLCHoklch(71.94% 0.156 118.7)
XYZxyz(29.6234, 38.5663, 7.8905)
Luminance0.3857 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB128 #3E28B1
analogous
#B18228 #9BB128 #56B128
triadic
#9BB128 #289BB1 #B1289B
tetradic
#9BB128 #28B182 #3E28B1 #B12856
square
#9BB128 #28B182 #3E28B1 #B12856
split-complementary
#9BB128 #2856B1 #8228B1
monochromatic
#444D11 #6F7F1D #9BB128 #BDD442 #CEE074

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BB128#FFFFFF#000000##000000
##9BB1281.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)
#BAA735
Tritanopia (blue-blind)
#A5A798
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9bb128;
/* rgb */ color: rgb(155, 177, 40);
/* oklch */ color: oklch(71.9% 0.156 118.7);
Tailwind
colors: {
  custom: {
    50: '#bcc86e',
    500: '#9bb128',
    950: '#000000',
  },
}
SCSS
$custom: #9bb128;
$custom-light: #bcc86e;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb128",
  "rgb": {
    "r": 155,
    "g": 177,
    "b": 40
  },
  "hsl": {
    "h": 69.635,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.71938,
    "c": 0.15565,
    "h": 118.7
  },
  "luminance": 0.38566
}

Semantic roles & 50–950 ramp

primary
#9BB128
secondary
#7C6EC7
accent
#42E65C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9BB128

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

Preview Lab → · Contrast checker → · Palette generator →

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