#4C771F

Closest named color: Tree Green (#2A7E19). oklch(51.9% 0.126 132.1), rgb(76, 119, 31).

Aa

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

About this color

#4C771F is a medium-dark, moderately saturated green. In OKLCH its lightness is 52%, its chroma 0.126 and its hue 132°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.037 away. White text reads best on it, at 5.29:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.96:1
White text5.29:1

Values

HEX#4C771F
RGBrgb(76, 119, 31)
HSLhsl(89, 59%, 29%)
OKLCHoklch(51.9% 0.126 132.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 #4C771F 5.29:1 AA Lc -81.5 Fine for body text
Black text on #4C771F 3.96:1 AA large text Lc 27.9 Dividers and decoration only
#4C771F text on white 5.29:1 AA Lc 76.2 Fine for body text
#4C771F text on black 3.96:1 AA large text Lc -25.6 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

    #E5EDE1

    oklch(93.7% 0.018 134.9)

  3. Step 200

    200

    #D1DEC7

    oklch(88.4% 0.034 131.4)

  4. Step 300

    300

    #B2C9A1

    oklch(80.8% 0.06 132.1)

  5. Step 400

    400

    #8AAE6D

    oklch(70.8% 0.098 132)

  6. Step 500

    500

    #6C9945

    oklch(63.1% 0.125 132.4)

  7. Step 600

    600

    #548322

    oklch(55.6% 0.136 132.1)

  8. Step 700

    700 (this color)

    #4C771F

    oklch(51.9% 0.126 132.1)

  9. Step 800

    800

    #385A15

    oklch(42.6% 0.104 132.3)

  10. Step 900

    900

    #314A19

    oklch(37.7% 0.08 131.9)

  11. Step 950

    950

    #1D2C10

    oklch(27.2% 0.052 132.2)

Export this scale for Tailwind in the Tailwind colors tool

#4C771F 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)#7C6E100.069
Deuteranopia (no green cones)#766A270.071
Tritanopia (no blue cones)#4D72660.095
Achromatopsia (no color)#6B6B6B0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C771F

    #4C771F

    oklch(51.9% 0.126 132.1)

  • #81509C

    #81509C

    oklch(51.8% 0.126 312.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C771F

    #4C771F

    oklch(51.9% 0.126 132.1)

  • #756A00

    #756A00

    oklch(51.8% 0.109 102.3)

  • #007C54

    #007C54

    oklch(51.8% 0.113 162.1)

Open the analogous palette in the generator

Split complementary

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

  • #4C771F

    #4C771F

    oklch(51.9% 0.126 132.1)

  • #5F5DAE

    #5F5DAE

    oklch(51.9% 0.125 282.2)

  • #98487D

    #98487D

    oklch(52% 0.125 342)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C771F

    #4C771F

    oklch(51.9% 0.126 132.1)

  • #296BAE

    #296BAE

    oklch(52% 0.125 251.8)

  • #A44555

    #A44555

    oklch(52% 0.126 12.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C771F

    #4C771F

    oklch(51.9% 0.126 132.1)

  • #007490

    #007490

    oklch(51.8% 0.096 222.3)

  • #81509C

    #81509C

    oklch(51.8% 0.126 312.5)

  • #A34C27

    #A34C27

    oklch(52% 0.126 42.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4C771F 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.