#0F5C40

Closest named color: Spruce (#0A5F38). oklch(42.3% 0.085 162.9), rgb(15, 92, 64).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.085)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.62:1
White text7.99:1

Values

HEX#0F5C40
RGBrgb(15, 92, 64)
HSLhsl(158, 72%, 21%)
OKLCHoklch(42.3% 0.085 162.9)

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 #0F5C40 7.99:1 AAA Lc -92.1 Preferred for body text
Black text on #0F5C40 2.62:1 Fails Lc 16.7 Dividers and decoration only
#0F5C40 text on white 7.99:1 AAA Lc 87.3 Fine for body text
#0F5C40 text on black 2.62:1 Fails Lc -14.8 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

    #E2EDE7

    oklch(93.6% 0.014 162.5)

  3. Step 200

    200

    #CADFD4

    oklch(88.5% 0.027 163.1)

  4. Step 300

    300

    #A4CBB7

    oklch(80.8% 0.05 162.8)

  5. Step 400

    400

    #71B192

    oklch(70.8% 0.08 162.4)

  6. Step 500

    500

    #469D77

    oklch(63.2% 0.103 162.5)

  7. Step 600

    600

    #1E8760

    oklch(55.6% 0.111 162.8)

  8. Step 700

    700

    #0B724F

    oklch(49% 0.103 162.9)

  9. Step 800

    800 (this color)

    #0F5C40

    oklch(42.3% 0.085 162.9)

  10. Step 900

    900

    #194C37

    oklch(37.6% 0.066 162.9)

  11. Step 950

    950

    #102D20

    oklch(27% 0.043 162.1)

Export this scale for Tailwind in the Tailwind colors tool

#0F5C40 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)#5A553E0.082
Deuteranopia (no green cones)#514E420.080
Tritanopia (no blue cones)#005C540.032
Achromatopsia (no color)#5151510.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #0F5C40

    #0F5C40

    oklch(42.3% 0.085 162.9)

  • #6D395A

    #6D395A

    oklch(42.2% 0.086 342.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0F5C40

    #0F5C40

    oklch(42.3% 0.085 162.9)

  • #3B5723

    #3B5723

    oklch(42.1% 0.085 132.5)

  • #005A59

    #005A59

    oklch(42.3% 0.072 193.5)

Open the analogous palette in the generator

Split complementary

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

  • #0F5C40

    #0F5C40

    oklch(42.3% 0.085 162.9)

  • #5E3F6F

    #5E3F6F

    oklch(42.3% 0.085 312.8)

  • #753840

    #753840

    oklch(42.2% 0.086 13.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0F5C40

    #0F5C40

    oklch(42.3% 0.085 162.9)

  • #48477B

    #48477B

    oklch(42.4% 0.085 283)

  • #743C25

    #743C25

    oklch(42.2% 0.086 42.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0F5C40

    #0F5C40

    oklch(42.3% 0.085 162.9)

  • #294F7B

    #294F7B

    oklch(42.2% 0.086 253.5)

  • #6D395A

    #6D395A

    oklch(42.2% 0.086 342.7)

  • #6A4509

    #6A4509

    oklch(42.3% 0.086 72.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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