#9BB126#9BB126

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

Color values

HEX#9BB126
RGBrgb(155, 177, 38)
HSLhsl(69, 65%, 42%)
HSVhsv(69, 79%, 69%)
CMYKcmyk(12.4%, 0%, 78.5%, 30.6%)
CIE-LABlab(68.43, -25.03, 62.80)
CIE-LCHlch(68.43, 67.60, 111.73°)
OKLaboklab(71.93% -0.0752 0.1374)
OKLCHoklch(71.93% 0.157 118.7)
XYZxyz(29.5902, 38.5530, 7.7160)
Luminance0.3855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB126 #3C26B1
analogous
#B18126 #9BB126 #56B126
triadic
#9BB126 #269BB1 #B1269B
tetradic
#9BB126 #26B181 #3C26B1 #B12656
square
#9BB126 #26B181 #3C26B1 #B12656
split-complementary
#9BB126 #2656B1 #8126B1
monochromatic
#434C10 #6F7F1B #9BB126 #BED63F #CFE071

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9BB126#FFFFFF#000000##000000
##9BB1261.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: #9bb126;
/* rgb */ color: rgb(155, 177, 38);
/* oklch */ color: oklch(71.9% 0.157 118.7);
Tailwind
colors: {
  custom: {
    50: '#bcc86d',
    500: '#9bb126',
    950: '#000000',
  },
}
SCSS
$custom: #9bb126;
$custom-light: #bcc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb126",
  "rgb": {
    "r": 155,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 69.496,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.71927,
    "c": 0.15665,
    "h": 118.7
  },
  "luminance": 0.38553
}

Semantic roles & 50–950 ramp

primary
#9BB126
secondary
#7A6BC7
accent
#40E85B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9BB126

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

Preview Lab → · Contrast checker → · Palette generator →

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