#4C8A1F

Closest named color: Sap Green (#5C8B15). oklch(57% 0.151 135.3), rgb(76, 138, 31).

Aa

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

About this color

#4C8A1F is a medium-dark, vivid green. In OKLCH its lightness is 57%, its chroma 0.151 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.018 away. Black text reads best on it, at 4.96:1.

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

Values

HEX#4C8A1F
RGBrgb(76, 138, 31)
HSLhsl(95, 63%, 33%)
OKLCHoklch(57% 0.151 135.3)

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 #4C8A1F 4.23:1 AA large text Lc -74.5 Content text, not long reading
Black text on #4C8A1F 4.96:1 AA Lc 35.1 Non-text elements, placeholder text
#4C8A1F text on white 4.23:1 AA large text Lc 69.0 Content text, not long reading
#4C8A1F text on black 4.96:1 AA Lc -32.7 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

    #CFDFC6

    oklch(88.5% 0.038 134.1)

  4. Step 300

    300

    #AECB9F

    oklch(80.9% 0.068 135)

  5. Step 400

    400

    #82B06A

    oklch(70.7% 0.109 135.5)

  6. Step 500

    500

    #629C3F

    oklch(63.2% 0.14 135.3)

  7. Step 600

    600 (this color)

    #4C8A1F

    oklch(57% 0.151 135.3)

  8. Step 700

    700

    #397107

    oklch(49.1% 0.141 135.3)

  9. Step 800

    800

    #305C0E

    oklch(42.7% 0.116 135.2)

  10. Step 900

    900

    #2B4C15

    oklch(37.8% 0.091 135.1)

  11. Step 950

    950

    #192C0E

    oklch(26.8% 0.057 135.5)

Export this scale for Tailwind in the Tailwind colors tool

#4C8A1F 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)#8F7E060.090
Deuteranopia (no green cones)#87792A0.092
Tritanopia (no blue cones)#4A85760.109
Achromatopsia (no color)#7B7B7B0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C8A1F

    #4C8A1F

    oklch(57% 0.151 135.3)

  • #9957B3

    #9957B3

    oklch(57% 0.152 315.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C8A1F

    #4C8A1F

    oklch(57% 0.151 135.3)

  • #827B00

    #827B00

    oklch(57.1% 0.122 105.7)

  • #008D66

    #008D66

    oklch(57% 0.119 165.3)

Open the analogous palette in the generator

Split complementary

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

  • #4C8A1F

    #4C8A1F

    oklch(57% 0.151 135.3)

  • #7166CB

    #7166CB

    oklch(56.9% 0.151 285.5)

  • #B34C8B

    #B34C8B

    oklch(57% 0.152 345.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C8A1F

    #4C8A1F

    oklch(57% 0.151 135.3)

  • #3077CE

    #3077CE

    oklch(57% 0.152 255.4)

  • #C04A5A

    #C04A5A

    oklch(57.1% 0.151 15.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C8A1F

    #4C8A1F

    oklch(57% 0.151 135.3)

  • #0084A7

    #0084A7

    oklch(57% 0.108 224.9)

  • #9957B3

    #9957B3

    oklch(57% 0.152 315.7)

  • #BD5417

    #BD5417

    oklch(57.1% 0.151 45.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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