#005C40

Closest named color: Spruce (#0A5F38). oklch(42% 0.089 164.2), rgb(0, 92, 64).

Aa

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

About this color

#005C40 is a dark, moderately saturated green. In OKLCH its lightness is 42%, its chroma 0.089 and its hue 164°. 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 8.06:1.

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.60:1
White text8.06:1

Values

HEX#005C40
RGBrgb(0, 92, 64)
HSLhsl(162, 100%, 18%)
OKLCHoklch(42% 0.089 164.2)

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 #005C40 8.06:1 AAA Lc -92.1 Preferred for body text
Black text on #005C40 2.60:1 Fails Lc 16.6 Dividers and decoration only
#005C40 text on white 8.06:1 AAA Lc 87.4 Fine for body text
#005C40 text on black 2.60:1 Fails Lc -14.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

    #F1F7F4

    oklch(97.1% 0.007 164.9)

  2. Step 100

    100

    #E1EDE7

    oklch(93.5% 0.015 164.7)

  3. Step 200

    200

    #C9E0D4

    oklch(88.6% 0.029 163.2)

  4. Step 300

    300

    #A2CCB8

    oklch(80.9% 0.053 164.5)

  5. Step 400

    400

    #6DB193

    oklch(70.6% 0.083 164.4)

  6. Step 500

    500

    #3F9E78

    oklch(63.2% 0.107 163.9)

  7. Step 600

    600

    #0A8861

    oklch(55.6% 0.116 164.2)

  8. Step 700

    700

    #007351

    oklch(49.2% 0.104 164.3)

  9. Step 800

    800 (this color)

    #005C40

    oklch(42% 0.089 164.2)

  10. Step 900

    900

    #134D38

    oklch(37.7% 0.069 164.7)

  11. Step 950

    950

    #0E2D21

    oklch(27% 0.043 165.1)

Export this scale for Tailwind in the Tailwind colors tool

#005C40 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)#5A543E0.087
Deuteranopia (no green cones)#504D420.085
Tritanopia (no blue cones)#005C540.033
Achromatopsia (no color)#5050500.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #005C40

    #005C40

    oklch(42% 0.089 164.2)

  • #6E3759

    #6E3759

    oklch(41.9% 0.09 343.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #005C40

    #005C40

    oklch(42% 0.089 164.2)

  • #385722

    #385722

    oklch(41.9% 0.088 134.1)

  • #005959

    #005959

    oklch(42% 0.072 194.8)

Open the analogous palette in the generator

Split complementary

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

  • #005C40

    #005C40

    oklch(42% 0.089 164.2)

  • #5F3D6F

    #5F3D6F

    oklch(42.1% 0.09 314.3)

  • #76363E

    #76363E

    oklch(42% 0.09 14)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #005C40

    #005C40

    oklch(42% 0.089 164.2)

  • #48457C

    #48457C

    oklch(42% 0.09 284.3)

  • #743B21

    #743B21

    oklch(42% 0.089 44.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #005C40

    #005C40

    oklch(42% 0.089 164.2)

  • #284E7D

    #284E7D

    oklch(42% 0.09 254.8)

  • #6E3759

    #6E3759

    oklch(41.9% 0.09 343.8)

  • #694500

    #694500

    oklch(42.1% 0.089 75.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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