Spruce Color — HEX, RGB, HSL & CMYK Codes

#0a5f38
Format Value
HEX #0a5f38
RGB rgb(10, 95, 56)
HSL hsl(152.5, 81%, 20.6%)
CMYK cmyk(89.5%, 0%, 41.1%, 62.7%)
HSV hsv(152.5, 89.5%, 37.3%)

spruce color harmonies

Tints & shades of spruce

Tints (lighter)

#206e4a #377c5c #4d8b6e #639980 #79a892 #90b6a5 #a6c5b7 #bcd3c9 #d2e2db #e9f0ed

Shades (darker)

#095633 #084e2e #074529 #063c24 #05341f #052b19 #042314 #031a0f #02110a #010905

Contrast & accessibility

The quick brown fox

On white · 7.76:1 · AAA

The quick brown fox

On black · 2.71:1 · Fail

Recommended text color: #ffffff

Use spruce in code

CSS color: #0a5f38;
SCSS $color: #0a5f38;
Tailwind bg-[#0a5f38]
Swift UIColor(red: 0.039, green: 0.373, blue: 0.220, alpha: 1)
Android Color.parseColor("#0a5f38")
Flutter Color(0xFF0A5F38)

Colors similar to spruce

Browse all Green colors →

What is the HEX code for spruce?

The CSS color spruce in HEX format is #0a5f38. Use this value directly in CSS, SVG, and most design tools.

How do I use spruce in CSS?

To apply spruce in CSS:

  • Text color: color: #0a5f38;
  • Background: background-color: #0a5f38;
  • Border: border-color: #0a5f38;

What are all the color format values for spruce?

FormatValue
HEX#0a5f38
RGBrgb(10, 95, 56)
HSLhsl(152.5, 81%, 20.6%)
CMYKcmyk(89.5%, 0%, 41.1%, 62.7%)

How do I convert spruce to HEX?

Select spruce from the color name list in our color converter. The HEX value — #0a5f38 — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does spruce belong to?

spruce belongs to the green color family. It is a dark, vivid color with HSL values: hue 152.5°, saturation 81%, lightness 20.6%.

How do I create lighter and darker shades of spruce?

Lighter variant (lightness 35.6%): #11a461. Darker variant (lightness 5.600000000000001%): #031a0f. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.