#3A7F1C

Closest named color: Dark Grass Green (#388004). oklch(53.1% 0.148 138.2), rgb(58, 127, 28).

Aa

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

About this color

#3A7F1C is a medium-dark, vivid green. In OKLCH its lightness is 53%, its chroma 0.148 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Grass Green (#388004), ΔE 0.012 away. White text reads best on it, at 4.96:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromavivid (0.148)
Temperaturein between
Nearest nameDark Grass Green (#388004)
Black text4.23:1
White text4.96:1

Values

HEX#3A7F1C
RGBrgb(58, 127, 28)
HSLhsl(102, 64%, 30%)
OKLCHoklch(53.1% 0.148 138.2)

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 #3A7F1C 4.96:1 AA Lc -79.4 Fine for body text
Black text on #3A7F1C 4.23:1 AA large text Lc 30.1 Non-text elements, placeholder text
#3A7F1C text on white 4.96:1 AA Lc 74.0 Content text, not long reading
#3A7F1C text on black 4.23:1 AA large text Lc -27.7 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

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CEDFC8

    oklch(88.5% 0.036 137.5)

  4. Step 300

    300

    #ACCBA2

    oklch(80.8% 0.066 138.1)

  5. Step 400

    400

    #7FB16E

    oklch(70.8% 0.108 138)

  6. Step 500

    500

    #5D9C46

    oklch(63% 0.136 138)

  7. Step 600

    600 (this color)

    #3A7F1C

    oklch(53.1% 0.148 138.2)

  8. Step 700

    700

    #337217

    oklch(49.2% 0.138 138.2)

  9. Step 800

    800

    #2B5D17

    oklch(42.8% 0.114 138.3)

  10. Step 900

    900

    #274C1A

    oklch(37.6% 0.089 138.4)

  11. Step 950

    950

    #182D10

    oklch(27.1% 0.057 137.8)

Export this scale for Tailwind in the Tailwind colors tool

#3A7F1C 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)#8373060.095
Deuteranopia (no green cones)#7A6E270.096
Tritanopia (no blue cones)#347A6C0.103
Achromatopsia (no color)#7070700.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #3A7F1C

    #3A7F1C

    oklch(53.1% 0.148 138.2)

  • #8F4BA3

    #8F4BA3

    oklch(53.1% 0.149 318.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3A7F1C

    #3A7F1C

    oklch(53.1% 0.148 138.2)

  • #737000

    #737000

    oklch(53.1% 0.114 107.9)

  • #008060

    #008060

    oklch(53.3% 0.108 167.7)

Open the analogous palette in the generator

Split complementary

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

  • #3A7F1C

    #3A7F1C

    oklch(53.1% 0.148 138.2)

  • #6A5ABC

    #6A5ABC

    oklch(53.2% 0.148 287.8)

  • #A7417B

    #A7417B

    oklch(53.2% 0.149 348.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3A7F1C

    #3A7F1C

    oklch(53.1% 0.148 138.2)

  • #2F6AC0

    #2F6AC0

    oklch(53.1% 0.148 258.1)

  • #B23F4A

    #B23F4A

    oklch(53.2% 0.149 18.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3A7F1C

    #3A7F1C

    oklch(53.1% 0.148 138.2)

  • #00779B

    #00779B

    oklch(53.2% 0.104 227.9)

  • #8F4BA3

    #8F4BA3

    oklch(53.1% 0.149 318.1)

  • #AC4C00

    #AC4C00

    oklch(53.2% 0.144 48.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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