Spruce #0A5F38

Spruce is a dark, moderately saturated green with hex code #0A5F38 and RGB rgb(10, 95, 56).

Aa

White text reads best on this color (7.75:1).

About this color

#0A5F38 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.099 and its hue 156°. Its hue sits between the warm and cool halves of the wheel. It is the named color Spruce. White text reads best on it, at 7.75:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameSpruce
Black text2.70:1
White text7.75:1

Colors that go with Spruce

Matches found by rotating Spruce around the OKLCH hue wheel, each labelled with the closest name in our list.

Color palettes with Spruce

Curated color palettes that contain a color within ΔE 0.06 (OKLab) of Spruce, closest first.

Similar named colors

The eight named colors closest to Spruce, with their ΔE distance.

More about Spruce

How to make Spruce

A starting recipe from common paint colors, found with a spectral paint model (the color mixer’s paint mode). Real pigments vary, so mix a small test batch and adjust.

  • 4 parts green
  • 1 part black

Recipe result: #335838, a difference of ΔE 0.033 from Spruce. That is close; add a little more of one paint to match.

What colors make green? | Color mixing chart

Codes for Spruce in every format

HEX#0A5F38
RGBrgb(10, 95, 56)
HSLhsl(152, 81%, 21%)
OKLCHoklch(42.9% 0.099 156.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #0A5F38 7.75:1 AAA Lc -91.3 Preferred for body text
Black text on #0A5F38 2.70:1 Fails Lc 17.5 Dividers and decoration only
#0A5F38 text on white 7.75:1 AAA Lc 86.5 Fine for body text
#0A5F38 text on black 2.70:1 Fails Lc -15.6 Dividers and decoration only

Shades and tints of Spruce

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E1EDE5

    oklch(93.5% 0.017 156.9)

  3. Step 200

    200

    #C9E0D1

    oklch(88.5% 0.032 157.1)

  4. Step 300

    300

    #A3CCB1

    oklch(80.8% 0.058 156)

  5. Step 400

    400

    #6EB289

    oklch(70.7% 0.092 156.6)

  6. Step 500

    500

    #419E6B

    oklch(63% 0.118 156.5)

  7. Step 600

    600

    #138953

    oklch(55.6% 0.128 156.5)

  8. Step 700

    700

    #007444

    oklch(49.2% 0.118 156.6)

  9. Step 800

    800 (this color)

    #0A5F38

    oklch(42.9% 0.099 156.4)

  10. Step 900

    900

    #154D30

    oklch(37.5% 0.077 156.6)

  11. Step 950

    950

    #0F2D1C

    oklch(26.9% 0.048 156.1)

Export this scale for Tailwind in the Tailwind colors tool

Spruce with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#5E57350.088
Deuteranopia (no green cones)#55503B0.087
Tritanopia (no blue cones)#005E550.047
Achromatopsia (no color)#5252520.099

Use Spruce in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.