#0F5939

Closest named color: Spruce (#0A5F38). oklch(41.2% 0.088 159), rgb(15, 89, 57).

Aa

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

About this color

#0F5939 is a dark, moderately saturated green. In OKLCH its lightness is 41%, its chroma 0.088 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.020 away. White text reads best on it, at 8.37:1.

Hue familyGreens
Lightnessdark (41%)
Chromamoderately saturated (0.088)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.50:1
White text8.37:1

Values

HEX#0F5939
RGBrgb(15, 89, 57)
HSLhsl(154, 71%, 20%)
OKLCHoklch(41.2% 0.088 159)

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 #0F5939 8.37:1 AAA Lc -93.1 Preferred for body text
Black text on #0F5939 2.50:1 Fails Lc 15.5 Dividers and decoration only
#0F5939 text on white 8.37:1 AAA Lc 88.5 Fine for body text
#0F5939 text on black 2.50:1 Fails Lc -13.7 Not readable

Tints and shades

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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE6

    oklch(93.6% 0.015 158.2)

  3. Step 200

    200

    #CADFD2

    oklch(88.4% 0.029 158.6)

  4. Step 300

    300

    #A5CBB5

    oklch(80.8% 0.051 159.6)

  5. Step 400

    400

    #72B18E

    oklch(70.8% 0.083 159)

  6. Step 500

    500

    #499D72

    oklch(63.2% 0.105 158.9)

  7. Step 600

    600

    #24875A

    oklch(55.6% 0.114 158.9)

  8. Step 700

    700

    #13724A

    oklch(49% 0.106 159.2)

  9. Step 800

    800 (this color)

    #0F5939

    oklch(41.2% 0.088 159)

  10. Step 900

    900

    #1B4C34

    oklch(37.6% 0.068 159.1)

  11. Step 950

    950

    #112D1F

    oklch(27% 0.043 159.7)

Export this scale for Tailwind in the Tailwind colors tool

#0F5939 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)#5851370.082
Deuteranopia (no green cones)#4F4B3B0.080
Tritanopia (no blue cones)#0058510.040
Achromatopsia (no color)#4E4E4E0.089

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #0F5939

    #0F5939

    oklch(41.2% 0.088 159)

  • #69365B

    #69365B

    oklch(41.1% 0.089 338.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F5939

    #0F5939

    oklch(41.2% 0.088 159)

  • #3C541B

    #3C541B

    oklch(41.3% 0.088 129)

  • #005753

    #005753

    oklch(41.2% 0.071 189.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #0F5939

    #0F5939

    oklch(41.2% 0.088 159)

  • #593C6F

    #593C6F

    oklch(41.2% 0.089 309.2)

  • #723441

    #723441

    oklch(41.2% 0.088 8.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F5939

    #0F5939

    oklch(41.2% 0.088 159)

  • #41457A

    #41457A

    oklch(41.3% 0.088 278.5)

  • #723824

    #723824

    oklch(41.2% 0.088 39.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F5939

    #0F5939

    oklch(41.2% 0.088 159)

  • #1F4E78

    #1F4E78

    oklch(41.3% 0.087 248.5)

  • #69365B

    #69365B

    oklch(41.1% 0.089 338.4)

  • #694103

    #694103

    oklch(41.3% 0.088 69.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #0F5939, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #0F5939 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.