#3A7D12

Closest named color: Tree Green (#2A7E19). oklch(52.5% 0.151 137.1), rgb(58, 125, 18).

Aa

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

About this color

#3A7D12 is a medium-dark, vivid green. In OKLCH its lightness is 53%, its chroma 0.151 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.011 away. White text reads best on it, at 5.09:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromavivid (0.151)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text4.12:1
White text5.09:1

Values

HEX#3A7D12
RGBrgb(58, 125, 18)
HSLhsl(98, 75%, 28%)
OKLCHoklch(52.5% 0.151 137.1)

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 #3A7D12 5.09:1 AA Lc -80.2 Fine for body text
Black text on #3A7D12 4.12:1 AA large text Lc 29.2 Dividers and decoration only
#3A7D12 text on white 5.09:1 AA Lc 74.8 Content text, not long reading
#3A7D12 text on black 4.12:1 AA large text Lc -26.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 600.

  1. Step 50

    50

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CEDFC7

    oklch(88.4% 0.037 136.5)

  4. Step 300

    300

    #ACCBA0

    oklch(80.8% 0.068 137)

  5. Step 400

    400

    #80B06C

    oklch(70.6% 0.108 136.9)

  6. Step 500

    500

    #5E9C43

    oklch(63% 0.138 137.2)

  7. Step 600

    600 (this color)

    #3A7D12

    oklch(52.5% 0.151 137.1)

  8. Step 700

    700

    #347210

    oklch(49.2% 0.141 137.2)

  9. Step 800

    800

    #2C5D12

    oklch(42.8% 0.117 137.2)

  10. Step 900

    900

    #284C18

    oklch(37.6% 0.09 137.3)

  11. Step 950

    950

    #182D0F

    oklch(27.1% 0.058 137.2)

Export this scale for Tailwind in the Tailwind colors tool

#3A7D12 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)#8171000.095
Deuteranopia (no green cones)#796C200.095
Tritanopia (no blue cones)#36786A0.107
Achromatopsia (no color)#6E6E6E0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A7D12

    #3A7D12

    oklch(52.5% 0.151 137.1)

  • #8C49A3

    #8C49A3

    oklch(52.5% 0.151 316.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A7D12

    #3A7D12

    oklch(52.5% 0.151 137.1)

  • #726E00

    #726E00

    oklch(52.5% 0.113 107.2)

  • #007E5D

    #007E5D

    oklch(52.6% 0.108 166.8)

Open the analogous palette in the generator

Split complementary

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

  • #3A7D12

    #3A7D12

    oklch(52.5% 0.151 137.1)

  • #6758BB

    #6758BB

    oklch(52.5% 0.15 287)

  • #A53E7B

    #A53E7B

    oklch(52.5% 0.152 347)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A7D12

    #3A7D12

    oklch(52.5% 0.151 137.1)

  • #2869BF

    #2869BF

    oklch(52.6% 0.15 256.9)

  • #B03C4A

    #B03C4A

    oklch(52.5% 0.151 17)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A7D12

    #3A7D12

    oklch(52.5% 0.151 137.1)

  • #007598

    #007598

    oklch(52.5% 0.102 227.6)

  • #8C49A3

    #8C49A3

    oklch(52.5% 0.151 316.8)

  • #AB4900

    #AB4900

    oklch(52.6% 0.146 47)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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