#9B9322#9B9322

#9B9322 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.0% C 0.127 H 105.2°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9B9322
RGBrgb(155, 147, 34)
HSLhsl(56, 64%, 37%)
HSVhsv(56, 78%, 61%)
CMYKcmyk(0%, 5.2%, 78.1%, 39.2%)
CIE-LABlab(59.85, -9.84, 56.25)
CIE-LCHlch(59.85, 57.11, 99.92°)
OKLaboklab(65.05% -0.0333 0.1228)
OKLCHoklch(65.05% 0.127 105.2)
XYZxyz(24.2411, 27.9524, 5.6315)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9322 #222A9B
analogous
#9B5722 #9B9322 #679B22
triadic
#9B9322 #229B93 #93229B
tetradic
#9B9322 #229B57 #222A9B #9B2267
square
#9B9322 #229B57 #222A9B #9B2267
split-complementary
#9B9322 #22679B #57229B
monochromatic
#37340C #696317 #9B9322 #CDC32D #DBD35C

Accessibility & contrast

On white

3.19
#9B9322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9B9322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9322
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9322#FFFFFF#000000##000000
##9B93221.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E05
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#A7897E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b9322;
/* rgb */ color: rgb(155, 147, 34);
/* oklch */ color: oklch(65.0% 0.127 105.2);
Tailwind
colors: {
  custom: {
    50: '#bcb267',
    500: '#9b9322',
    950: '#000000',
  },
}
SCSS
$custom: #9b9322;
$custom-light: #bcb267;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9322",
  "rgb": {
    "r": 155,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 56.033,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65048,
    "c": 0.12722,
    "h": 105.2
  },
  "luminance": 0.27951
}

Semantic roles & 50–950 ramp

primary
#9B9322
secondary
#5960C0
accent
#4CE741
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B9322

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

Preview Lab → · Contrast checker → · Palette generator →

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