#9BAA1F color
The hex color #9BAA1F is a moderate yellow.
In the RGB color model it is made of 60.8% red, 66.7% green and 12.2% blue (155, 170, 31).
Its hue angle is 66°, with 69% saturation and 39% lightness. For print, the CMYK equivalent is 9% cyan, 0% magenta, 82% yellow and 33% black.
The closest named color is Augustus Asparagus (#90AA0B), a difference of 2.4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.16:1).
#9BAA1F color codes
| HEX | #9BAA1F | |
|---|---|---|
| RGB | rgb(155, 170, 31) | |
| RGB percent | rgb(60.8%, 66.7%, 12.2%) | |
| HSL | hsl(66, 69%, 39%) | |
| HSV / HSB | hsv(66, 82%, 67%) | |
| CMYK | cmyk(9%, 0%, 82%, 33%) | |
| CIE LAB | lab(66.38, -21.84, 62.97) | |
| CIE LCH | lch(66.38, 66.65, 109.13) | |
| CIE XYZ | xyz(28.14, 35.817, 6.727) | |
| Decimal | 10201631 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9BAA1F, 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 #9BAA1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.16:1 | Pass | Pass | Pass |
| Sample text | 2.57:1 | Fail | Fail | Fail |
| #9BAA1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.57:1 | Fail | Fail | Fail |
| Sample text | 8.16:1 | Pass | Pass | Pass |
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 #9BAA1F looks to people with the most common types of color vision deficiency.
#b6a100Protanopia
no red cones#b5a22dDeuteranopia
no green cones#a5a091Tritanopia
no blue cones#a1a1a1Achromatopsia
no color vision
CSS examples
.background { background-color: #9baa1f; }
.text { color: #9baa1f; }
.border { border: 2px solid #9baa1f; }
.transparent { background-color: rgb(155 170 31 / 50%); }
.gradient { background: linear-gradient(to right, #9baa1f, #55aa1f); }
Similar colors
#90aa0bAugustus Asparagus#8bac0fGameboy Screen#89a203Noxious#9fb70aCitrus#a4a404Countryside#aaaa00Honey and Thyme#88aa22Guardian of Gardens#89ac27German Hop
Closest common color name: Dark Khaki.
Questions
- What color is #9BAA1F?
- #9BAA1F is a moderate yellow, closest to the named color Augustus Asparagus. It belongs to the yellow family of colors.
- What is the RGB value of #9BAA1F?
- The RGB value is 155, 170, 31: 155 red, 170 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #9BAA1F?
- The complementary color is #2E1FAA, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9BAA1F?
- Black text. Black text has a contrast ratio of 8.16:1 and white text 2.57:1. WCAG asks for at least 4.5:1 for normal text.