#508C40

Closest named color: Fern Green (#548D44). oklch(58.1% 0.126 139.4), rgb(80, 140, 64).

Aa

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

About this color

#508C40 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.126 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Fern Green (#548D44), ΔE 0.007 away. Black text reads best on it, at 5.16:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameFern Green (#548D44)
Black text5.16:1
White text4.06:1

Values

HEX#508C40
RGBrgb(80, 140, 64)
HSLhsl(107, 37%, 40%)
OKLCHoklch(58.1% 0.126 139.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 #508C40 4.06:1 AA large text Lc -73.2 Content text, not long reading
Black text on #508C40 5.16:1 AA Lc 36.4 Non-text elements, placeholder text
#508C40 text on white 4.06:1 AA large text Lc 67.7 Content text, not long reading
#508C40 text on black 5.16:1 AA Lc -34.0 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE2

    oklch(93.6% 0.017 140)

  3. Step 200

    200

    #CFDFCB

    oklch(88.6% 0.032 139.4)

  4. Step 300

    300

    #AECAA7

    oklch(80.9% 0.057 139.4)

  5. Step 400

    400

    #83AF78

    oklch(70.8% 0.091 139.5)

  6. Step 500

    500

    #639A55

    oklch(63.1% 0.115 139.5)

  7. Step 600

    600 (this color)

    #508C40

    oklch(58.1% 0.126 139.4)

  8. Step 700

    700

    #3A702B

    oklch(49.1% 0.116 139.4)

  9. Step 800

    800

    #305B25

    oklch(42.6% 0.096 139.6)

  10. Step 900

    900

    #2B4B23

    oklch(37.7% 0.075 139.6)

  11. Step 950

    950

    #1A2C15

    oklch(27% 0.047 139.1)

Export this scale for Tailwind in the Tailwind colors tool

#508C40 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)#9081390.086
Deuteranopia (no green cones)#877C450.085
Tritanopia (no blue cones)#4C887B0.085
Achromatopsia (no color)#7E7E7E0.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #508C40

    #508C40

    oklch(58.1% 0.126 139.4)

  • #9A60A9

    #9A60A9

    oklch(58% 0.125 319.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #508C40

    #508C40

    oklch(58.1% 0.126 139.4)

  • #818002

    #818002

    oklch(58.2% 0.126 109.2)

  • #00906F

    #00906F

    oklch(58.1% 0.116 169.3)

Open the analogous palette in the generator

Split complementary

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

  • #508C40

    #508C40

    oklch(58.1% 0.126 139.4)

  • #7A6CC0

    #7A6CC0

    oklch(58.2% 0.126 289.5)

  • #B05886

    #B05886

    oklch(58% 0.127 349.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #508C40

    #508C40

    oklch(58.1% 0.126 139.4)

  • #4B7AC4

    #4B7AC4

    oklch(58.1% 0.126 259.1)

  • #B9585C

    #B9585C

    oklch(58.1% 0.126 19.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #508C40

    #508C40

    oklch(58.1% 0.126 139.4)

  • #0086B1

    #0086B1

    oklch(58% 0.115 229.7)

  • #9A60A9

    #9A60A9

    oklch(58% 0.125 319.2)

  • #B5612E

    #B5612E

    oklch(58.2% 0.126 49.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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