#5B7B2A

Closest named color: Olive Green (#677A04). oklch(54.1% 0.115 128.1), rgb(91, 123, 42).

Aa

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

About this color

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

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

Values

HEX#5B7B2A
RGBrgb(91, 123, 42)
HSLhsl(84, 49%, 32%)
OKLCHoklch(54.1% 0.115 128.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 #5B7B2A 4.87:1 AA Lc -79.1 Fine for body text
Black text on #5B7B2A 4.31:1 AA large text Lc 30.4 Non-text elements, placeholder text
#5B7B2A text on white 4.87:1 AA Lc 73.6 Content text, not long reading
#5B7B2A text on black 4.31:1 AA large text Lc -28.0 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

    #D3DDC9

    oklch(88.4% 0.029 128.8)

  4. Step 300

    300

    #B7C7A4

    oklch(80.8% 0.051 127.5)

  5. Step 400

    400

    #91AB73

    oklch(70.7% 0.083 128.6)

  6. Step 500

    500

    #77964D

    oklch(63.2% 0.106 128)

  7. Step 600

    600 (this color)

    #5B7B2A

    oklch(54.1% 0.115 128.1)

  8. Step 700

    700

    #4F6C21

    oklch(49.2% 0.107 128)

  9. Step 800

    800

    #41581E

    oklch(42.8% 0.088 128)

  10. Step 900

    900

    #37481E

    oklch(37.6% 0.068 127.6)

  11. Step 950

    950

    #202A12

    oklch(26.8% 0.043 127.6)

Export this scale for Tailwind in the Tailwind colors tool

#5B7B2A 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)#8173200.057
Deuteranopia (no green cones)#7D71300.058
Tritanopia (no blue cones)#5E766A0.089
Achromatopsia (no color)#7171710.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #5B7B2A

    #5B7B2A

    oklch(54.1% 0.115 128.1)

  • #825BA2

    #825BA2

    oklch(54.2% 0.115 308.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5B7B2A

    #5B7B2A

    oklch(54.1% 0.115 128.1)

  • #806F00

    #806F00

    oklch(54.1% 0.112 98.6)

  • #1F8255

    #1F8255

    oklch(54% 0.114 158.4)

Open the analogous palette in the generator

Split complementary

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

  • #5B7B2A

    #5B7B2A

    oklch(54.1% 0.115 128.1)

  • #6066B0

    #6066B0

    oklch(53.9% 0.115 278.3)

  • #995286

    #995286

    oklch(54.1% 0.116 338)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5B7B2A

    #5B7B2A

    oklch(54.1% 0.115 128.1)

  • #2F73AE

    #2F73AE

    oklch(54.1% 0.115 248)

  • #A54F62

    #A54F62

    oklch(54% 0.115 7.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5B7B2A

    #5B7B2A

    oklch(54.1% 0.115 128.1)

  • #007C94

    #007C94

    oklch(54.1% 0.097 217.6)

  • #825BA2

    #825BA2

    oklch(54.2% 0.115 308.3)

  • #A6543A

    #A6543A

    oklch(54% 0.115 38.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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