#9B9221#9B9221

#9B9221 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.8% C 0.127 H 104.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#9B9221
RGBrgb(155, 146, 33)
HSLhsl(56, 65%, 37%)
HSVhsv(56, 79%, 61%)
CMYKcmyk(0%, 5.8%, 78.7%, 39.2%)
CIE-LABlab(59.56, -9.34, 56.32)
CIE-LCHlch(59.56, 57.09, 99.42°)
OKLaboklab(64.82% -0.032 0.1227)
OKLCHoklch(64.82% 0.127 104.6)
XYZxyz(24.0720, 27.6371, 5.5051)
Luminance0.2764 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B9221 #212A9B
analogous
#9B5521 #9B9221 #679B21
triadic
#9B9221 #219B92 #92219B
tetradic
#9B9221 #219B55 #212A9B #9B2167
square
#9B9221 #219B55 #212A9B #9B2167
split-complementary
#9B9221 #21679B #55219B
monochromatic
#36330C #696216 #9B9221 #CDC22C #DCD25A

Accessibility & contrast

On white

3.22
#9B9221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#9B9221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B9221
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B9221#FFFFFF#000000##000000
##9B92211.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D03
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#A7877D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9b9221;
/* rgb */ color: rgb(155, 146, 33);
/* oklch */ color: oklch(64.8% 0.127 104.6);
Tailwind
colors: {
  custom: {
    50: '#bcb167',
    500: '#9b9221',
    950: '#000000',
  },
}
SCSS
$custom: #9b9221;
$custom-light: #bcb167;
$custom-dark: #000000;
JSON
{
  "hex": "#9b9221",
  "rgb": {
    "r": 155,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 55.574,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64818,
    "c": 0.12684,
    "h": 104.6
  },
  "luminance": 0.27636
}

Semantic roles & 50–950 ramp

primary
#9B9221
secondary
#585FC0
accent
#4CE840
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B9221

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

Preview Lab → · Contrast checker → · Palette generator →

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