#9BAB2B#9BAB2B

#9BAB2B is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.6% C 0.147 H 116.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#9BAB2B
RGBrgb(155, 171, 43)
HSLhsl(68, 60%, 42%)
HSVhsv(68, 75%, 67%)
CMYKcmyk(9.4%, 0%, 74.9%, 32.9%)
CIE-LABlab(66.73, -21.85, 59.63)
CIE-LCHlch(66.73, 63.50, 110.12°)
OKLaboklab(70.57% -0.066 0.1316)
OKLCHoklch(70.57% 0.147 116.6)
XYZxyz(28.5172, 36.2692, 7.7834)
Luminance0.3627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAB2B #3B2BAB
analogous
#AB7B2B #9BAB2B #5BAB2B
triadic
#9BAB2B #2B9BAB #AB2B9B
tetradic
#9BAB2B #2BAB7B #3B2BAB #AB2B5B
square
#9BAB2B #2BAB7B #3B2BAB #AB2B5B
split-complementary
#9BAB2B #2B5BAB #7B2BAB
monochromatic
#424912 #6F7A1F #9BAB2B #BED043 #CFDC74

Accessibility & contrast

On white

2.54
#9BAB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#9BAB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAB2B
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAB2B#FFFFFF#000000##000000
##9BAB2B1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A20E
Deuteranopia (green-blind)
#B6A336
Tritanopia (blue-blind)
#A5A193
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9bab2b;
/* rgb */ color: rgb(155, 171, 43);
/* oklch */ color: oklch(70.6% 0.147 116.6);
Tailwind
colors: {
  custom: {
    50: '#bcc36e',
    500: '#9bab2b',
    950: '#000000',
  },
}
SCSS
$custom: #9bab2b;
$custom-light: #bcc36e;
$custom-dark: #000000;
JSON
{
  "hex": "#9bab2b",
  "rgb": {
    "r": 155,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 67.5,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.70567,
    "c": 0.1472,
    "h": 116.6
  },
  "luminance": 0.36269
}

Semantic roles & 50–950 ramp

primary
#9BAB2B
secondary
#796EC4
accent
#45E359
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9BAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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