#3A7C17

Closest named color: Tree Green (#2A7E19). oklch(52.3% 0.147 137.4), rgb(58, 124, 23).

Aa

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

About this color

#3A7C17 is a medium-dark, vivid green. In OKLCH its lightness is 52%, its chroma 0.147 and its hue 137°. 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.15:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromavivid (0.147)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text4.07:1
White text5.15:1

Values

HEX#3A7C17
RGBrgb(58, 124, 23)
HSLhsl(99, 69%, 29%)
OKLCHoklch(52.3% 0.147 137.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 #3A7C17 5.15:1 AA Lc -80.6 Fine for body text
Black text on #3A7C17 4.07:1 AA large text Lc 28.9 Dividers and decoration only
#3A7C17 text on white 5.15:1 AA Lc 75.2 Fine for body text
#3A7C17 text on black 4.07:1 AA large text Lc -26.5 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

    #E3EDE0

    oklch(93.5% 0.02 138.4)

  3. Step 200

    200

    #CDE0C6

    oklch(88.5% 0.041 137.2)

  4. Step 300

    300

    #ABCC9F

    oklch(80.9% 0.071 137.4)

  5. Step 400

    400

    #7DB16A

    oklch(70.6% 0.113 137.7)

  6. Step 500

    500

    #5B9D3F

    oklch(63.1% 0.145 137.5)

  7. Step 600

    600

    #3F8718

    oklch(55.5% 0.158 137.4)

  8. Step 700

    700 (this color)

    #3A7C17

    oklch(52.3% 0.147 137.4)

  9. Step 800

    800

    #295D0D

    oklch(42.6% 0.121 137.5)

  10. Step 900

    900

    #264D15

    oklch(37.8% 0.095 137.6)

  11. Step 950

    950

    #172D0E

    oklch(27% 0.06 137.5)

Export this scale for Tailwind in the Tailwind colors tool

#3A7C17 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)#8071000.092
Deuteranopia (no green cones)#786B230.095
Tritanopia (no blue cones)#3577690.103
Achromatopsia (no color)#6D6D6D0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A7C17

    #3A7C17

    oklch(52.3% 0.147 137.4)

  • #8B49A0

    #8B49A0

    oklch(52.2% 0.147 317.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A7C17

    #3A7C17

    oklch(52.3% 0.147 137.4)

  • #716E00

    #716E00

    oklch(52.4% 0.113 107.8)

  • #007D5D

    #007D5D

    oklch(52.3% 0.107 167.3)

Open the analogous palette in the generator

Split complementary

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

  • #3A7C17

    #3A7C17

    oklch(52.3% 0.147 137.4)

  • #6758B9

    #6758B9

    oklch(52.4% 0.147 287.3)

  • #A33F79

    #A33F79

    oklch(52.2% 0.147 347.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A7C17

    #3A7C17

    oklch(52.3% 0.147 137.4)

  • #2B68BC

    #2B68BC

    oklch(52.3% 0.146 257.3)

  • #AE3D49

    #AE3D49

    oklch(52.2% 0.147 17.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A7C17

    #3A7C17

    oklch(52.3% 0.147 137.4)

  • #007497

    #007497

    oklch(52.2% 0.102 227.8)

  • #8B49A0

    #8B49A0

    oklch(52.2% 0.147 317.4)

  • #A94900

    #A94900

    oklch(52.3% 0.144 47.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3A7C17 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.