#164E21

Closest named color: Pine Green (#0A481E). oklch(37.6% 0.094 147), rgb(22, 78, 33).

Aa

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

About this color

#164E21 is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.094 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.023 away. White text reads best on it, at 9.78:1.

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.094)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text2.14:1
White text9.78:1

Values

HEX#164E21
RGBrgb(22, 78, 33)
HSLhsl(132, 56%, 20%)
OKLCHoklch(37.6% 0.094 147)

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 #164E21 9.78:1 AAA Lc -96.6 Preferred for body text
Black text on #164E21 2.14:1 Fails Lc 11.6 Not readable
#164E21 text on white 9.78:1 AAA Lc 92.4 Preferred for body text
#164E21 text on black 2.14:1 Fails Lc -10.0 Not readable

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 900.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E1EEE2

    oklch(93.6% 0.021 147.6)

  3. Step 200

    200

    #C9E1CA

    oklch(88.6% 0.04 146.4)

  4. Step 300

    300

    #A3CEA6

    oklch(81% 0.072 146.7)

  5. Step 400

    400

    #6FB477

    oklch(70.8% 0.113 147)

  6. Step 500

    500

    #43A052

    oklch(63.1% 0.144 146.8)

  7. Step 600

    600

    #178A36

    oklch(55.5% 0.156 147.1)

  8. Step 700

    700

    #017528

    oklch(49% 0.145 147)

  9. Step 800

    800

    #0C6023

    oklch(42.8% 0.121 147.1)

  10. Step 900

    900 (this color)

    #164E21

    oklch(37.6% 0.094 147)

  11. Step 950

    950

    #0F2E14

    oklch(27% 0.06 146.9)

Export this scale for Tailwind in the Tailwind colors tool

#164E21 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)#4F471D0.073
Deuteranopia (no green cones)#4842240.072
Tritanopia (no blue cones)#054C440.056
Achromatopsia (no color)#4444440.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #164E21

    #164E21

    oklch(37.6% 0.094 147)

  • #5A2D5B

    #5A2D5B

    oklch(37.5% 0.094 326.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #164E21

    #164E21

    oklch(37.6% 0.094 147)

  • #3E4700

    #3E4700

    oklch(37.7% 0.087 117.6)

  • #004D40

    #004D40

    oklch(37.6% 0.07 176.4)

Open the analogous palette in the generator

Split complementary

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

  • #164E21

    #164E21

    oklch(37.6% 0.094 147)

  • #47356C

    #47356C

    oklch(37.6% 0.092 296.8)

  • #672942

    #672942

    oklch(37.7% 0.094 357.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #164E21

    #164E21

    oklch(37.6% 0.094 147)

  • #2B3E73

    #2B3E73

    oklch(37.7% 0.094 267)

  • #6A2A25

    #6A2A25

    oklch(37.6% 0.093 26.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #164E21

    #164E21

    oklch(37.6% 0.094 147)

  • #004767

    #004767

    oklch(37.7% 0.082 236.6)

  • #5A2D5B

    #5A2D5B

    oklch(37.5% 0.094 326.4)

  • #643200

    #643200

    oklch(37.5% 0.091 56.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #164E21 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.