#157A17

Closest named color: Tree Green (#2A7E19). oklch(50.6% 0.159 143), rgb(21, 122, 23).

Aa

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

About this color

#157A17 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.018 away. White text reads best on it, at 5.48:1.

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

Values

HEX#157A17
RGBrgb(21, 122, 23)
HSLhsl(121, 71%, 28%)
OKLCHoklch(50.6% 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 #157A17 5.48:1 AA Lc -82.2 Fine for body text
Black text on #157A17 3.82:1 AA large text Lc 27.2 Dividers and decoration only
#157A17 text on white 5.48:1 AA Lc 76.8 Fine for body text
#157A17 text on black 3.82:1 AA large text Lc -24.9 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

    #70B46C

    oklch(70.6% 0.123 142.9)

  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)

    #157A17

    oklch(50.6% 0.159 143)

  9. Step 800

    800

    #126012

    oklch(42.8% 0.132 142.8)

  10. Step 900

    900

    #194F18

    oklch(37.8% 0.103 142.9)

  11. Step 950

    950

    #102E0F

    oklch(26.9% 0.065 143)

Export this scale for Tailwind in the Tailwind colors tool

#157A17 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)#7D6E000.113
Deuteranopia (no green cones)#7266230.113
Tritanopia (no blue cones)#0076680.103
Achromatopsia (no color)#6969690.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #157A17

    #157A17

    oklch(50.6% 0.159 143)

  • #8E3E98

    #8E3E98

    oklch(50.6% 0.158 323.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #157A17

    #157A17

    oklch(50.6% 0.159 143)

  • #666B00

    #666B00

    oklch(50.6% 0.113 113)

  • #00765F

    #00765F

    oklch(50.4% 0.097 172.9)

Open the analogous palette in the generator

Split complementary

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

  • #157A17

    #157A17

    oklch(50.6% 0.159 143)

  • #6B4DB6

    #6B4DB6

    oklch(50.6% 0.159 293)

  • #A4336D

    #A4336D

    oklch(50.5% 0.159 352.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #157A17

    #157A17

    oklch(50.6% 0.159 143)

  • #315EBE

    #315EBE

    oklch(50.5% 0.159 263)

  • #AD3237

    #AD3237

    oklch(50.5% 0.159 22.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #157A17

    #157A17

    oklch(50.6% 0.159 143)

  • #006E96

    #006E96

    oklch(50.6% 0.104 232.5)

  • #8E3E98

    #8E3E98

    oklch(50.6% 0.158 323.1)

  • #9B4B00

    #9B4B00

    oklch(50.4% 0.128 52.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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