#178C27

Closest named color: Forest Green (#228B22). oklch(55.9% 0.17 144.4), rgb(23, 140, 39).

Aa

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

About this color

#178C27 is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.170 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.005 away. Black text reads best on it, at 4.81:1.

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

Values

HEX#178C27
RGBrgb(23, 140, 39)
HSLhsl(128, 72%, 32%)
OKLCHoklch(55.9% 0.17 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 #178C27 4.35:1 AA large text Lc -75.1 Fine for body text
Black text on #178C27 4.81:1 AA Lc 34.4 Non-text elements, placeholder text
#178C27 text on white 4.35:1 AA large text Lc 69.6 Content text, not long reading
#178C27 text on black 4.81:1 AA Lc -32.0 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

    #6EB46F

    oklch(70.6% 0.122 144.5)

  6. Step 500

    500

    #42A147

    oklch(63.1% 0.156 144.3)

  7. Step 600

    600 (this color)

    #178C27

    oklch(55.9% 0.17 144.4)

  8. Step 700

    700

    #007618

    oklch(49.1% 0.157 144.4)

  9. Step 800

    800

    #0B6017

    oklch(42.7% 0.13 144.4)

  10. Step 900

    900

    #164F1A

    oklch(37.8% 0.102 144.3)

  11. Step 950

    950

    #0F2E10

    oklch(26.9% 0.064 144.1)

Export this scale for Tailwind in the Tailwind colors tool

#178C27 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)#8F7E170.125
Deuteranopia (no green cones)#8276310.123
Tritanopia (no blue cones)#0088780.106
Achromatopsia (no color)#7979790.170

Harmonies

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

Complementary

The opposite hue (180°).

  • #178C27

    #178C27

    oklch(55.9% 0.17 144.4)

  • #A34AAB

    #A34AAB

    oklch(56% 0.17 324.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #178C27

    #178C27

    oklch(55.9% 0.17 144.4)

  • #737C00

    #737C00

    oklch(56% 0.127 114.7)

  • #008870

    #008870

    oklch(55.9% 0.106 174.5)

Open the analogous palette in the generator

Split complementary

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

  • #178C27

    #178C27

    oklch(55.9% 0.17 144.4)

  • #7D5ACC

    #7D5ACC

    oklch(56% 0.17 294.4)

  • #BB3E7A

    #BB3E7A

    oklch(55.9% 0.17 354.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #178C27

    #178C27

    oklch(55.9% 0.17 144.4)

  • #406DD6

    #406DD6

    oklch(55.9% 0.169 264.2)

  • #C43F3F

    #C43F3F

    oklch(55.9% 0.17 24.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #178C27

    #178C27

    oklch(55.9% 0.17 144.4)

  • #007EAE

    #007EAE

    oklch(55.9% 0.117 234.1)

  • #A34AAB

    #A34AAB

    oklch(56% 0.17 324.3)

  • #B05900

    #B05900

    oklch(55.9% 0.139 54.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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