#4D7040

Closest named color: Dark Olive Green (#556B2F). oklch(50.6% 0.083 137.6), rgb(77, 112, 64).

Aa

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

About this color

#4D7040 is a medium-dark, moderately saturated green. In OKLCH its lightness is 51%, its chroma 0.083 and its hue 138°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.021 away. White text reads best on it, at 5.66:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.083)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.70:1
White text5.66:1

Values

HEX#4D7040
RGBrgb(77, 112, 64)
HSLhsl(104, 27%, 35%)
OKLCHoklch(50.6% 0.083 137.6)

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 #4D7040 5.66:1 AA Lc -83.5 Fine for body text
Black text on #4D7040 3.70:1 AA large text Lc 25.8 Dividers and decoration only
#4D7040 text on white 5.66:1 AA Lc 78.3 Fine for body text
#4D7040 text on black 3.70:1 AA large text Lc -23.5 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

    #F4F6F3

    oklch(97.1% 0.004 134.8)

  2. Step 100

    100

    #E6ECE4

    oklch(93.6% 0.012 137.8)

  3. Step 200

    200

    #D2DDCF

    oklch(88.5% 0.022 139)

  4. Step 300

    300

    #B4C7AE

    oklch(80.8% 0.04 138.2)

  5. Step 400

    400

    #8EAA83

    oklch(70.6% 0.064 136.9)

  6. Step 500

    500

    #719564

    oklch(63% 0.082 137.6)

  7. Step 600

    600

    #59804B

    oklch(55.7% 0.09 137.8)

  8. Step 700

    700 (this color)

    #4D7040

    oklch(50.6% 0.083 137.6)

  9. Step 800

    800

    #3C5832

    oklch(42.7% 0.069 137.8)

  10. Step 900

    900

    #34482C

    oklch(37.6% 0.052 137.1)

  11. Step 950

    950

    #1E2A1A

    oklch(26.9% 0.033 138)

Export this scale for Tailwind in the Tailwind colors tool

#4D7040 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)#73693C0.056
Deuteranopia (no green cones)#6E66430.055
Tritanopia (no blue cones)#4C6D640.057
Achromatopsia (no color)#6767670.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #4D7040

    #4D7040

    oklch(50.6% 0.083 137.6)

  • #785584

    #785584

    oklch(50.5% 0.083 317.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4D7040

    #4D7040

    oklch(50.6% 0.083 137.6)

  • #6A682B

    #6A682B

    oklch(50.6% 0.082 107.3)

  • #2B745B

    #2B745B

    oklch(50.6% 0.083 167.2)

Open the analogous palette in the generator

Split complementary

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

  • #4D7040

    #4D7040

    oklch(50.6% 0.083 137.6)

  • #625D92

    #625D92

    oklch(50.6% 0.083 287.3)

  • #88516E

    #88516E

    oklch(50.7% 0.083 347.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4D7040

    #4D7040

    oklch(50.6% 0.083 137.6)

  • #466694

    #466694

    oklch(50.6% 0.083 257.4)

  • #8E5053

    #8E5053

    oklch(50.5% 0.083 17.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4D7040

    #4D7040

    oklch(50.6% 0.083 137.6)

  • #256E8A

    #256E8A

    oklch(50.6% 0.083 227.6)

  • #785584

    #785584

    oklch(50.5% 0.083 317.2)

  • #8B5539

    #8B5539

    oklch(50.4% 0.083 47.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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