#0A5F42

Closest named color: Spruce (#0A5F38). oklch(43.1% 0.089 163.3), rgb(10, 95, 66).

Aa

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

About this color

#0A5F42 is a dark, moderately saturated green. In OKLCH its lightness is 43%, its chroma 0.089 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.015 away. White text reads best on it, at 7.69:1.

Hue familyGreens
Lightnessdark (43%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.72:1
White text7.69:1

Values

HEX#0A5F42
RGBrgb(10, 95, 66)
HSLhsl(160, 81%, 21%)
OKLCHoklch(43.1% 0.089 163.3)

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 #0A5F42 7.69:1 AAA Lc -91.1 Preferred for body text
Black text on #0A5F42 2.72:1 Fails Lc 17.7 Dividers and decoration only
#0A5F42 text on white 7.69:1 AAA Lc 86.3 Fine for body text
#0A5F42 text on black 2.72:1 Fails Lc -15.8 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

    #C9DFD4

    oklch(88.4% 0.028 164.3)

  4. Step 300

    300

    #A3CCB7

    oklch(81% 0.053 162.7)

  5. Step 400

    400

    #6EB192

    oklch(70.7% 0.083 163.3)

  6. Step 500

    500

    #409D77

    oklch(63% 0.106 163.5)

  7. Step 600

    600

    #108860

    oklch(55.6% 0.116 163.4)

  8. Step 700

    700

    #00734F

    oklch(49.1% 0.106 163)

  9. Step 800

    800 (this color)

    #0A5F42

    oklch(43.1% 0.089 163.3)

  10. Step 900

    900

    #154D37

    oklch(37.7% 0.069 163.2)

  11. Step 950

    950

    #0F2D20

    oklch(27% 0.044 162.7)

Export this scale for Tailwind in the Tailwind colors tool

#0A5F42 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)#5D57400.086
Deuteranopia (no green cones)#5350440.084
Tritanopia (no blue cones)#005F570.034
Achromatopsia (no color)#5353530.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #0A5F42

    #0A5F42

    oklch(43.1% 0.089 163.3)

  • #713B5D

    #713B5D

    oklch(43.2% 0.088 343)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0A5F42

    #0A5F42

    oklch(43.1% 0.089 163.3)

  • #3C5A24

    #3C5A24

    oklch(43.1% 0.088 133.1)

  • #005D5B

    #005D5B

    oklch(43.2% 0.074 192.2)

Open the analogous palette in the generator

Split complementary

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

  • #0A5F42

    #0A5F42

    oklch(43.1% 0.089 163.3)

  • #614073

    #614073

    oklch(43.1% 0.09 312.8)

  • #793942

    #793942

    oklch(43.1% 0.09 12.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0A5F42

    #0A5F42

    oklch(43.1% 0.089 163.3)

  • #4A487F

    #4A487F

    oklch(43% 0.09 283.6)

  • #783E25

    #783E25

    oklch(43.2% 0.089 43.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0A5F42

    #0A5F42

    oklch(43.1% 0.089 163.3)

  • #2A5280

    #2A5280

    oklch(43.2% 0.089 253.4)

  • #713B5D

    #713B5D

    oklch(43.2% 0.088 343)

  • #6D4705

    #6D4705

    oklch(43.1% 0.089 73.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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