#5F8A0F Color Information

Hex color code: #5F8A0F

A bold green shade, #5F8A0F appears as (95, 138, 15) in RGB and (81°, 80%, 30%) in HSL. It is frequently seen in web interfaces.

Try:
Color NameOlive Drab
HEX
#5F8A0F
RGB
95, 138, 15
HSL
81°, 80%, 30%
CMYK
31%, 0%, 89%, 46%

Shades

CSS Usage
color: #5F8A0F;
background-color: #5F8A0F;
border-color: #5F8A0F;
box-shadow: 0 0 10px #5F8A0F;
border: 2px solid #5F8A0F;
Tailwind Usage
bg-[#5F8A0F]
text-[#5F8A0F]
border-[#5F8A0F]
shadow-[0_0_10px_5F8A0F]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #5F8A0F, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #5F8A0F; color: #000000; }

Badge

New Feature
.badge { background-color: #5F8A0F; 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 #5F8A0F; background-color: #5F8A0F15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #5F8A0F20; border-left: 4px solid #5F8A0F; }

Link / Accent

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

a { color: #5F8A0F; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #5F8A0F in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

95, 138, 15

Red: 95 / Green: 138 / Blue: 15

HSL

81°, 80%, 30%

Hue: 81° / Saturation: 80% / Lightness: 30%

CMYK

31%, 0%, 89%, 46%

Cyan: 31% / Magenta: 0% / Yellow: 89% / Key: 46%

What color is #5F8A0F?

#5F8A0F is a green hue associated with nature and harmony.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #5F8A0F to RGB:

rgb(95, 138, 15)HEX to RGB Converter →

HEX to HSL

Convert #5F8A0F to HSL:

hsl(81, 80%, 30%)RGB to HSL Converter →

HEX to CMYK

Convert #5F8A0F to CMYK:

cmyk(31%, 0%, 89%, 46%)Color Converter →

Color Meaning and Usage

#5F8A0F is a dynamic green color with RGB values of 95, 138, 15 and HSL of 81°, 80%, 30%. This green hue evokes nature and harmony, making it suitable for frequently seen in web interfaces. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #5F8A0F is #3A0F8A, creating high-contrast pairings. For softer combinations, try analogous colors like #8A770F.

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

Contrast with #5F8A0F

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

Contrast Ratio: 5.13:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #5F8A0F?

#5F8A0F is a dynamic green color - a green hue that evokes nature and harmony.

What is the RGB value of #5F8A0F?

#5F8A0F in RGB is (95, 138, 15) - 95 red, 138 green, and 15 blue.

How to use #5F8A0F in CSS?

Use #5F8A0F directly in your CSS properties like color or background-color.

What colors go well with #5F8A0F?

#3A0F8A (complementary), #8A770F (analogous), and #2F4508 (lighter shade) work well with #5F8A0F.