#187A28

Closest named color: Tree Green (#2A7E19). oklch(50.8% 0.147 145.2), rgb(24, 122, 40).

Aa

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

About this color

#187A28 is a medium-dark, vivid green. In OKLCH its lightness is 51%, its chroma 0.147 and its hue 145°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.021 away. White text reads best on it, at 5.44:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromavivid (0.147)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.85:1
White text5.44:1

Values

HEX#187A28
RGBrgb(24, 122, 40)
HSLhsl(130, 67%, 29%)
OKLCHoklch(50.8% 0.147 145.2)

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 #187A28 5.44:1 AA Lc -82.0 Fine for body text
Black text on #187A28 3.85:1 AA large text Lc 27.4 Dividers and decoration only
#187A28 text on white 5.44:1 AA Lc 76.7 Fine for body text
#187A28 text on black 3.85:1 AA large text Lc -25.0 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 700.

  1. Step 50

    50

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EEE2

    oklch(93.7% 0.02 145.4)

  3. Step 200

    200

    #CAE1CA

    oklch(88.6% 0.04 145.2)

  4. Step 300

    300

    #A4CDA5

    oklch(80.8% 0.071 145.5)

  5. Step 400

    400

    #71B374

    oklch(70.6% 0.113 145.3)

  6. Step 500

    500

    #47A04E

    oklch(63.2% 0.146 145.1)

  7. Step 600

    600

    #208A30

    oklch(55.6% 0.158 145.2)

  8. Step 700

    700 (this color)

    #187A28

    oklch(50.8% 0.147 145.2)

  9. Step 800

    800

    #135F1F

    oklch(42.6% 0.121 145.3)

  10. Step 900

    900

    #194E1F

    oklch(37.6% 0.095 145.4)

  11. Step 950

    950

    #112E13

    oklch(27.1% 0.06 145)

Export this scale for Tailwind in the Tailwind colors tool

#187A28 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)#7C6E1E0.110
Deuteranopia (no green cones)#71672F0.108
Tritanopia (no blue cones)#0077690.090
Achromatopsia (no color)#6969690.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #187A28

    #187A28

    oklch(50.8% 0.147 145.2)

  • #8E4293

    #8E4293

    oklch(50.8% 0.147 325.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #187A28

    #187A28

    oklch(50.8% 0.147 145.2)

  • #646C00

    #646C00

    oklch(50.7% 0.115 114.8)

  • #007762

    #007762

    oklch(50.8% 0.096 174.7)

Open the analogous palette in the generator

Split complementary

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

  • #187A28

    #187A28

    oklch(50.8% 0.147 145.2)

  • #6D4FAF

    #6D4FAF

    oklch(50.7% 0.147 295)

  • #A23969

    #A23969

    oklch(50.7% 0.147 355.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #187A28

    #187A28

    oklch(50.8% 0.147 145.2)

  • #3B5FB9

    #3B5FB9

    oklch(50.8% 0.148 265.1)

  • #A93A37

    #A93A37

    oklch(50.7% 0.147 25.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #187A28

    #187A28

    oklch(50.8% 0.147 145.2)

  • #006E9A

    #006E9A

    oklch(50.8% 0.108 235.1)

  • #8E4293

    #8E4293

    oklch(50.8% 0.147 325.1)

  • #9A4E00

    #9A4E00

    oklch(50.8% 0.125 55.3)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #187A28.

Similar named colors

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

Use #187A28 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.