#31AF4D

Closest named color: Medium Green (#39AD48). oklch(66.5% 0.176 147), rgb(49, 175, 77).

Aa

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

About this color

#31AF4D is a medium-light, vivid green. In OKLCH its lightness is 66%, its chroma 0.176 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Green (#39AD48), ΔE 0.006 away. Black text reads best on it, at 7.36:1.

Hue familyGreens
Lightnessmedium-light (66%)
Chromavivid (0.176)
Temperaturein between
Nearest nameMedium Green (#39AD48)
Black text7.36:1
White text2.84:1

Values

HEX#31AF4D
RGBrgb(49, 175, 77)
HSLhsl(133, 56%, 44%)
OKLCHoklch(66.5% 0.176 147)

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 #31AF4D 2.84:1 Fails Lc -59.4 Large or bold text, headings
Black text on #31AF4D 7.36:1 AAA Lc 49.9 Large or bold text, headings
#31AF4D text on white 2.84:1 Fails Lc 54.1 Large or bold text, headings
#31AF4D text on black 7.36:1 AAA Lc -47.7 Large or bold text, headings

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 500.

  1. Step 50

    50

    #F1F8F1

    oklch(97.2% 0.012 145.5)

  2. Step 100

    100

    #E0EFE0

    oklch(93.7% 0.026 145.4)

  3. Step 200

    200

    #C5E2C7

    oklch(88.4% 0.048 147.1)

  4. Step 300

    300

    #9CD0A0

    oklch(80.9% 0.086 146.7)

  5. Step 400

    400

    #60B76C

    oklch(70.6% 0.137 147)

  6. Step 500

    500 (this color)

    #31AF4D

    oklch(66.5% 0.176 147)

  7. Step 600

    600

    #008B31

    oklch(55.5% 0.165 147.1)

  8. Step 700

    700

    #007528

    oklch(49% 0.145 147.1)

  9. Step 800

    800

    #00601F

    oklch(42.6% 0.127 147)

  10. Step 900

    900

    #005019

    oklch(37.6% 0.111 147.2)

  11. Step 950

    950

    #062F0F

    oklch(26.9% 0.072 147)

Export this scale for Tailwind in the Tailwind colors tool

#31AF4D 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)#B19F440.137
Deuteranopia (no green cones)#A295550.136
Tritanopia (no blue cones)#00AB990.104
Achromatopsia (no color)#9999990.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #31AF4D

    #31AF4D

    oklch(66.5% 0.176 147)

  • #CA67CB

    #CA67CB

    oklch(66.5% 0.176 327)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31AF4D

    #31AF4D

    oklch(66.5% 0.176 147)

  • #8E9F00

    #8E9F00

    oklch(66.6% 0.154 117.1)

  • #00AC92

    #00AC92

    oklch(66.5% 0.124 176.7)

Open the analogous palette in the generator

Split complementary

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

  • #31AF4D

    #31AF4D

    oklch(66.5% 0.176 147)

  • #A077F1

    #A077F1

    oklch(66.4% 0.177 296.8)

  • #E45D95

    #E45D95

    oklch(66.5% 0.176 357.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31AF4D

    #31AF4D

    oklch(66.5% 0.176 147)

  • #638BFE

    #638BFE

    oklch(66.4% 0.176 267.1)

  • #EC5F55

    #EC5F55

    oklch(66.4% 0.177 27)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31AF4D

    #31AF4D

    oklch(66.5% 0.176 147)

  • #009FE1

    #009FE1

    oklch(66.6% 0.145 237)

  • #CA67CB

    #CA67CB

    oklch(66.5% 0.176 327)

  • #DB7500

    #DB7500

    oklch(66.5% 0.161 57)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #31AF4D.

Similar named colors

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

Use #31AF4D 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.