#166845

Closest named color: Spruce (#0A5F38). oklch(46% 0.095 159.8), rgb(22, 104, 69).

Aa

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

About this color

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

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

Values

HEX#166845
RGBrgb(22, 104, 69)
HSLhsl(154, 65%, 25%)
OKLCHoklch(46% 0.095 159.8)

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 #166845 6.77:1 AA Lc -88.0 Fine for body text
Black text on #166845 3.10:1 AA large text Lc 21.1 Dividers and decoration only
#166845 text on white 6.77:1 AA Lc 83.0 Fine for body text
#166845 text on black 3.10:1 AA large text Lc -18.9 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

    #E3EDE7

    oklch(93.7% 0.013 159.9)

  3. Step 200

    200

    #CBDFD3

    oklch(88.5% 0.027 159.5)

  4. Step 300

    300

    #A8CAB6

    oklch(80.8% 0.046 159.4)

  5. Step 400

    400

    #77AF91

    oklch(70.7% 0.074 160.3)

  6. Step 500

    500

    #519B75

    oklch(63.1% 0.095 159.6)

  7. Step 600

    600

    #31855E

    oklch(55.5% 0.102 160)

  8. Step 700

    700 (this color)

    #166845

    oklch(46% 0.095 159.8)

  9. Step 800

    800

    #1F5C40

    oklch(42.7% 0.079 160.2)

  10. Step 900

    900

    #204C36

    oklch(37.8% 0.062 159.5)

  11. Step 950

    950

    #142C20

    oklch(26.9% 0.038 160.6)

Export this scale for Tailwind in the Tailwind colors tool

#166845 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)#675F430.091
Deuteranopia (no green cones)#5D58470.088
Tritanopia (no blue cones)#00675F0.042
Achromatopsia (no color)#5B5B5B0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #166845

    #166845

    oklch(46% 0.095 159.8)

  • #7B4169

    #7B4169

    oklch(46.1% 0.096 340)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166845

    #166845

    oklch(46% 0.095 159.8)

  • #466224

    #466224

    oklch(45.9% 0.095 129.9)

  • #006662

    #006662

    oklch(46% 0.079 190.1)

Open the analogous palette in the generator

Split complementary

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

  • #166845

    #166845

    oklch(46% 0.095 159.8)

  • #684880

    #684880

    oklch(46.1% 0.095 309.4)

  • #843F4C

    #843F4C

    oklch(46% 0.095 9.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166845

    #166845

    oklch(46% 0.095 159.8)

  • #4E518C

    #4E518C

    oklch(46% 0.095 279.8)

  • #84432D

    #84432D

    oklch(46% 0.096 39.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166845

    #166845

    oklch(46% 0.095 159.8)

  • #295B8B

    #295B8B

    oklch(46.1% 0.095 249.8)

  • #7B4169

    #7B4169

    oklch(46.1% 0.096 340)

  • #7A4D0A

    #7A4D0A

    oklch(46.1% 0.096 69.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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