#5F8548

Closest named color: Swamp (#698339). oklch(57.3% 0.098 134.6), rgb(95, 133, 72).

Aa

Black text reads best on this color (4.93:1).

About this color

#5F8548 is a medium-dark, moderately saturated green. In OKLCH its lightness is 57%, its chroma 0.098 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp (#698339), ΔE 0.018 away. Black text reads best on it, at 4.93:1.

Hue familyGreens
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.93:1
White text4.25:1

Values

HEX#5F8548
RGBrgb(95, 133, 72)
HSLhsl(97, 30%, 40%)
OKLCHoklch(57.3% 0.098 134.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 #5F8548 4.25:1 AA large text Lc -74.8 Content text, not long reading
Black text on #5F8548 4.93:1 AA Lc 34.8 Non-text elements, placeholder text
#5F8548 text on white 4.25:1 AA large text Lc 69.3 Content text, not long reading
#5F8548 text on black 4.93:1 AA Lc -32.3 Non-text elements, placeholder text

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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E6ECE3

    oklch(93.6% 0.014 134.9)

  3. Step 200

    200

    #D2DDCD

    oklch(88.5% 0.025 135.7)

  4. Step 300

    300

    #B5C7AB

    oklch(80.8% 0.043 134.3)

  5. Step 400

    400

    #8EAB7E

    oklch(70.7% 0.071 134.7)

  6. Step 500

    500

    #72965D

    oklch(63.2% 0.091 134.6)

  7. Step 600

    600 (this color)

    #5F8548

    oklch(57.3% 0.098 134.6)

  8. Step 700

    700

    #4A6C35

    oklch(49.1% 0.091 134.7)

  9. Step 800

    800

    #3D582C

    oklch(42.7% 0.075 134.4)

  10. Step 900

    900

    #344928

    oklch(37.8% 0.06 134.9)

  11. Step 950

    950

    #1F2B18

    oklch(27.2% 0.038 134.5)

Export this scale for Tailwind in the Tailwind colors tool

#5F8548 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)#897D430.060
Deuteranopia (no green cones)#84794C0.062
Tritanopia (no blue cones)#5F81760.070
Achromatopsia (no color)#7B7B7B0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F8548

    #5F8548

    oklch(57.3% 0.098 134.6)

  • #8E66A0

    #8E66A0

    oklch(57.3% 0.098 314.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F8548

    #5F8548

    oklch(57.3% 0.098 134.6)

  • #817B2E

    #817B2E

    oklch(57.2% 0.098 104.9)

  • #348A69

    #348A69

    oklch(57.2% 0.098 164.6)

Open the analogous palette in the generator

Split complementary

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

  • #5F8548

    #5F8548

    oklch(57.3% 0.098 134.6)

  • #7270B0

    #7270B0

    oklch(57.4% 0.097 284.3)

  • #A16086

    #A16086

    oklch(57.4% 0.098 344.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F8548

    #5F8548

    oklch(57.3% 0.098 134.6)

  • #4F7AB1

    #4F7AB1

    oklch(57.2% 0.098 255.1)

  • #AA5F66

    #AA5F66

    oklch(57.3% 0.098 14.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F8548

    #5F8548

    oklch(57.3% 0.098 134.6)

  • #2284A3

    #2284A3

    oklch(57.3% 0.098 224.3)

  • #8E66A0

    #8E66A0

    oklch(57.3% 0.098 314.9)

  • #A86446

    #A86446

    oklch(57.3% 0.098 44.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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