#166A12

Closest named color: Dark Green (#006400). oklch(45.9% 0.143 142.3), rgb(22, 106, 18).

Aa

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

About this color

#166A12 is a medium-dark, vivid green. In OKLCH its lightness is 46%, its chroma 0.143 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.023 away. White text reads best on it, at 6.76:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromavivid (0.143)
Temperaturein between
Nearest nameDark Green (#006400)
Black text3.10:1
White text6.76:1

Values

HEX#166A12
RGBrgb(22, 106, 18)
HSLhsl(117, 71%, 24%)
OKLCHoklch(45.9% 0.143 142.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 #166A12 6.76:1 AA Lc -87.9 Fine for body text
Black text on #166A12 3.10:1 AA large text Lc 21.2 Dividers and decoration only
#166A12 text on white 6.76:1 AA Lc 82.8 Fine for body text
#166A12 text on black 3.10:1 AA large text Lc -19.1 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

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE0

    oklch(93.6% 0.023 143.4)

  3. Step 200

    200

    #C8E1C5

    oklch(88.4% 0.046 142.2)

  4. Step 300

    300

    #A2CF9D

    oklch(80.9% 0.084 142.2)

  5. Step 400

    400

    #6CB566

    oklch(70.6% 0.133 142.4)

  6. Step 500

    500

    #3FA239

    oklch(63.1% 0.17 142.4)

  7. Step 600

    600

    #0D8C07

    oklch(55.6% 0.185 142.3)

  8. Step 700

    700

    #037600

    oklch(49.1% 0.166 142.3)

  9. Step 800

    800 (this color)

    #166A12

    oklch(45.9% 0.143 142.3)

  10. Step 900

    900

    #144F11

    oklch(37.6% 0.11 142.4)

  11. Step 950

    950

    #0E2F0C

    oklch(27.1% 0.071 142.4)

Export this scale for Tailwind in the Tailwind colors tool

#166A12 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)#6D5F000.101
Deuteranopia (no green cones)#63591D0.100
Tritanopia (no blue cones)#00675A0.092
Achromatopsia (no color)#5B5B5B0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #166A12

    #166A12

    oklch(45.9% 0.143 142.3)

  • #7B3685

    #7B3685

    oklch(45.8% 0.142 322.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #166A12

    #166A12

    oklch(45.9% 0.143 142.3)

  • #595D00

    #595D00

    oklch(45.9% 0.102 112.7)

  • #006752

    #006752

    oklch(45.8% 0.088 172.3)

Open the analogous palette in the generator

Split complementary

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

  • #166A12

    #166A12

    oklch(45.9% 0.143 142.3)

  • #5C439F

    #5C439F

    oklch(45.9% 0.143 292.4)

  • #8F2C5F

    #8F2C5F

    oklch(45.8% 0.143 352.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #166A12

    #166A12

    oklch(45.9% 0.143 142.3)

  • #2952A6

    #2952A6

    oklch(45.8% 0.143 262.6)

  • #972C31

    #972C31

    oklch(45.9% 0.142 22.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #166A12

    #166A12

    oklch(45.9% 0.143 142.3)

  • #006083

    #006083

    oklch(45.9% 0.094 232.1)

  • #7B3685

    #7B3685

    oklch(45.8% 0.142 322.4)

  • #894100

    #894100

    oklch(46% 0.118 52.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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