#4C8F27

Closest named color: Sap Green (#5C8B15). oklch(58.4% 0.153 136.7), rgb(76, 143, 39).

Aa

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

About this color

#4C8F27 is a medium-dark, vivid green. In OKLCH its lightness is 58%, its chroma 0.153 and its hue 137°. 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 5.26:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromavivid (0.153)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text5.26:1
White text3.98:1

Values

HEX#4C8F27
RGBrgb(76, 143, 39)
HSLhsl(99, 57%, 36%)
OKLCHoklch(58.4% 0.153 136.7)

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 #4C8F27 3.98:1 AA large text Lc -72.4 Content text, not long reading
Black text on #4C8F27 5.26:1 AA Lc 37.1 Non-text elements, placeholder text
#4C8F27 text on white 3.98:1 AA large text Lc 66.9 Content text, not long reading
#4C8F27 text on black 5.26:1 AA Lc -34.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

    #CEDFC7

    oklch(88.4% 0.037 136.5)

  4. Step 300

    300

    #ACCBA0

    oklch(80.8% 0.068 137)

  5. Step 400

    400

    #80B06B

    oklch(70.6% 0.109 136.6)

  6. Step 500

    500

    #5F9C41

    oklch(63.1% 0.14 136.6)

  7. Step 600

    600 (this color)

    #4C8F27

    oklch(58.4% 0.153 136.7)

  8. Step 700

    700

    #35720C

    oklch(49.2% 0.142 136.7)

  9. Step 800

    800

    #2D5D10

    oklch(42.8% 0.118 136.6)

  10. Step 900

    900

    #284C16

    oklch(37.6% 0.092 136.8)

  11. Step 950

    950

    #182D0E

    oklch(27.1% 0.059 136.7)

Export this scale for Tailwind in the Tailwind colors tool

#4C8F27 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)#9483160.095
Deuteranopia (no green cones)#8B7D310.096
Tritanopia (no blue cones)#498A7B0.109
Achromatopsia (no color)#7F7F7F0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #4C8F27

    #4C8F27

    oklch(58.4% 0.153 136.7)

  • #9F5AB7

    #9F5AB7

    oklch(58.4% 0.154 316.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4C8F27

    #4C8F27

    oklch(58.4% 0.153 136.7)

  • #857F00

    #857F00

    oklch(58.3% 0.125 106.4)

  • #00926C

    #00926C

    oklch(58.5% 0.121 166.6)

Open the analogous palette in the generator

Split complementary

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

  • #4C8F27

    #4C8F27

    oklch(58.4% 0.153 136.7)

  • #776AD0

    #776AD0

    oklch(58.5% 0.152 286.6)

  • #B9508D

    #B9508D

    oklch(58.4% 0.152 346.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4C8F27

    #4C8F27

    oklch(58.4% 0.153 136.7)

  • #387BD4

    #387BD4

    oklch(58.5% 0.153 256.6)

  • #C54E5B

    #C54E5B

    oklch(58.4% 0.152 16.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4C8F27

    #4C8F27

    oklch(58.4% 0.153 136.7)

  • #0088AF

    #0088AF

    oklch(58.4% 0.113 226.9)

  • #9F5AB7

    #9F5AB7

    oklch(58.4% 0.154 316.8)

  • #C15817

    #C15817

    oklch(58.3% 0.152 46.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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