#5A712F

Closest named color: Muddy Green (#657432). oklch(51.5% 0.096 125.7), rgb(90, 113, 47).

Aa

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

About this color

#5A712F is a medium-dark, moderately saturated green. In OKLCH its lightness is 51%, its chroma 0.096 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Muddy Green (#657432), ΔE 0.019 away. White text reads best on it, at 5.47:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameMuddy Green (#657432)
Black text3.83:1
White text5.47:1

Values

HEX#5A712F
RGBrgb(90, 113, 47)
HSLhsl(81, 41%, 31%)
OKLCHoklch(51.5% 0.096 125.7)

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 #5A712F 5.47:1 AA Lc -82.5 Fine for body text
Black text on #5A712F 3.83:1 AA large text Lc 26.8 Dividers and decoration only
#5A712F text on white 5.47:1 AA Lc 77.2 Fine for body text
#5A712F text on black 3.83:1 AA large text Lc -24.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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E7ECE2

    oklch(93.7% 0.014 128.6)

  3. Step 200

    200

    #D5DCCA

    oklch(88.4% 0.025 124.3)

  4. Step 300

    300

    #B9C6A6

    oklch(80.8% 0.046 125.4)

  5. Step 400

    400

    #95A976

    oklch(70.6% 0.074 125.6)

  6. Step 500

    500

    #7B9452

    oklch(63.1% 0.096 126)

  7. Step 600

    600

    #657E36

    oklch(55.7% 0.103 125.6)

  8. Step 700

    700 (this color)

    #5A712F

    oklch(51.5% 0.096 125.7)

  9. Step 800

    800

    #445722

    oklch(42.8% 0.081 126.1)

  10. Step 900

    900

    #3A4721

    oklch(37.6% 0.061 124.8)

  11. Step 950

    950

    #222A14

    oklch(27.1% 0.039 125.3)

Export this scale for Tailwind in the Tailwind colors tool

#5A712F 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)#776A280.045
Deuteranopia (no green cones)#7469330.046
Tritanopia (no blue cones)#5D6C620.077
Achromatopsia (no color)#6969690.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A712F

    #5A712F

    oklch(51.5% 0.096 125.7)

  • #755893

    #755893

    oklch(51.5% 0.096 305.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A712F

    #5A712F

    oklch(51.5% 0.096 125.7)

  • #786718

    #786718

    oklch(51.6% 0.096 96.3)

  • #31784F

    #31784F

    oklch(51.6% 0.097 155.4)

Open the analogous palette in the generator

Split complementary

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

  • #5A712F

    #5A712F

    oklch(51.5% 0.096 125.7)

  • #58629E

    #58629E

    oklch(51.5% 0.096 275.3)

  • #89517D

    #89517D

    oklch(51.5% 0.096 335.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A712F

    #5A712F

    oklch(51.5% 0.096 125.7)

  • #326C9B

    #326C9B

    oklch(51.4% 0.096 245.7)

  • #954E5F

    #954E5F

    oklch(51.5% 0.097 5.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A712F

    #5A712F

    oklch(51.5% 0.096 125.7)

  • #007488

    #007488

    oklch(51.5% 0.091 215.2)

  • #755893

    #755893

    oklch(51.5% 0.096 305.9)

  • #965240

    #965240

    oklch(51.5% 0.095 35.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5A712F 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.