#9B922B#9B922B

#9B922B is a light, vivid yellow. Relative luminance 0.277; OKLCH L 64.9% C 0.121 H 104.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9B922B
RGBrgb(155, 146, 43)
HSLhsl(55, 57%, 39%)
HSVhsv(55, 72%, 61%)
CMYKcmyk(0%, 5.8%, 72.3%, 39.2%)
CIE-LABlab(59.62, -8.89, 52.79)
CIE-LCHlch(59.62, 53.54, 99.56°)
OKLaboklab(64.88% -0.0298 0.1172)
OKLCHoklch(64.88% 0.121 104.3)
XYZxyz(24.2335, 27.7017, 6.3555)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B922B #2B349B
analogous
#9B5A2B #9B922B #6C9B2B
triadic
#9B922B #2B9B92 #922B9B
tetradic
#9B922B #2B9B5A #2B349B #9B2B6C
square
#9B922B #2B9B5A #2B349B #9B2B6C
split-complementary
#9B922B #2B6C9B #5A2B9B
monochromatic
#3B3810 #6B651E #9B922B #C9BD3B #D6CD6B

Accessibility & contrast

On white

3.21
#9B922B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#9B922B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B922B
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B922B#FFFFFF#000000##000000
##9B922B1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D1A
Deuteranopia (green-blind)
#A29232
Tritanopia (blue-blind)
#A7887E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9b922b;
/* rgb */ color: rgb(155, 146, 43);
/* oklch */ color: oklch(64.9% 0.121 104.3);
Tailwind
colors: {
  custom: {
    50: '#bcb16b',
    500: '#9b922b',
    950: '#000000',
  },
}
SCSS
$custom: #9b922b;
$custom-light: #bcb16b;
$custom-dark: #000000;
JSON
{
  "hex": "#9b922b",
  "rgb": {
    "r": 155,
    "g": 146,
    "b": 43
  },
  "hsl": {
    "h": 55.179,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64884,
    "c": 0.12089,
    "h": 104.3
  },
  "luminance": 0.27701
}

Semantic roles & 50–950 ramp

primary
#9B922B
secondary
#656CBC
accent
#54E048
background
#FBFAF6
surface
#F7F5EC
border
#D0CFC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9B922B

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

Preview Lab → · Contrast checker → · Palette generator →

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