#166642

Closest named color: Spruce (#0A5F38). oklch(45.4% 0.096 158.6), rgb(22, 102, 66).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text3.01:1
White text6.96:1

Values

HEX#166642
RGBrgb(22, 102, 66)
HSLhsl(153, 65%, 24%)
OKLCHoklch(45.4% 0.096 158.6)

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 #166642 6.96:1 AA Lc -88.7 Fine for body text
Black text on #166642 3.01:1 AA large text Lc 20.3 Dividers and decoration only
#166642 text on white 6.96:1 AA Lc 83.8 Fine for body text
#166642 text on black 3.01:1 AA large text Lc -18.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 800.

  1. Step 50

    50

    #F1F7F4

    oklch(97.1% 0.007 164.9)

  2. Step 100

    100

    #E1EDE6

    oklch(93.5% 0.016 160.6)

  3. Step 200

    200

    #C9E0D2

    oklch(88.6% 0.031 159)

  4. Step 300

    300

    #A3CCB3

    oklch(80.9% 0.056 158.1)

  5. Step 400

    400

    #6EB28C

    oklch(70.7% 0.089 158.6)

  6. Step 500

    500

    #419E6F

    oklch(63.1% 0.114 158.4)

  7. Step 600

    600

    #118957

    oklch(55.7% 0.125 158.4)

  8. Step 700

    700

    #007348

    oklch(49% 0.113 158.9)

  9. Step 800

    800 (this color)

    #166642

    oklch(45.4% 0.096 158.6)

  10. Step 900

    900

    #154D33

    oklch(37.6% 0.073 159.2)

  11. Step 950

    950

    #0F2D1E

    oklch(26.9% 0.046 159.2)

Export this scale for Tailwind in the Tailwind colors tool

#166642 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)#655E400.088
Deuteranopia (no green cones)#5B57440.085
Tritanopia (no blue cones)#00655D0.043
Achromatopsia (no color)#5959590.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #166642

    #166642

    oklch(45.4% 0.096 158.6)

  • #784068

    #784068

    oklch(45.5% 0.095 338.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166642

    #166642

    oklch(45.4% 0.096 158.6)

  • #466020

    #466020

    oklch(45.3% 0.096 128.5)

  • #00645F

    #00645F

    oklch(45.4% 0.079 188.8)

Open the analogous palette in the generator

Split complementary

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

  • #166642

    #166642

    oklch(45.4% 0.096 158.6)

  • #66467F

    #66467F

    oklch(45.4% 0.097 308.9)

  • #823D4B

    #823D4B

    oklch(45.3% 0.096 8.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166642

    #166642

    oklch(45.4% 0.096 158.6)

  • #4B4F8A

    #4B4F8A

    oklch(45.3% 0.096 278.9)

  • #82412C

    #82412C

    oklch(45.3% 0.095 38.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166642

    #166642

    oklch(45.4% 0.096 158.6)

  • #255989

    #255989

    oklch(45.3% 0.096 249.2)

  • #784068

    #784068

    oklch(45.5% 0.095 338.8)

  • #784B08

    #784B08

    oklch(45.4% 0.095 69.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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