#9F8F30 color

#9F8F30 rgb(159, 143, 48)
Shades of yellow

The hex color #9F8F30 is a moderate yellow.

In the RGB color model it is made of 62.4% red, 56.1% green and 18.8% blue (159, 143, 48).

Its hue angle is 51°, with 54% saturation and 41% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 70% yellow and 38% black.

The closest named color is Gecko (#9D913C), a difference of 2 ΔE, which is barely visible.

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

#9F8F30 color codes

HEX#9F8F30
RGBrgb(159, 143, 48)
RGB percentrgb(62.4%, 56.1%, 18.8%)
HSLhsl(51, 54%, 41%)
HSV / HSBhsv(51, 70%, 62%)
CMYKcmyk(0%, 10%, 70%, 38%)
CIE LABlab(59.19, -5.2, 50.47)
CIE LCHlch(59.19, 50.73, 95.89)
CIE XYZxyz(24.655, 27.23, 6.753)
Decimal10456880
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #9f8f30; }
.text { color: #9f8f30; }
.border { border: 2px solid #9f8f30; }
.transparent { background-color: rgb(159 143 48 / 50%); }
.gradient { background: linear-gradient(to right, #9f8f30, #789f30); }
Background
Text color
Border

Similar colors

Closest common color name: Olive Green.

Questions

What color is #9F8F30?
#9F8F30 is a moderate yellow, closest to the named color Gecko. It belongs to the yellow family of colors.
What is the RGB value of #9F8F30?
The RGB value is 159, 143, 48: 159 red, 143 green and 48 blue on a 0 to 255 scale.
What is the complementary color of #9F8F30?
The complementary color is #30409F, found by rotating the hue 180° on the color wheel.
Is black or white text better on #9F8F30?
Black text. Black text has a contrast ratio of 6.45:1 and white text 3.26:1. WCAG asks for at least 4.5:1 for normal text.