#9CAF1F color

#9CAF1F rgb(156, 175, 31)
Shades of yellow

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
RGBrgb(156, 175, 31)
RGB percentrgb(61.2%, 68.6%, 12.2%)
HSLhsl(68, 70%, 40%)
HSV / HSBhsv(68, 82%, 69%)
CMYKcmyk(11%, 0%, 82%, 31%)
CIE LABlab(67.89, -23.89, 64.32)
CIE LCHlch(67.89, 68.61, 110.38)
CIE XYZxyz(29.288, 37.827, 7.055)
Decimal10268447
Short hexNone (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 #9CAF1FRatioAAAAAAA large
Sample text8.57:1PassPassPass
Sample text2.45:1FailFailFail
#9CAF1F as text onRatioAAAAAAA large
Sample text2.45:1FailFailFail
Sample text8.57:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.