#4D791F

Closest named color: Olive Green (#677A04). oklch(52.5% 0.128 132.2), rgb(77, 121, 31).

Aa

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

About this color

#4D791F is a medium-dark, moderately saturated green. In OKLCH its lightness is 53%, its chroma 0.128 and its hue 132°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Green (#677A04), ΔE 0.034 away. White text reads best on it, at 5.15:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameOlive Green (#677A04)
Black text4.07:1
White text5.15:1

Values

HEX#4D791F
RGBrgb(77, 121, 31)
HSLhsl(89, 59%, 30%)
OKLCHoklch(52.5% 0.128 132.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 #4D791F 5.15:1 AA Lc -80.7 Fine for body text
Black text on #4D791F 4.07:1 AA large text Lc 28.7 Dividers and decoration only
#4D791F text on white 5.15:1 AA Lc 75.4 Fine for body text
#4D791F text on black 4.07:1 AA large text Lc -26.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 600.

  1. Step 50

    50

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E6ECE1

    oklch(93.5% 0.016 130.4)

  3. Step 200

    200

    #D1DEC8

    oklch(88.5% 0.033 132.3)

  4. Step 300

    300

    #B3C9A3

    oklch(80.9% 0.057 132.2)

  5. Step 400

    400

    #8BAD70

    oklch(70.7% 0.093 132.1)

  6. Step 500

    500

    #6E9849

    oklch(63% 0.118 132.1)

  7. Step 600

    600 (this color)

    #4D791F

    oklch(52.5% 0.128 132.2)

  8. Step 700

    700

    #466E1C

    oklch(49.1% 0.119 132.1)

  9. Step 800

    800

    #3A5A1A

    oklch(42.8% 0.099 132.1)

  10. Step 900

    900

    #324A1C

    oklch(37.8% 0.077 132.1)

  11. Step 950

    950

    #1D2B11

    oklch(26.9% 0.048 132.2)

Export this scale for Tailwind in the Tailwind colors tool

#4D791F 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)#7E6F0F0.071
Deuteranopia (no green cones)#786C270.072
Tritanopia (no blue cones)#4E74670.096
Achromatopsia (no color)#6D6D6D0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D791F

    #4D791F

    oklch(52.5% 0.128 132.2)

  • #83529F

    #83529F

    oklch(52.6% 0.127 312.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D791F

    #4D791F

    oklch(52.5% 0.128 132.2)

  • #776C00

    #776C00

    oklch(52.5% 0.11 102.4)

  • #007E56

    #007E56

    oklch(52.4% 0.114 162.5)

Open the analogous palette in the generator

Split complementary

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

  • #4D791F

    #4D791F

    oklch(52.5% 0.128 132.2)

  • #605EB1

    #605EB1

    oklch(52.4% 0.128 282.1)

  • #9B487F

    #9B487F

    oklch(52.5% 0.13 342.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D791F

    #4D791F

    oklch(52.5% 0.128 132.2)

  • #296CB1

    #296CB1

    oklch(52.4% 0.128 252.2)

  • #A74656

    #A74656

    oklch(52.6% 0.128 12.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D791F

    #4D791F

    oklch(52.5% 0.128 132.2)

  • #007693

    #007693

    oklch(52.5% 0.098 222.8)

  • #83529F

    #83529F

    oklch(52.6% 0.127 312.1)

  • #A54D27

    #A54D27

    oklch(52.5% 0.127 42.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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