#9B8922 color

#9B8922 rgb(155, 137, 34)
Shades of yellow

The hex color #9B8922 is a dark, moderate yellow.

In the RGB color model it is made of 60.8% red, 53.7% green and 13.3% blue (155, 137, 34).

Its hue angle is 51°, with 64% saturation and 37% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 78% yellow and 39% black.

The closest named color is Captain Kirk (#9B870C), a difference of 1.7 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 6:1).

#9B8922 color codes

HEX#9B8922
RGBrgb(155, 137, 34)
RGB percentrgb(60.8%, 53.7%, 13.3%)
HSLhsl(51, 64%, 37%)
HSV / HSBhsv(51, 78%, 61%)
CMYKcmyk(0%, 12%, 78%, 39%)
CIE LABlab(57.05, -4.42, 53.69)
CIE LCHlch(57.05, 53.87, 94.71)
CIE XYZxyz(22.753, 24.977, 5.136)
Decimal10193186
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9B8922, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #9B8922RatioAAAAAAA large
Sample text6:1PassFailPass
Sample text3.5:1FailFailPass
#9B8922 as text onRatioAAAAAAA large
Sample text3.5:1FailFailPass
Sample text6:1PassFailPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #9B8922 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9b8922; }
.text { color: #9b8922; }
.border { border: 2px solid #9b8922; }
.transparent { background-color: rgb(155 137 34 / 50%); }
.gradient { background: linear-gradient(to right, #9b8922, #709b22); }
Background
Text color
Border

Similar colors

Closest common color name: Olive Green.

Questions

What color is #9B8922?
#9B8922 is a dark, moderate yellow, closest to the named color Captain Kirk. It belongs to the yellow family of colors.
What is the RGB value of #9B8922?
The RGB value is 155, 137, 34: 155 red, 137 green and 34 blue on a 0 to 255 scale.
What is the complementary color of #9B8922?
The complementary color is #22349B, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9B8922?
Black text. Black text has a contrast ratio of 6:1 and white text 3.5:1. WCAG asks for at least 4.5:1 for normal text.