#5D7A1F

Closest named color: Olive Green (#677A04). oklch(53.8% 0.121 125.8), rgb(93, 122, 31).

Aa

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

About this color

#5D7A1F is a medium-dark, moderately saturated green. In OKLCH its lightness is 54%, its chroma 0.121 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Green (#677A04), ΔE 0.016 away. White text reads best on it, at 4.91:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameOlive Green (#677A04)
Black text4.26:1
White text4.91:1

Values

HEX#5D7A1F
RGBrgb(93, 122, 31)
HSLhsl(79, 59%, 30%)
OKLCHoklch(53.8% 0.121 125.8)

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 #5D7A1F 4.91:1 AA Lc -79.4 Fine for body text
Black text on #5D7A1F 4.26:1 AA large text Lc 30.1 Non-text elements, placeholder text
#5D7A1F text on white 4.91:1 AA Lc 73.9 Content text, not long reading
#5D7A1F text on black 4.26:1 AA large text Lc -27.8 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE1

    oklch(93.6% 0.016 126.8)

  3. Step 200

    200

    #D4DDC8

    oklch(88.5% 0.03 126)

  4. Step 300

    300

    #B8C7A2

    oklch(80.8% 0.053 125.5)

  5. Step 400

    400

    #93AB6E

    oklch(70.8% 0.088 126)

  6. Step 500

    500

    #799546

    oklch(63% 0.111 125.6)

  7. Step 600

    600 (this color)

    #5D7A1F

    oklch(53.8% 0.121 125.8)

  8. Step 700

    700

    #516B17

    oklch(49% 0.112 125.7)

  9. Step 800

    800

    #425817

    oklch(42.8% 0.094 126.3)

  10. Step 900

    900

    #38481A

    oklch(37.6% 0.072 125.8)

  11. Step 950

    950

    #212A10

    oklch(26.9% 0.045 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#5D7A1F 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)#81720F0.054
Deuteranopia (no green cones)#7D70270.056
Tritanopia (no blue cones)#6174680.097
Achromatopsia (no color)#7070700.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #5D7A1F

    #5D7A1F

    oklch(53.8% 0.121 125.8)

  • #805AA5

    #805AA5

    oklch(53.9% 0.12 306.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5D7A1F

    #5D7A1F

    oklch(53.8% 0.121 125.8)

  • #826D00

    #826D00

    oklch(53.9% 0.111 95.7)

  • #1C824F

    #1C824F

    oklch(53.8% 0.12 155.8)

Open the analogous palette in the generator

Split complementary

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

  • #5D7A1F

    #5D7A1F

    oklch(53.8% 0.121 125.8)

  • #5C66B3

    #5C66B3

    oklch(53.8% 0.12 276)

  • #995089

    #995089

    oklch(53.9% 0.122 336)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5D7A1F

    #5D7A1F

    oklch(53.8% 0.121 125.8)

  • #2273AF

    #2273AF

    oklch(53.7% 0.121 245.7)

  • #A74C64

    #A74C64

    oklch(53.9% 0.122 5.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5D7A1F

    #5D7A1F

    oklch(53.8% 0.121 125.8)

  • #007B91

    #007B91

    oklch(53.7% 0.095 216)

  • #805AA5

    #805AA5

    oklch(53.9% 0.12 306.1)

  • #A8513A

    #A8513A

    oklch(53.8% 0.12 35.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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