#005C38

Closest named color: Spruce (#0A5F38). oklch(41.8% 0.097 158.5), rgb(0, 92, 56).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.58:1
White text8.11:1

Values

HEX#005C38
RGBrgb(0, 92, 56)
HSLhsl(157, 100%, 18%)
OKLCHoklch(41.8% 0.097 158.5)

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 #005C38 8.11:1 AAA Lc -92.2 Preferred for body text
Black text on #005C38 2.58:1 Fails Lc 16.5 Dividers and decoration only
#005C38 text on white 8.11:1 AAA Lc 87.5 Fine for body text
#005C38 text on black 2.58:1 Fails Lc -14.6 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

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E1EDE6

    oklch(93.5% 0.016 160.6)

  3. Step 200

    200

    #C9E0D1

    oklch(88.5% 0.032 157.1)

  4. Step 300

    300

    #A2CCB3

    oklch(80.8% 0.057 158.7)

  5. Step 400

    400

    #6DB28B

    oklch(70.7% 0.091 158.2)

  6. Step 500

    500

    #3F9E6F

    oklch(63% 0.115 158.8)

  7. Step 600

    600

    #0C8957

    oklch(55.7% 0.126 158.6)

  8. Step 700

    700

    #007348

    oklch(49% 0.113 158.9)

  9. Step 800

    800 (this color)

    #005C38

    oklch(41.8% 0.097 158.5)

  10. Step 900

    900

    #144D32

    oklch(37.6% 0.075 158.6)

  11. Step 950

    950

    #0E2D1D

    oklch(26.8% 0.048 158.2)

Export this scale for Tailwind in the Tailwind colors tool

#005C38 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)#5B54360.090
Deuteranopia (no green cones)#514D3A0.086
Tritanopia (no blue cones)#005B530.045
Achromatopsia (no color)#5050500.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #005C38

    #005C38

    oklch(41.8% 0.097 158.5)

  • #6E355E

    #6E355E

    oklch(41.8% 0.098 339)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #005C38

    #005C38

    oklch(41.8% 0.097 158.5)

  • #3C5613

    #3C5613

    oklch(41.8% 0.097 128.6)

  • #005954

    #005954

    oklch(41.8% 0.073 188.2)

Open the analogous palette in the generator

Split complementary

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

  • #005C38

    #005C38

    oklch(41.8% 0.097 158.5)

  • #5C3C75

    #5C3C75

    oklch(41.9% 0.098 308.6)

  • #773342

    #773342

    oklch(41.8% 0.096 8.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #005C38

    #005C38

    oklch(41.8% 0.097 158.5)

  • #424580

    #424580

    oklch(41.8% 0.097 279.1)

  • #783722

    #783722

    oklch(41.9% 0.097 38.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #005C38

    #005C38

    oklch(41.8% 0.097 158.5)

  • #184F7F

    #184F7F

    oklch(41.8% 0.098 249)

  • #6E355E

    #6E355E

    oklch(41.8% 0.098 339)

  • #6C4200

    #6C4200

    oklch(41.9% 0.091 69.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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