#9CAF1F color
The hex color #9CAF1F is a moderate yellow.
In the RGB color model it is made of 61.2% red, 68.6% green and 12.2% blue (156, 175, 31).
Its hue angle is 68°, with 70% saturation and 40% lightness. For print, the CMYK equivalent is 11% cyan, 0% magenta, 82% yellow and 31% black.
The closest named color is Augustus Asparagus (#90AA0B), a difference of 2.3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 8.57:1).
#9CAF1F color codes
| HEX | #9CAF1F | |
|---|---|---|
| RGB | rgb(156, 175, 31) | |
| RGB percent | rgb(61.2%, 68.6%, 12.2%) | |
| HSL | hsl(68, 70%, 40%) | |
| HSV / HSB | hsv(68, 82%, 69%) | |
| CMYK | cmyk(11%, 0%, 82%, 31%) | |
| CIE LAB | lab(67.89, -23.89, 64.32) | |
| CIE LCH | lch(67.89, 68.61, 110.38) | |
| CIE XYZ | xyz(29.288, 37.827, 7.055) | |
| Decimal | 10268447 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9CAF1F, 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 #9CAF1F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.57:1 | Pass | Pass | Pass |
| Sample text | 2.45:1 | Fail | Fail | Fail |
| #9CAF1F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.45:1 | Fail | Fail | Fail |
| Sample text | 8.57: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 #9CAF1F looks to people with the most common types of color vision deficiency.
#bba500Protanopia
no red cones#b9a62eDeuteranopia
no green cones#a6a595Tritanopia
no blue cones#a5a5a5Achromatopsia
no color vision
CSS examples
.background { background-color: #9caf1f; }
.text { color: #9caf1f; }
.border { border: 2px solid #9caf1f; }
.transparent { background-color: rgb(156 175 31 / 50%); }
.gradient { background: linear-gradient(to right, #9caf1f, #54af1f); }
Similar colors
#90aa0bAugustus Asparagus#9fb70aCitrus#8bac0fGameboy Screen#aabb11Leafy Woodland#afbb33Lush Bamboo#97b73aLimolicious#88aa22Guardian of Gardens#89ac27German Hop
Closest common color name: Yellow Green.
Questions
- What color is #9CAF1F?
- #9CAF1F 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 #9CAF1F?
- The RGB value is 156, 175, 31: 156 red, 175 green and 31 blue on a 0 to 255 scale.
- What is the complementary color of #9CAF1F?
- The complementary color is #321FAF, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9CAF1F?
- Black text. Black text has a contrast ratio of 8.57:1 and white text 2.45:1. WCAG asks for at least 4.5:1 for normal text.