#9BAA22#9BAA22

#9BAA22 is a light, vivid yellow. Relative luminance 0.358; OKLCH L 70.3% C 0.151 H 116.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#9BAA22
RGBrgb(155, 170, 34)
HSLhsl(67, 67%, 40%)
HSVhsv(67, 80%, 67%)
CMYKcmyk(8.8%, 0%, 80%, 33.3%)
CIE-LABlab(66.39, -21.73, 62.15)
CIE-LCHlch(66.39, 65.84, 109.27°)
OKLaboklab(70.29% -0.0664 0.1354)
OKLCHoklch(70.29% 0.151 116.1)
XYZxyz(28.1818, 35.8339, 6.9451)
Luminance0.3583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BAA22 #3122AA
analogous
#AA7522 #9BAA22 #57AA22
triadic
#9BAA22 #229BAA #AA229B
tetradic
#9BAA22 #22AA75 #3122AA #AA2257
square
#9BAA22 #22AA75 #3122AA #AA2257
split-complementary
#9BAA22 #2257AA #7522AA
monochromatic
#3E440E #6C7718 #9BAA22 #C4D633 #D3E066

Accessibility & contrast

On white

2.57
#9BAA22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#9BAA22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BAA22
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BAA22#FFFFFF#000000##000000
##9BAA221.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A100
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#A5A091
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9baa22;
/* rgb */ color: rgb(155, 170, 34);
/* oklch */ color: oklch(70.3% 0.151 116.1);
Tailwind
colors: {
  custom: {
    50: '#bcc36a',
    500: '#9baa22',
    950: '#000000',
  },
}
SCSS
$custom: #9baa22;
$custom-light: #bcc36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9baa22",
  "rgb": {
    "r": 155,
    "g": 170,
    "b": 34
  },
  "hsl": {
    "h": 66.618,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.70286,
    "c": 0.15075,
    "h": 116.1
  },
  "luminance": 0.35834
}

Semantic roles & 50–950 ramp

primary
#9BAA22
secondary
#6D62C6
accent
#3EEA51
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BAA22

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

Preview Lab → · Contrast checker → · Palette generator →

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