#9BB127#9BB127

#9BB127 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#9BB127
RGBrgb(155, 177, 39)
HSLhsl(70, 64%, 42%)
HSVhsv(70, 78%, 69%)
CMYKcmyk(12.4%, 0%, 78%, 30.6%)
CIE-LABlab(68.43, -24.99, 62.50)
CIE-LCHlch(68.43, 67.31, 111.79°)
OKLaboklab(71.93% -0.075 0.137)
OKLCHoklch(71.93% 0.156 118.7)
XYZxyz(29.6066, 38.5596, 7.8021)
Luminance0.3856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB127 #3D27B1
analogous
#B18227 #9BB127 #56B127
triadic
#9BB127 #279BB1 #B1279B
tetradic
#9BB127 #27B182 #3D27B1 #B12756
square
#9BB127 #27B182 #3D27B1 #B12756
split-complementary
#9BB127 #2756B1 #8227B1
monochromatic
#434D11 #6F7F1C #9BB127 #BDD540 #CFE072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BB127#FFFFFF#000000##000000
##9BB1271.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)
#BBA734
Tritanopia (blue-blind)
#A5A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9bb127;
/* rgb */ color: rgb(155, 177, 39);
/* oklch */ color: oklch(71.9% 0.156 118.7);
Tailwind
colors: {
  custom: {
    50: '#bcc86d',
    500: '#9bb127',
    950: '#000000',
  },
}
SCSS
$custom: #9bb127;
$custom-light: #bcc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb127",
  "rgb": {
    "r": 155,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 69.565,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71933,
    "c": 0.15615,
    "h": 118.7
  },
  "luminance": 0.38559
}

Semantic roles & 50–950 ramp

primary
#9BB127
secondary
#7B6DC7
accent
#41E75B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9BB127

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

Preview Lab → · Contrast checker → · Palette generator →

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