#9BA71B Color Information

Hex color code: #9BA71B

The hex color #9BA71B is a vivid yellow with RGB values of (155, 167, 27) and HSL of (65°, 72%, 38%). It is commonly used in modern UI design.

Try:
Color NameYellow Green
HEX
#9BA71B
RGB
155, 167, 27
HSL
65°, 72%, 38%
CMYK
7%, 0%, 84%, 35%

Shades

CSS Usage
color: #9BA71B;
background-color: #9BA71B;
border-color: #9BA71B;
box-shadow: 0 0 10px #9BA71B;
border: 2px solid #9BA71B;
Tailwind Usage
bg-[#9BA71B]
text-[#9BA71B]
border-[#9BA71B]
shadow-[0_0_10px_9BA71B]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #9BA71B, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #9BA71B; color: #000000; }

Badge

New Feature
.badge { background-color: #9BA71B; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #9BA71B; background-color: #9BA71B15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #9BA71B20; border-left: 4px solid #9BA71B; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #9BA71B; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #9BA71B in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

155, 167, 27

Red: 155 / Green: 167 / Blue: 27

HSL

65°, 72%, 38%

Hue: 65° / Saturation: 72% / Lightness: 38%

CMYK

7%, 0%, 84%, 35%

Cyan: 7% / Magenta: 0% / Yellow: 84% / Key: 35%

What color is #9BA71B?

#9BA71B is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9BA71B to RGB:

rgb(155, 167, 27)HEX to RGB Converter →

HEX to HSL

Convert #9BA71B to HSL:

hsl(65, 72%, 38%)RGB to HSL Converter →

HEX to CMYK

Convert #9BA71B to CMYK:

cmyk(7%, 0%, 84%, 35%)Color Converter →

Color Meaning and Usage

A striking yellow tone, #9BA71B has RGB (155, 167, 27) and HSL (65°, 72%, 38%). Known for evoking nature and harmony, this green hue is commonly used in modern UI design. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9BA71B is #271BA7, creating high-contrast pairings. For softer combinations, try analogous colors like #A76D1B.

Use #9BA71B in CSS: color: #9BA71B or background-color: #9BA71B. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #9BA71B

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 7.94:1
WCAG AA: Pass
WCAG AAA: Pass

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9BA71B?

#9BA71B is a striking yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #9BA71B?

#9BA71B in RGB is (155, 167, 27) - 155 red, 167 green, and 27 blue.

How to use #9BA71B in CSS?

Use #9BA71B directly in your CSS properties like color or background-color.

What colors go well with #9BA71B?

#271BA7 (complementary), #A76D1B (analogous), and #5E6510 (lighter shade) work well with #9BA71B.