#5F8535

Closest named color: Swamp (#698339). oklch(57% 0.117 130.6), rgb(95, 133, 53).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.117)
Temperaturein between
Nearest nameSwamp (#698339)
Black text4.89:1
White text4.29:1

Values

HEX#5F8535
RGBrgb(95, 133, 53)
HSLhsl(89, 43%, 36%)
OKLCHoklch(57% 0.117 130.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 #5F8535 4.29:1 AA large text Lc -75.1 Fine for body text
Black text on #5F8535 4.89:1 AA Lc 34.5 Non-text elements, placeholder text
#5F8535 text on white 4.29:1 AA large text Lc 69.6 Content text, not long reading
#5F8535 text on black 4.89:1 AA Lc -32.1 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

    #E6ECE2

    oklch(93.6% 0.015 132.5)

  3. Step 200

    200

    #D2DDC9

    oklch(88.4% 0.029 130.8)

  4. Step 300

    300

    #B5C8A5

    oklch(80.9% 0.052 130.8)

  5. Step 400

    400

    #8EAC74

    oklch(70.8% 0.085 131.2)

  6. Step 500

    500

    #73974E

    oklch(63.2% 0.109 130.5)

  7. Step 600

    600 (this color)

    #5F8535

    oklch(57% 0.117 130.6)

  8. Step 700

    700

    #4B6D23

    oklch(49.2% 0.109 130.6)

  9. Step 800

    800

    #3D591F

    oklch(42.8% 0.091 131.1)

  10. Step 900

    900

    #34491F

    oklch(37.7% 0.07 131)

  11. Step 950

    950

    #1F2B13

    oklch(27.1% 0.045 130.6)

Export this scale for Tailwind in the Tailwind colors tool

#5F8535 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)#8B7C2D0.064
Deuteranopia (no green cones)#85793B0.064
Tritanopia (no blue cones)#6180740.090
Achromatopsia (no color)#7A7A7A0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F8535

    #5F8535

    oklch(57% 0.117 130.6)

  • #8D62AA

    #8D62AA

    oklch(57% 0.117 310.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F8535

    #5F8535

    oklch(57% 0.117 130.6)

  • #877805

    #877805

    oklch(56.9% 0.117 100.5)

  • #208C60

    #208C60

    oklch(57% 0.117 160.8)

Open the analogous palette in the generator

Split complementary

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

  • #5F8535

    #5F8535

    oklch(57% 0.117 130.6)

  • #6B6EBB

    #6B6EBB

    oklch(57% 0.118 280.3)

  • #A55A8C

    #A55A8C

    oklch(57.1% 0.117 341.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F8535

    #5F8535

    oklch(57% 0.117 130.6)

  • #3C7BBA

    #3C7BBA

    oklch(57.1% 0.117 250.6)

  • #B15767

    #B15767

    oklch(57% 0.118 10.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F8535

    #5F8535

    oklch(57% 0.117 130.6)

  • #0085A2

    #0085A2

    oklch(57.1% 0.104 220.3)

  • #8D62AA

    #8D62AA

    oklch(57% 0.117 310.6)

  • #B05D3E

    #B05D3E

    oklch(57% 0.117 40.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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