#178D27

Closest named color: Forest Green (#228B22). oklch(56.2% 0.171 144.4), rgb(23, 141, 39).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.171)
Temperaturein between
Nearest nameForest Green (#228B22)
Black text4.87:1
White text4.30:1

Values

HEX#178D27
RGBrgb(23, 141, 39)
HSLhsl(128, 72%, 32%)
OKLCHoklch(56.2% 0.171 144.4)

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 #178D27 4.30:1 AA large text Lc -74.7 Content text, not long reading
Black text on #178D27 4.87:1 AA Lc 34.9 Non-text elements, placeholder text
#178D27 text on white 4.30:1 AA large text Lc 69.2 Content text, not long reading
#178D27 text on black 4.87:1 AA Lc -32.4 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

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE1

    oklch(93.6% 0.022 145.4)

  3. Step 200

    200

    #C9E1C8

    oklch(88.5% 0.042 144.1)

  4. Step 300

    300

    #A3CEA2

    oklch(80.9% 0.076 144.3)

  5. Step 400

    400

    #6EB56F

    oklch(70.8% 0.123 144.4)

  6. Step 500

    500

    #41A146

    oklch(63.1% 0.157 144.3)

  7. Step 600

    600 (this color)

    #178D27

    oklch(56.2% 0.171 144.4)

  8. Step 700

    700

    #007618

    oklch(49.1% 0.157 144.4)

  9. Step 800

    800

    #096016

    oklch(42.6% 0.132 144.4)

  10. Step 900

    900

    #154F1A

    oklch(37.7% 0.103 144.5)

  11. Step 950

    950

    #0F2E10

    oklch(26.9% 0.064 144.1)

Export this scale for Tailwind in the Tailwind colors tool

#178D27 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)#907F170.126
Deuteranopia (no green cones)#8376310.125
Tritanopia (no blue cones)#0089790.107
Achromatopsia (no color)#7A7A7A0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #178D27

    #178D27

    oklch(56.2% 0.171 144.4)

  • #A44AAC

    #A44AAC

    oklch(56.2% 0.171 324.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #178D27

    #178D27

    oklch(56.2% 0.171 144.4)

  • #747D00

    #747D00

    oklch(56.3% 0.127 114.7)

  • #008971

    #008971

    oklch(56.2% 0.106 174.6)

Open the analogous palette in the generator

Split complementary

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

  • #178D27

    #178D27

    oklch(56.2% 0.171 144.4)

  • #7E5ACD

    #7E5ACD

    oklch(56.2% 0.171 294.7)

  • #BC3F7B

    #BC3F7B

    oklch(56.2% 0.17 354.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #178D27

    #178D27

    oklch(56.2% 0.171 144.4)

  • #416DD8

    #416DD8

    oklch(56.1% 0.171 264.6)

  • #C53F3F

    #C53F3F

    oklch(56.1% 0.171 24.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #178D27

    #178D27

    oklch(56.2% 0.171 144.4)

  • #007FAF

    #007FAF

    oklch(56.2% 0.118 233.9)

  • #A44AAC

    #A44AAC

    oklch(56.2% 0.171 324.3)

  • #B25900

    #B25900

    oklch(56.2% 0.141 54)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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