#5C871A

Closest named color: Sap Green (#5C8B15). oklch(57.1% 0.141 129.5), rgb(92, 135, 26).

Aa

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

About this color

#5C871A is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.141 and its hue 130°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.013 away. Black text reads best on it, at 4.93:1.

Hue familyGreens
Lightnessmedium-dark (57%)
Chromavivid (0.141)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text4.93:1
White text4.25:1

Values

HEX#5C871A
RGBrgb(92, 135, 26)
HSLhsl(84, 68%, 32%)
OKLCHoklch(57.1% 0.141 129.5)

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 #5C871A 4.25:1 AA large text Lc -74.7 Content text, not long reading
Black text on #5C871A 4.93:1 AA Lc 34.9 Non-text elements, placeholder text
#5C871A text on white 4.25:1 AA large text Lc 69.2 Content text, not long reading
#5C871A text on black 4.93:1 AA Lc -32.5 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

    #F4F7F1

    oklch(97.2% 0.009 128.6)

  2. Step 100

    100

    #E6ECE0

    oklch(93.5% 0.017 128.7)

  3. Step 200

    200

    #D2DEC6

    oklch(88.5% 0.035 128.9)

  4. Step 300

    300

    #B3C99E

    oklch(80.8% 0.063 129.8)

  5. Step 400

    400

    #8CAD68

    oklch(70.6% 0.101 129.5)

  6. Step 500

    500

    #70983C

    oklch(63% 0.129 129.3)

  7. Step 600

    600 (this color)

    #5C871A

    oklch(57.1% 0.141 129.5)

  8. Step 700

    700

    #486E00

    oklch(49.1% 0.131 129.4)

  9. Step 800

    800

    #3B5A09

    oklch(42.7% 0.109 129.6)

  10. Step 900

    900

    #334A13

    oklch(37.7% 0.085 129.3)

  11. Step 950

    950

    #1E2B0D

    oklch(26.9% 0.053 129)

Export this scale for Tailwind in the Tailwind colors tool

#5C871A 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)#8E7D000.072
Deuteranopia (no green cones)#887A260.073
Tritanopia (no blue cones)#5F81730.110
Achromatopsia (no color)#7B7B7B0.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #5C871A

    #5C871A

    oklch(57.1% 0.141 129.5)

  • #915DB6

    #915DB6

    oklch(57.2% 0.142 309.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5C871A

    #5C871A

    oklch(57.1% 0.141 129.5)

  • #897800

    #897800

    oklch(57.1% 0.118 99.4)

  • #008E5C

    #008E5C

    oklch(57.1% 0.129 159.8)

Open the analogous palette in the generator

Split complementary

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

  • #5C871A

    #5C871A

    oklch(57.1% 0.141 129.5)

  • #686BC9

    #686BC9

    oklch(57.1% 0.142 279.5)

  • #AC5292

    #AC5292

    oklch(57.1% 0.141 339.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5C871A

    #5C871A

    oklch(57.1% 0.141 129.5)

  • #247BC7

    #247BC7

    oklch(57.1% 0.142 249.7)

  • #BB4E65

    #BB4E65

    oklch(57.1% 0.142 9.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5C871A

    #5C871A

    oklch(57.1% 0.141 129.5)

  • #0085A1

    #0085A1

    oklch(57% 0.103 219.5)

  • #915DB6

    #915DB6

    oklch(57.2% 0.142 309.6)

  • #BB5530

    #BB5530

    oklch(57.2% 0.141 39.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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