#3A791D

Closest named color: Tree Green (#2A7E19). oklch(51.5% 0.14 137.8), rgb(58, 121, 29).

Aa

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

About this color

#3A791D is a medium-dark, moderately saturated green. In OKLCH its lightness is 51%, its chroma 0.140 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.019 away. White text reads best on it, at 5.33:1.

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

Values

HEX#3A791D
RGBrgb(58, 121, 29)
HSLhsl(101, 61%, 29%)
OKLCHoklch(51.5% 0.14 137.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 #3A791D 5.33:1 AA Lc -81.6 Fine for body text
Black text on #3A791D 3.93:1 AA large text Lc 27.8 Dividers and decoration only
#3A791D text on white 5.33:1 AA Lc 76.3 Fine for body text
#3A791D text on black 3.93:1 AA large text Lc -25.4 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CEDFC7

    oklch(88.4% 0.037 136.5)

  4. Step 300

    300

    #ACCBA1

    oklch(80.8% 0.067 137.6)

  5. Step 400

    400

    #7FB16D

    oklch(70.8% 0.109 137.7)

  6. Step 500

    500

    #5D9C44

    oklch(63% 0.138 137.7)

  7. Step 600

    600

    #428722

    oklch(55.7% 0.151 137.7)

  8. Step 700

    700 (this color)

    #3A791D

    oklch(51.5% 0.14 137.8)

  9. Step 800

    800

    #2B5D14

    oklch(42.7% 0.116 137.8)

  10. Step 900

    900

    #274C19

    oklch(37.6% 0.09 138.1)

  11. Step 950

    950

    #182D10

    oklch(27.1% 0.057 137.8)

Export this scale for Tailwind in the Tailwind colors tool

#3A791D 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)#7D6E0C0.089
Deuteranopia (no green cones)#7569260.090
Tritanopia (no blue cones)#3675670.097
Achromatopsia (no color)#6B6B6B0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A791D

    #3A791D

    oklch(51.5% 0.14 137.8)

  • #88499B

    #88499B

    oklch(51.5% 0.141 317.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A791D

    #3A791D

    oklch(51.5% 0.14 137.8)

  • #6E6B00

    #6E6B00

    oklch(51.4% 0.111 107.8)

  • #007A5C

    #007A5C

    oklch(51.5% 0.104 168.2)

Open the analogous palette in the generator

Split complementary

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

  • #3A791D

    #3A791D

    oklch(51.5% 0.14 137.8)

  • #6557B2

    #6557B2

    oklch(51.6% 0.139 287.5)

  • #9E4076

    #9E4076

    oklch(51.5% 0.139 347.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A791D

    #3A791D

    oklch(51.5% 0.14 137.8)

  • #2E66B6

    #2E66B6

    oklch(51.5% 0.14 257.8)

  • #A93E48

    #A93E48

    oklch(51.5% 0.14 18)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A791D

    #3A791D

    oklch(51.5% 0.14 137.8)

  • #007294

    #007294

    oklch(51.5% 0.1 227.4)

  • #88499B

    #88499B

    oklch(51.5% 0.141 317.9)

  • #A54802

    #A54802

    oklch(51.5% 0.14 47.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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