#5A7948

Closest named color: Military Green (#667C3E). oklch(53.9% 0.081 134.7), rgb(90, 121, 72).

Aa

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

About this color

#5A7948 is a medium-dark, moderately saturated green. In OKLCH its lightness is 54%, its chroma 0.081 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Military Green (#667C3E), ΔE 0.023 away. White text reads best on it, at 4.92:1.

Hue familyGreens
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameMilitary Green (#667C3E)
Black text4.26:1
White text4.92:1

Values

HEX#5A7948
RGBrgb(90, 121, 72)
HSLhsl(98, 25%, 38%)
OKLCHoklch(53.9% 0.081 134.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 #5A7948 4.92:1 AA Lc -79.5 Fine for body text
Black text on #5A7948 4.26:1 AA large text Lc 30.0 Non-text elements, placeholder text
#5A7948 text on white 4.92:1 AA Lc 74.1 Content text, not long reading
#5A7948 text on black 4.26:1 AA large text Lc -27.6 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

    #F4F6F3

    oklch(97.1% 0.004 134.8)

  2. Step 100

    100

    #E7EBE4

    oklch(93.5% 0.01 131.4)

  3. Step 200

    200

    #D4DCCF

    oklch(88.5% 0.02 133.1)

  4. Step 300

    300

    #B7C6AF

    oklch(80.9% 0.036 134.5)

  5. Step 400

    400

    #91A985

    oklch(70.7% 0.058 135.3)

  6. Step 500

    500

    #769466

    oklch(63.1% 0.075 135)

  7. Step 600

    600 (this color)

    #5A7948

    oklch(53.9% 0.081 134.7)

  8. Step 700

    700

    #4E6A3E

    oklch(49% 0.075 134.8)

  9. Step 800

    800

    #405733

    oklch(42.8% 0.063 134.9)

  10. Step 900

    900

    #36472D

    oklch(37.5% 0.048 135.2)

  11. Step 950

    950

    #202A1A

    oklch(27% 0.032 134.2)

Export this scale for Tailwind in the Tailwind colors tool

#5A7948 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)#7D72440.052
Deuteranopia (no green cones)#786F4B0.052
Tritanopia (no blue cones)#5A756D0.059
Achromatopsia (no color)#7070700.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7948

    #5A7948

    oklch(53.9% 0.081 134.7)

  • #80608F

    #80608F

    oklch(53.9% 0.081 314.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7948

    #5A7948

    oklch(53.9% 0.081 134.7)

  • #767135

    #767135

    oklch(54% 0.081 104.5)

  • #3B7D62

    #3B7D62

    oklch(53.8% 0.081 164.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A7948

    #5A7948

    oklch(53.9% 0.081 134.7)

  • #69689C

    #69689C

    oklch(54% 0.081 284.2)

  • #905B79

    #905B79

    oklch(53.9% 0.08 345.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7948

    #5A7948

    oklch(53.9% 0.081 134.7)

  • #4D709D

    #4D709D

    oklch(53.8% 0.082 255.1)

  • #985A5F

    #985A5F

    oklch(53.9% 0.082 15)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7948

    #5A7948

    oklch(53.9% 0.081 134.7)

  • #307892

    #307892

    oklch(53.9% 0.081 225.3)

  • #80608F

    #80608F

    oklch(53.9% 0.081 314.7)

  • #965F46

    #965F46

    oklch(54% 0.081 45)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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