#187C1A

Closest named color: Tree Green (#2A7E19). oklch(51.2% 0.159 143), rgb(24, 124, 26).

Aa

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

About this color

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

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

Values

HEX#187C1A
RGBrgb(24, 124, 26)
HSLhsl(121, 68%, 29%)
OKLCHoklch(51.2% 0.159 143)

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 #187C1A 5.33:1 AA Lc -81.4 Fine for body text
Black text on #187C1A 3.93:1 AA large text Lc 28.1 Dividers and decoration only
#187C1A text on white 5.33:1 AA Lc 76.0 Fine for body text
#187C1A text on black 3.93:1 AA large text Lc -25.7 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E2EEE0

    oklch(93.6% 0.023 141.2)

  3. Step 200

    200

    #C9E1C7

    oklch(88.5% 0.043 143.1)

  4. Step 300

    300

    #A4CEA1

    oklch(80.9% 0.077 143.1)

  5. Step 400

    400

    #70B46D

    oklch(70.7% 0.122 143.2)

  6. Step 500

    500

    #46A143

    oklch(63.2% 0.158 142.9)

  7. Step 600

    600

    #1E8B20

    oklch(55.7% 0.171 143)

  8. Step 700

    700 (this color)

    #187C1A

    oklch(51.2% 0.159 143)

  9. Step 800

    800

    #116013

    oklch(42.8% 0.132 143.1)

  10. Step 900

    900

    #184F18

    oklch(37.8% 0.103 143.2)

  11. Step 950

    950

    #102E0F

    oklch(26.9% 0.065 143)

Export this scale for Tailwind in the Tailwind colors tool

#187C1A 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)#7F70040.113
Deuteranopia (no green cones)#7468250.113
Tritanopia (no blue cones)#0078690.101
Achromatopsia (no color)#6B6B6B0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #187C1A

    #187C1A

    oklch(51.2% 0.159 143)

  • #90409A

    #90409A

    oklch(51.2% 0.158 323.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #187C1A

    #187C1A

    oklch(51.2% 0.159 143)

  • #686D00

    #686D00

    oklch(51.3% 0.114 112.9)

  • #007961

    #007961

    oklch(51.3% 0.099 172.5)

Open the analogous palette in the generator

Split complementary

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

  • #187C1A

    #187C1A

    oklch(51.2% 0.159 143)

  • #6D4FB8

    #6D4FB8

    oklch(51.3% 0.159 293.1)

  • #A7356E

    #A7356E

    oklch(51.3% 0.159 353.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #187C1A

    #187C1A

    oklch(51.2% 0.159 143)

  • #3360C0

    #3360C0

    oklch(51.1% 0.159 263.1)

  • #AF3539

    #AF3539

    oklch(51.2% 0.158 23)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #187C1A

    #187C1A

    oklch(51.2% 0.159 143)

  • #007099

    #007099

    oklch(51.3% 0.106 232.7)

  • #90409A

    #90409A

    oklch(51.2% 0.158 323.1)

  • #9E4D00

    #9E4D00

    oklch(51.2% 0.13 53.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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