#166940

Closest named color: Spruce (#0A5F38). oklch(46.2% 0.102 156.3), rgb(22, 105, 64).

Aa

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

About this color

#166940 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.102 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.033 away. White text reads best on it, at 6.71:1.

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

Values

HEX#166940
RGBrgb(22, 105, 64)
HSLhsl(150, 65%, 25%)
OKLCHoklch(46.2% 0.102 156.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 #166940 6.71:1 AA Lc -87.8 Fine for body text
Black text on #166940 3.12:1 AA large text Lc 21.3 Dividers and decoration only
#166940 text on white 6.71:1 AA Lc 82.7 Fine for body text
#166940 text on black 3.12:1 AA large text Lc -19.2 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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  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

    #A8CBB4

    oklch(81% 0.049 156.3)

  5. Step 400

    400

    #77B08C

    oklch(70.8% 0.08 156)

  6. Step 500

    500

    #519C70

    oklch(63.2% 0.101 156.2)

  7. Step 600

    600

    #308658

    oklch(55.6% 0.11 156.4)

  8. Step 700

    700 (this color)

    #166940

    oklch(46.2% 0.102 156.3)

  9. Step 800

    800

    #1F5C3B

    oklch(42.6% 0.084 156.3)

  10. Step 900

    900

    #204C33

    oklch(37.8% 0.065 156.4)

  11. Step 950

    950

    #142D1E

    oklch(27.2% 0.042 155.9)

Export this scale for Tailwind in the Tailwind colors tool

#166940 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)#68603D0.091
Deuteranopia (no green cones)#5E59430.089
Tritanopia (no blue cones)#00685F0.049
Achromatopsia (no color)#5C5C5C0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #166940

    #166940

    oklch(46.2% 0.102 156.3)

  • #7B406E

    #7B406E

    oklch(46.1% 0.102 336)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166940

    #166940

    oklch(46.2% 0.102 156.3)

  • #4A621A

    #4A621A

    oklch(46.1% 0.101 126.1)

  • #006760

    #006760

    oklch(46.3% 0.081 186.7)

Open the analogous palette in the generator

Split complementary

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

  • #166940

    #166940

    oklch(46.2% 0.102 156.3)

  • #674885

    #674885

    oklch(46.2% 0.101 306.3)

  • #873D4F

    #873D4F

    oklch(46.2% 0.103 6.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166940

    #166940

    oklch(46.2% 0.102 156.3)

  • #4A5291

    #4A5291

    oklch(46.2% 0.102 276.2)

  • #88412E

    #88412E

    oklch(46.2% 0.102 36)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166940

    #166940

    oklch(46.2% 0.102 156.3)

  • #1D5D8E

    #1D5D8E

    oklch(46.3% 0.102 246)

  • #7B406E

    #7B406E

    oklch(46.1% 0.102 336)

  • #7E4B02

    #7E4B02

    oklch(46.2% 0.102 66.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #166940 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.