#9BAC2A Color Information

Hex color code: #9BAC2A

A understated yellow shade, #9BAC2A appears as (155, 172, 42) in RGB and (68°, 61%, 42%) in HSL. It is widely used in graphic design.

Try:
Color NameYellow Green
HEX
#9BAC2A
RGB
155, 172, 42
HSL
68°, 61%, 42%
CMYK
10%, 0%, 76%, 33%

Shades

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

Generate Gradient

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

Preview in UI

Button

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

Badge

New Feature
.badge { background-color: #9BAC2A; 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 #9BAC2A; background-color: #9BAC2A15; }

Alert / Toast

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

Link / Accent

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

a { color: #9BAC2A; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

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

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

155, 172, 42

Red: 155 / Green: 172 / Blue: 42

HSL

68°, 61%, 42%

Hue: 68° / Saturation: 61% / Lightness: 42%

CMYK

10%, 0%, 76%, 33%

Cyan: 10% / Magenta: 0% / Yellow: 76% / Key: 33%

What color is #9BAC2A?

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

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #9BAC2A to RGB:

rgb(155, 172, 42)HEX to RGB Converter →

HEX to HSL

Convert #9BAC2A to HSL:

hsl(68, 61%, 42%)RGB to HSL Converter →

HEX to CMYK

Convert #9BAC2A to CMYK:

cmyk(10%, 0%, 76%, 33%)Color Converter →

Color Meaning and Usage

#9BAC2A is a subtle yellow color with RGB values of 155, 172, 42 and HSL of 68°, 61%, 42%. This green hue evokes nature and harmony, making it suitable for well suited for marketing pages and hero sections. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #9BAC2A is #3B2AAC, creating high-contrast pairings. For softer combinations, try analogous colors like #AC7D2A.

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

Contrast with #9BAC2A

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

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

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #9BAC2A?

#9BAC2A is a subtle yellow color - a green hue that evokes nature and harmony.

What is the RGB value of #9BAC2A?

#9BAC2A in RGB is (155, 172, 42) - 155 red, 172 green, and 42 blue.

How to use #9BAC2A in CSS?

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

What colors go well with #9BAC2A?

#3B2AAC (complementary), #AC7D2A (analogous), and #646F1B (lighter shade) work well with #9BAC2A.