#005F40

Closest named color: Spruce (#0A5F38). oklch(42.9% 0.093 162.6), rgb(0, 95, 64).

Aa

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

About this color

#005F40 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.093 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.012 away. White text reads best on it, at 7.74:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.71:1
White text7.74:1

Values

HEX#005F40
RGBrgb(0, 95, 64)
HSLhsl(160, 100%, 19%)
OKLCHoklch(42.9% 0.093 162.6)

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 #005F40 7.74:1 AAA Lc -91.2 Preferred for body text
Black text on #005F40 2.71:1 Fails Lc 17.6 Dividers and decoration only
#005F40 text on white 7.74:1 AAA Lc 86.4 Fine for body text
#005F40 text on black 2.71:1 Fails Lc -15.7 Dividers and decoration only

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

    #F1F7F4

    oklch(97.1% 0.007 164.9)

  2. Step 100

    100

    #E1EDE7

    oklch(93.5% 0.015 164.7)

  3. Step 200

    200

    #C8E0D3

    oklch(88.5% 0.031 162.1)

  4. Step 300

    300

    #A2CCB6

    oklch(80.9% 0.054 162.1)

  5. Step 400

    400

    #6BB290

    oklch(70.7% 0.088 162.2)

  6. Step 500

    500

    #3C9E75

    oklch(63% 0.111 162.5)

  7. Step 600

    600

    #00895E

    oklch(55.7% 0.121 162.5)

  8. Step 700

    700

    #00734E

    oklch(49.1% 0.107 162.4)

  9. Step 800

    800 (this color)

    #005F40

    oklch(42.9% 0.093 162.6)

  10. Step 900

    900

    #114D36

    oklch(37.6% 0.072 163)

  11. Step 950

    950

    #0D2D20

    oklch(26.9% 0.045 163.7)

Export this scale for Tailwind in the Tailwind colors tool

#005F40 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)#5D573E0.089
Deuteranopia (no green cones)#5350420.086
Tritanopia (no blue cones)#005F570.037
Achromatopsia (no color)#5353530.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #005F40

    #005F40

    oklch(42.9% 0.093 162.6)

  • #72395D

    #72395D

    oklch(43% 0.093 343.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #005F40

    #005F40

    oklch(42.9% 0.093 162.6)

  • #3B5A1F

    #3B5A1F

    oklch(42.9% 0.094 132.5)

  • #005C5A

    #005C5A

    oklch(42.9% 0.074 192.2)

Open the analogous palette in the generator

Split complementary

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

  • #005F40

    #005F40

    oklch(42.9% 0.093 162.6)

  • #613F74

    #613F74

    oklch(42.9% 0.093 312.5)

  • #7A3741

    #7A3741

    oklch(42.9% 0.094 12.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #005F40

    #005F40

    oklch(42.9% 0.093 162.6)

  • #494881

    #494881

    oklch(43% 0.093 282.6)

  • #793C22

    #793C22

    oklch(42.9% 0.093 42.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #005F40

    #005F40

    oklch(42.9% 0.093 162.6)

  • #255181

    #255181

    oklch(42.8% 0.094 252.6)

  • #72395D

    #72395D

    oklch(43% 0.093 343.1)

  • #6E4600

    #6E4600

    oklch(43% 0.092 72.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #005F40 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.