#508142

Closest named color: Military Green (#667C3E). oklch(55.2% 0.107 139), rgb(80, 129, 66).

Aa

White text reads best on this color (4.60:1).

About this color

#508142 is a medium-dark, moderately saturated green. In OKLCH its lightness is 55%, its chroma 0.107 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Military Green (#667C3E), ΔE 0.028 away. White text reads best on it, at 4.60:1.

Hue familyGreens
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.107)
Temperaturein between
Nearest nameMilitary Green (#667C3E)
Black text4.55:1
White text4.60:1

Values

HEX#508142
RGBrgb(80, 129, 66)
HSLhsl(107, 32%, 38%)
OKLCHoklch(55.2% 0.107 139)

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 #508142 4.60:1 AA Lc -77.3 Fine for body text
Black text on #508142 4.55:1 AA Lc 32.2 Non-text elements, placeholder text
#508142 text on white 4.60:1 AA Lc 71.9 Content text, not long reading
#508142 text on black 4.55:1 AA Lc -29.8 Dividers and decoration only

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

    #F3F6F2

    oklch(97% 0.006 137.8)

  2. Step 100

    100

    #E5ECE3

    oklch(93.5% 0.014 138.7)

  3. Step 200

    200

    #D0DECD

    oklch(88.5% 0.027 140.2)

  4. Step 300

    300

    #B1C9AB

    oklch(81% 0.049 139.4)

  5. Step 400

    400

    #88AD7E

    oklch(70.8% 0.078 139.1)

  6. Step 500

    500

    #6A985D

    oklch(63.1% 0.099 138.9)

  7. Step 600

    600 (this color)

    #508142

    oklch(55.2% 0.107 139)

  8. Step 700

    700

    #416E35

    oklch(49.1% 0.099 139.3)

  9. Step 800

    800

    #365A2C

    oklch(42.8% 0.083 139.1)

  10. Step 900

    900

    #2F4A28

    oklch(37.8% 0.065 139.4)

  11. Step 950

    950

    #1C2B18

    oklch(26.9% 0.04 139.2)

Export this scale for Tailwind in the Tailwind colors tool

#508142 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)#84783D0.072
Deuteranopia (no green cones)#7D73460.073
Tritanopia (no blue cones)#4D7D720.073
Achromatopsia (no color)#7575750.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #508142

    #508142

    oklch(55.2% 0.107 139)

  • #8D5D9A

    #8D5D9A

    oklch(55.3% 0.107 318.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #508142

    #508142

    oklch(55.2% 0.107 139)

  • #77771F

    #77771F

    oklch(55.2% 0.107 109.4)

  • #118667

    #118667

    oklch(55.3% 0.107 168.7)

Open the analogous palette in the generator

Split complementary

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

  • #508142

    #508142

    oklch(55.2% 0.107 139)

  • #7167AC

    #7167AC

    oklch(55.3% 0.106 289.1)

  • #A0567C

    #A0567C

    oklch(55.2% 0.108 349.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #508142

    #508142

    oklch(55.2% 0.107 139)

  • #4B72B0

    #4B72B0

    oklch(55.2% 0.107 259.3)

  • #A85659

    #A85659

    oklch(55.3% 0.108 18.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #508142

    #508142

    oklch(55.2% 0.107 139)

  • #097DA4

    #097DA4

    oklch(55.2% 0.107 229.3)

  • #8D5D9A

    #8D5D9A

    oklch(55.3% 0.107 318.9)

  • #A45D35

    #A45D35

    oklch(55.2% 0.108 48.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #508142 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.