#538D31

Closest named color: Mossy Green (#638B27). oklch(58.3% 0.139 135.8), rgb(83, 141, 49).

Aa

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

About this color

#538D31 is a medium-dark, moderately saturated green. In OKLCH its lightness is 58%, its chroma 0.139 and its hue 136°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mossy Green (#638B27), ΔE 0.017 away. Black text reads best on it, at 5.22:1.

Hue familyGreens
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameMossy Green (#638B27)
Black text5.22:1
White text4.02:1

Values

HEX#538D31
RGBrgb(83, 141, 49)
HSLhsl(98, 48%, 37%)
OKLCHoklch(58.3% 0.139 135.8)

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 #538D31 4.02:1 AA large text Lc -72.8 Content text, not long reading
Black text on #538D31 5.22:1 AA Lc 36.8 Non-text elements, placeholder text
#538D31 text on white 4.02:1 AA large text Lc 67.3 Content text, not long reading
#538D31 text on black 5.22:1 AA Lc -34.4 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

    #E5EDE1

    oklch(93.7% 0.018 134.9)

  3. Step 200

    200

    #CFDFC8

    oklch(88.5% 0.035 136)

  4. Step 300

    300

    #AFCAA2

    oklch(80.8% 0.062 135.5)

  5. Step 400

    400

    #84AF70

    oklch(70.7% 0.1 136.1)

  6. Step 500

    500

    #659B48

    oklch(63.2% 0.128 135.8)

  7. Step 600

    600 (this color)

    #538D31

    oklch(58.3% 0.139 135.8)

  8. Step 700

    700

    #3C701A

    oklch(49.1% 0.129 135.8)

  9. Step 800

    800

    #325B18

    oklch(42.6% 0.107 135.6)

  10. Step 900

    900

    #2C4B1B

    oklch(37.6% 0.083 135.9)

  11. Step 950

    950

    #1A2C11

    oklch(26.9% 0.052 136.1)

Export this scale for Tailwind in the Tailwind colors tool

#538D31 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)#9282260.086
Deuteranopia (no green cones)#8A7D380.086
Tritanopia (no blue cones)#51887A0.099
Achromatopsia (no color)#7F7F7F0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #538D31

    #538D31

    oklch(58.3% 0.139 135.8)

  • #9B5EB2

    #9B5EB2

    oklch(58.3% 0.14 316.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #538D31

    #538D31

    oklch(58.3% 0.139 135.8)

  • #867F00

    #867F00

    oklch(58.4% 0.124 105.8)

  • #00916A

    #00916A

    oklch(58.2% 0.121 165.9)

Open the analogous palette in the generator

Split complementary

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

  • #538D31

    #538D31

    oklch(58.3% 0.139 135.8)

  • #756CC9

    #756CC9

    oklch(58.3% 0.139 285.6)

  • #B3558D

    #B3558D

    oklch(58.3% 0.139 345.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #538D31

    #538D31

    oklch(58.3% 0.139 135.8)

  • #3E7CCC

    #3E7CCC

    oklch(58.4% 0.139 255.9)

  • #BF535F

    #BF535F

    oklch(58.3% 0.139 15.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #538D31

    #538D31

    oklch(58.3% 0.139 135.8)

  • #0088AD

    #0088AD

    oklch(58.3% 0.111 225.6)

  • #9B5EB2

    #9B5EB2

    oklch(58.3% 0.14 316.2)

  • #BC5C29

    #BC5C29

    oklch(58.3% 0.139 45.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #538D31 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.