#9BA322#9BA322

#9BA322 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.7% C 0.143 H 113.3°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#9BA322
RGBrgb(155, 163, 34)
HSLhsl(64, 65%, 39%)
HSVhsv(64, 79%, 64%)
CMYKcmyk(4.9%, 0%, 79.1%, 36.1%)
CIE-LABlab(64.39, -18.20, 60.35)
CIE-LCHlch(64.39, 63.04, 106.78°)
OKLaboklab(68.68% -0.0566 0.1315)
OKLCHoklch(68.68% 0.143 113.3)
XYZxyz(26.9044, 33.2790, 6.5193)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BA322 #2A22A3
analogous
#A36A22 #9BA322 #5AA322
triadic
#9BA322 #229BA3 #A3229B
tetradic
#9BA322 #22A36A #2A22A3 #A3225A
square
#9BA322 #22A36A #2A22A3 #A3225A
split-complementary
#9BA322 #225AA3 #6A22A3
monochromatic
#3B3E0D #6B7017 #9BA322 #C9D42F #D6DE61

Accessibility & contrast

On white

2.74
#9BA322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#9BA322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BA322
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BA322#FFFFFF#000000##000000
##9BA3221.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B09D2E
Tritanopia (blue-blind)
#A6998B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9ba322;
/* rgb */ color: rgb(155, 163, 34);
/* oklch */ color: oklch(68.7% 0.143 113.3);
Tailwind
colors: {
  custom: {
    50: '#bcbe69',
    500: '#9ba322',
    950: '#000000',
  },
}
SCSS
$custom: #9ba322;
$custom-light: #bcbe69;
$custom-dark: #000000;
JSON
{
  "hex": "#9ba322",
  "rgb": {
    "r": 155,
    "g": 163,
    "b": 34
  },
  "hsl": {
    "h": 63.721,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.68676,
    "c": 0.1432,
    "h": 113.3
  },
  "luminance": 0.33278
}

Semantic roles & 50–950 ramp

primary
#9BA322
secondary
#645EC3
accent
#3FE84A
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121207
muted
#81817A

Preview Lab

Preview with #9BA322

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

Preview Lab → · Contrast checker → · Palette generator →

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