#166A40

Closest named color: Spruce (#0A5F38). oklch(46.5% 0.103 156), rgb(22, 106, 64).

Aa

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

About this color

#166A40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.103 and its hue 156°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.036 away. White text reads best on it, at 6.62:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text3.16:1
White text6.62:1

Values

HEX#166A40
RGBrgb(22, 106, 64)
HSLhsl(150, 66%, 25%)
OKLCHoklch(46.5% 0.103 156)

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 #166A40 6.62:1 AA Lc -87.4 Fine for body text
Black text on #166A40 3.16:1 AA large text Lc 21.7 Dividers and decoration only
#166A40 text on white 6.62:1 AA Lc 82.4 Fine for body text
#166A40 text on black 3.16:1 AA large text Lc -19.5 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 700.

  1. Step 50

    50

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E3EDE6

    oklch(93.7% 0.014 155.6)

  3. Step 200

    200

    #CBDFD2

    oklch(88.5% 0.028 157.3)

  4. Step 300

    300

    #A7CBB3

    oklch(80.9% 0.051 155.9)

  5. Step 400

    400

    #77B08C

    oklch(70.8% 0.08 156)

  6. Step 500

    500

    #509C6F

    oklch(63.1% 0.103 155.9)

  7. Step 600

    600

    #2F8657

    oklch(55.5% 0.111 156.1)

  8. Step 700

    700 (this color)

    #166A40

    oklch(46.5% 0.103 156)

  9. Step 800

    800

    #1E5D3B

    oklch(42.8% 0.086 156.1)

  10. Step 900

    900

    #1F4C32

    oklch(37.7% 0.067 155.8)

  11. Step 950

    950

    #132D1E

    oklch(27.1% 0.043 156.6)

Export this scale for Tailwind in the Tailwind colors tool

#166A40 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)#69613D0.092
Deuteranopia (no green cones)#5F5A430.090
Tritanopia (no blue cones)#00695F0.049
Achromatopsia (no color)#5D5D5D0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #166A40

    #166A40

    oklch(46.5% 0.103 156)

  • #7C416F

    #7C416F

    oklch(46.5% 0.102 335.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166A40

    #166A40

    oklch(46.5% 0.103 156)

  • #4B6319

    #4B6319

    oklch(46.4% 0.103 125.9)

  • #006860

    #006860

    oklch(46.5% 0.082 185.7)

Open the analogous palette in the generator

Split complementary

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

  • #166A40

    #166A40

    oklch(46.5% 0.103 156)

  • #684887

    #684887

    oklch(46.4% 0.104 306.2)

  • #883E50

    #883E50

    oklch(46.6% 0.103 6.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166A40

    #166A40

    oklch(46.5% 0.103 156)

  • #4A5392

    #4A5392

    oklch(46.5% 0.102 275.6)

  • #89412E

    #89412E

    oklch(46.4% 0.103 35.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166A40

    #166A40

    oklch(46.5% 0.103 156)

  • #1C5E8F

    #1C5E8F

    oklch(46.6% 0.102 245.4)

  • #7C416F

    #7C416F

    oklch(46.5% 0.102 335.9)

  • #804B00

    #804B00

    oklch(46.5% 0.104 65.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #166A40 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.