#9BAB22#9BAB22

#9BAB22 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.5% C 0.152 H 116.5°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#9BAB22
RGBrgb(155, 171, 34)
HSLhsl(67, 67%, 40%)
HSVhsv(67, 80%, 67%)
CMYKcmyk(9.4%, 0%, 80.1%, 32.9%)
CIE-LABlab(66.68, -22.23, 62.40)
CIE-LCHlch(66.68, 66.24, 109.61°)
OKLaboklab(70.52% -0.0678 0.1359)
OKLCHoklch(70.52% 0.152 116.5)
XYZxyz(28.3700, 36.2103, 7.0078)
Luminance0.3621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAB22 #3222AB
analogous
#AB7622 #9BAB22 #57AB22
triadic
#9BAB22 #229BAB #AB229B
tetradic
#9BAB22 #22AB76 #3222AB #AB2257
square
#9BAB22 #22AB76 #3222AB #AB2257
split-complementary
#9BAB22 #2257AB #7622AB
monochromatic
#3E450E #6D7818 #9BAB22 #C4D734 #D2E167

Accessibility & contrast

On white

2.55
#9BAB22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#9BAB22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAB22
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAB22#FFFFFF#000000##000000
##9BAB221.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#B6A330
Tritanopia (blue-blind)
#A5A192
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9bab22;
/* rgb */ color: rgb(155, 171, 34);
/* oklch */ color: oklch(70.5% 0.152 116.5);
Tailwind
colors: {
  custom: {
    50: '#bcc36a',
    500: '#9bab22',
    950: '#000000',
  },
}
SCSS
$custom: #9bab22;
$custom-light: #bcc36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9bab22",
  "rgb": {
    "r": 155,
    "g": 171,
    "b": 34
  },
  "hsl": {
    "h": 67.007,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.70517,
    "c": 0.15186,
    "h": 116.5
  },
  "luminance": 0.3621
}

Semantic roles & 50–950 ramp

primary
#9BAB22
secondary
#6E63C6
accent
#3EEA52
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAB22

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

Preview Lab → · Contrast checker → · Palette generator →

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