#508D27

Closest named color: Sap Green (#5C8B15). oklch(58.1% 0.148 135.4), rgb(80, 141, 39).

Aa

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

About this color

#508D27 is a medium-dark, vivid green. In OKLCH its lightness is 58%, its chroma 0.148 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.014 away. Black text reads best on it, at 5.18:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromavivid (0.148)
Temperaturein between
Nearest nameSap Green (#5C8B15)
Black text5.18:1
White text4.05:1

Values

HEX#508D27
RGBrgb(80, 141, 39)
HSLhsl(96, 57%, 35%)
OKLCHoklch(58.1% 0.148 135.4)

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 #508D27 4.05:1 AA large text Lc -73.0 Content text, not long reading
Black text on #508D27 5.18:1 AA Lc 36.6 Non-text elements, placeholder text
#508D27 text on white 4.05:1 AA large text Lc 67.5 Content text, not long reading
#508D27 text on black 5.18:1 AA Lc -34.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

    #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

    #AECBA0

    oklch(80.9% 0.067 135.5)

  5. Step 400

    400

    #83B06B

    oklch(70.8% 0.107 135.3)

  6. Step 500

    500

    #639B42

    oklch(63% 0.135 135.4)

  7. Step 600

    600 (this color)

    #508D27

    oklch(58.1% 0.148 135.4)

  8. Step 700

    700

    #3A710E

    oklch(49.2% 0.137 135.4)

  9. Step 800

    800

    #305C11

    oklch(42.7% 0.114 135.5)

  10. Step 900

    900

    #2B4C17

    oklch(37.8% 0.089 135.6)

  11. Step 950

    950

    #1A2C0F

    oklch(26.9% 0.055 135)

Export this scale for Tailwind in the Tailwind colors tool

#508D27 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)#9281160.089
Deuteranopia (no green cones)#8A7C310.091
Tritanopia (no blue cones)#4E88790.106
Achromatopsia (no color)#7E7E7E0.148

Harmonies

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

Complementary

The opposite hue (180°).

  • #508D27

    #508D27

    oklch(58.1% 0.148 135.4)

  • #9B5BB5

    #9B5BB5

    oklch(58% 0.148 315.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #508D27

    #508D27

    oklch(58.1% 0.148 135.4)

  • #857E00

    #857E00

    oklch(58.1% 0.124 105.8)

  • #009169

    #009169

    oklch(58.2% 0.122 165.3)

Open the analogous palette in the generator

Split complementary

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

  • #508D27

    #508D27

    oklch(58.1% 0.148 135.4)

  • #746ACD

    #746ACD

    oklch(58.1% 0.148 285.4)

  • #B5518E

    #B5518E

    oklch(58% 0.148 345.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #508D27

    #508D27

    oklch(58.1% 0.148 135.4)

  • #367BD0

    #367BD0

    oklch(58.2% 0.148 255.3)

  • #C24F5D

    #C24F5D

    oklch(58.1% 0.148 15.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #508D27

    #508D27

    oklch(58.1% 0.148 135.4)

  • #0087AC

    #0087AC

    oklch(58% 0.111 225.7)

  • #9B5BB5

    #9B5BB5

    oklch(58% 0.148 315.4)

  • #BF5820

    #BF5820

    oklch(58.1% 0.148 45.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #508D27 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.