#178A31

Closest named color: Forest Green (#228B22). oklch(55.4% 0.16 146.1), rgb(23, 138, 49).

Aa

Black text reads best on this color (4.71:1).

About this color

#178A31 is a medium-dark, vivid green. In OKLCH its lightness is 55%, its chroma 0.160 and its hue 146°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Forest Green (#228B22), ΔE 0.013 away. Black text reads best on it, at 4.71:1.

Hue familyGreens
Lightnessmedium-dark (55%)
Chromavivid (0.160)
Temperaturein between
Nearest nameForest Green (#228B22)
Black text4.71:1
White text4.45:1

Values

HEX#178A31
RGBrgb(23, 138, 49)
HSLhsl(134, 71%, 32%)
OKLCHoklch(55.4% 0.16 146.1)

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 #178A31 4.45:1 AA large text Lc -75.8 Fine for body text
Black text on #178A31 4.71:1 AA Lc 33.7 Non-text elements, placeholder text
#178A31 text on white 4.45:1 AA large text Lc 70.4 Content text, not long reading
#178A31 text on black 4.71:1 AA Lc -31.3 Non-text elements, placeholder text

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

  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

    #A3CEA5

    oklch(81% 0.073 146.1)

  5. Step 400

    400

    #6FB474

    oklch(70.7% 0.116 145.9)

  6. Step 500

    500

    #43A04F

    oklch(63% 0.147 146)

  7. Step 600

    600 (this color)

    #178A31

    oklch(55.4% 0.16 146.1)

  8. Step 700

    700

    #027524

    oklch(49% 0.148 146.2)

  9. Step 800

    800

    #0D601F

    oklch(42.8% 0.124 145.9)

  10. Step 900

    900

    #174E1F

    oklch(37.6% 0.095 145.9)

  11. Step 950

    950

    #0F2E13

    oklch(27% 0.061 146.2)

Export this scale for Tailwind in the Tailwind colors tool

#178A31 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)#8C7D270.121
Deuteranopia (no green cones)#8074390.122
Tritanopia (no blue cones)#0087770.096
Achromatopsia (no color)#7777770.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #178A31

    #178A31

    oklch(55.4% 0.16 146.1)

  • #A14BA4

    #A14BA4

    oklch(55.5% 0.16 326.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #178A31

    #178A31

    oklch(55.4% 0.16 146.1)

  • #707B00

    #707B00

    oklch(55.5% 0.127 115.8)

  • #008671

    #008671

    oklch(55.4% 0.103 176.5)

Open the analogous palette in the generator

Split complementary

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

  • #178A31

    #178A31

    oklch(55.4% 0.16 146.1)

  • #7D5AC4

    #7D5AC4

    oklch(55.5% 0.159 296)

  • #B74176

    #B74176

    oklch(55.4% 0.161 355.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #178A31

    #178A31

    oklch(55.4% 0.16 146.1)

  • #466BCF

    #466BCF

    oklch(55.3% 0.16 266.1)

  • #BE433E

    #BE433E

    oklch(55.4% 0.159 26)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #178A31

    #178A31

    oklch(55.4% 0.16 146.1)

  • #007CAF

    #007CAF

    oklch(55.5% 0.12 236.1)

  • #A14BA4

    #A14BA4

    oklch(55.5% 0.16 326.2)

  • #AD5900

    #AD5900

    oklch(55.4% 0.136 55.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #178A31.

Similar named colors

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

Use #178A31 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.