#9F8D20 color

#9F8D20 rgb(159, 141, 32)
Shades of yellow

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

In the RGB color model it is made of 62.4% red, 55.3% green and 12.5% blue (159, 141, 32).

Its hue angle is 51°, with 66% saturation and 37% lightness. For print, the CMYK equivalent is 0% cyan, 11% magenta, 80% yellow and 38% black.

The closest named color is Captain Kirk (#9B870C), a difference of 2.2 ΔE, a small difference.

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

#9F8D20 color codes

HEX#9F8D20
RGBrgb(159, 141, 32)
RGB percentrgb(62.4%, 55.3%, 12.5%)
HSLhsl(51, 66%, 37%)
HSV / HSBhsv(51, 80%, 62%)
CMYKcmyk(0%, 11%, 80%, 38%)
CIE LABlab(58.53, -4.86, 55.86)
CIE LCHlch(58.53, 56.07, 94.97)
CIE XYZxyz(24.085, 26.526, 5.218)
Decimal10456352
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #9F8D20, 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 #9F8D20RatioAAAAAAA large
Sample text6.3:1PassFailPass
Sample text3.33:1FailFailPass
#9F8D20 as text onRatioAAAAAAA large
Sample text3.33:1FailFailPass
Sample text6.3: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 #9F8D20 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #9f8d20; }
.text { color: #9f8d20; }
.border { border: 2px solid #9f8d20; }
.transparent { background-color: rgb(159 141 32 / 50%); }
.gradient { background: linear-gradient(to right, #9f8d20, #729f20); }
Background
Text color
Border

Similar colors

Closest common color name: Olive Green.

Questions

What color is #9F8D20?
#9F8D20 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 #9F8D20?
The RGB value is 159, 141, 32: 159 red, 141 green and 32 blue on a 0 to 255 scale.
What is the complementary color of #9F8D20?
The complementary color is #20329F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9F8D20?
Black text. Black text has a contrast ratio of 6.3:1 and white text 3.33:1. WCAG asks for at least 4.5:1 for normal text.