#4C871F

Closest named color: Sap Green (#5C8B15). oklch(56.2% 0.147 134.9), rgb(76, 135, 31).

Aa

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

About this color

#4C871F is a medium-dark, vivid green. In OKLCH its lightness is 56%, its chroma 0.147 and its hue 135°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Sap Green (#5C8B15), ΔE 0.023 away. Black text reads best on it, at 4.79:1.

Hue familyGreens
Lightnessmedium-dark (56%)
Chromavivid (0.147)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text4.79:1
White text4.38:1

Values

HEX#4C871F
RGBrgb(76, 135, 31)
HSLhsl(94, 63%, 33%)
OKLCHoklch(56.2% 0.147 134.9)

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 #4C871F 4.38:1 AA large text Lc -75.6 Fine for body text
Black text on #4C871F 4.79:1 AA Lc 34.0 Non-text elements, placeholder text
#4C871F text on white 4.38:1 AA large text Lc 70.1 Content text, not long reading
#4C871F text on black 4.79:1 AA Lc -31.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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CFDFC7

    oklch(88.5% 0.037 135)

  4. Step 300

    300

    #AFCBA0

    oklch(81% 0.066 134.7)

  5. Step 400

    400

    #84AF6B

    oklch(70.6% 0.105 134.7)

  6. Step 500

    500

    #649B41

    oklch(63.1% 0.136 134.9)

  7. Step 600

    600 (this color)

    #4C871F

    oklch(56.2% 0.147 134.9)

  8. Step 700

    700

    #3B710C

    oklch(49.2% 0.138 135)

  9. Step 800

    800

    #315C10

    oklch(42.7% 0.114 135)

  10. Step 900

    900

    #2C4B16

    oklch(37.6% 0.088 134.6)

  11. Step 950

    950

    #1A2C0F

    oklch(26.9% 0.055 135)

Export this scale for Tailwind in the Tailwind colors tool

#4C871F 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)#8C7C080.087
Deuteranopia (no green cones)#84772A0.088
Tritanopia (no blue cones)#4B82730.106
Achromatopsia (no color)#7979790.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C871F

    #4C871F

    oklch(56.2% 0.147 134.9)

  • #9556B0

    #9556B0

    oklch(56.2% 0.148 314.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C871F

    #4C871F

    oklch(56.2% 0.147 134.9)

  • #807800

    #807800

    oklch(56.2% 0.119 105)

  • #008A63

    #008A63

    oklch(56.1% 0.118 164.9)

Open the analogous palette in the generator

Split complementary

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

  • #4C871F

    #4C871F

    oklch(56.2% 0.147 134.9)

  • #6E65C7

    #6E65C7

    oklch(56.3% 0.147 284.8)

  • #AF4C89

    #AF4C89

    oklch(56.3% 0.147 344.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C871F

    #4C871F

    oklch(56.2% 0.147 134.9)

  • #2F75C9

    #2F75C9

    oklch(56.2% 0.148 255.1)

  • #BB4959

    #BB4959

    oklch(56.2% 0.147 14.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C871F

    #4C871F

    oklch(56.2% 0.147 134.9)

  • #0081A4

    #0081A4

    oklch(56.1% 0.107 225.4)

  • #9556B0

    #9556B0

    oklch(56.2% 0.148 314.9)

  • #B9521A

    #B9521A

    oklch(56.2% 0.148 44.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4C871F 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.