#157A2A

Closest named color: Tree Green (#2A7E19). oklch(50.7% 0.146 145.8), rgb(21, 122, 42).

Aa

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

About this color

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

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

Values

HEX#157A2A
RGBrgb(21, 122, 42)
HSLhsl(132, 71%, 28%)
OKLCHoklch(50.7% 0.146 145.8)

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 #157A2A 5.45:1 AA Lc -82.0 Fine for body text
Black text on #157A2A 3.84:1 AA large text Lc 27.4 Dividers and decoration only
#157A2A text on white 5.45:1 AA Lc 76.7 Fine for body text
#157A2A text on black 3.84: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

    #C9E1CA

    oklch(88.6% 0.04 146.4)

  4. Step 300

    300

    #A4CDA6

    oklch(80.8% 0.07 146.2)

  5. Step 400

    400

    #70B375

    oklch(70.6% 0.113 146)

  6. Step 500

    500

    #45A050

    oklch(63.1% 0.145 145.9)

  7. Step 600

    600

    #1E8A33

    oklch(55.6% 0.157 145.9)

  8. Step 700

    700 (this color)

    #157A2A

    oklch(50.7% 0.146 145.8)

  9. Step 800

    800

    #115F20

    oklch(42.6% 0.121 145.8)

  10. Step 900

    900

    #184E20

    oklch(37.6% 0.094 146)

  11. Step 950

    950

    #102E13

    oklch(27% 0.06 145.6)

Export this scale for Tailwind in the Tailwind colors tool

#157A2A 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)#7C6E210.111
Deuteranopia (no green cones)#7166310.111
Tritanopia (no blue cones)#0077690.088
Achromatopsia (no color)#6969690.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #157A2A

    #157A2A

    oklch(50.7% 0.146 145.8)

  • #8E4291

    #8E4291

    oklch(50.7% 0.145 326)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #157A2A

    #157A2A

    oklch(50.7% 0.146 145.8)

  • #636D00

    #636D00

    oklch(50.9% 0.116 115.9)

  • #007763

    #007763

    oklch(50.8% 0.095 175.5)

Open the analogous palette in the generator

Split complementary

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

  • #157A2A

    #157A2A

    oklch(50.7% 0.146 145.8)

  • #6E4FAE

    #6E4FAE

    oklch(50.7% 0.146 295.8)

  • #A23968

    #A23968

    oklch(50.7% 0.146 355.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #157A2A

    #157A2A

    oklch(50.7% 0.146 145.8)

  • #3D5FB8

    #3D5FB8

    oklch(50.8% 0.146 265.7)

  • #A93A36

    #A93A36

    oklch(50.7% 0.147 25.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #157A2A

    #157A2A

    oklch(50.7% 0.146 145.8)

  • #006E9B

    #006E9B

    oklch(50.9% 0.109 235.7)

  • #8E4291

    #8E4291

    oklch(50.7% 0.145 326)

  • #994E00

    #994E00

    oklch(50.6% 0.124 55.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #157A2A.

Similar named colors

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

Use #157A2A 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.