#9BA922#9BA922

#9BA922 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.1% C 0.150 H 115.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#9BA922
RGBrgb(155, 169, 34)
HSLhsl(66, 67%, 40%)
HSVhsv(66, 80%, 66%)
CMYKcmyk(8.3%, 0%, 79.9%, 33.7%)
CIE-LABlab(66.11, -21.23, 61.89)
CIE-LCHlch(66.11, 65.43, 108.93°)
OKLaboklab(70.06% -0.065 0.1348)
OKLCHoklch(70.06% 0.15 115.7)
XYZxyz(27.9951, 35.4604, 6.8829)
Luminance0.3546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA922 #3022A9
analogous
#A97322 #9BA922 #58A922
triadic
#9BA922 #229BA9 #A9229B
tetradic
#9BA922 #22A973 #3022A9 #A92258
square
#9BA922 #22A973 #3022A9 #A92258
split-complementary
#9BA922 #2258A9 #7322A9
monochromatic
#3E430D #6C7618 #9BA922 #C5D632 #D3E065

Accessibility & contrast

On white

2.60
#9BA922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#9BA922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA922
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA922#FFFFFF#000000##000000
##9BA9221.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B4A22F
Tritanopia (blue-blind)
#A59F90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9ba922;
/* rgb */ color: rgb(155, 169, 34);
/* oklch */ color: oklch(70.1% 0.150 115.7);
Tailwind
colors: {
  custom: {
    50: '#bcc26a',
    500: '#9ba922',
    950: '#000000',
  },
}
SCSS
$custom: #9ba922;
$custom-light: #bcc26a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba922",
  "rgb": {
    "r": 155,
    "g": 169,
    "b": 34
  },
  "hsl": {
    "h": 66.222,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70055,
    "c": 0.14967,
    "h": 115.7
  },
  "luminance": 0.3546
}

Semantic roles & 50–950 ramp

primary
#9BA922
secondary
#6C61C5
accent
#3EE950
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA922

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

Preview Lab → · Contrast checker → · Palette generator →

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