#31C162

Closest named color: Algae Green (#21C36F). oklch(71.5% 0.18 149.9), rgb(49, 193, 98).

Aa

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

About this color

#31C162 is a medium-light, vivid green. In OKLCH its lightness is 72%, its chroma 0.180 and its hue 150°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Algae Green (#21C36F), ΔE 0.014 away. Black text reads best on it, at 8.93:1.

Hue familyGreens
Lightnessmedium-light (72%)
Chromavivid (0.180)
Temperaturein between
Nearest nameAlgae Green (#21C36F)
Black text8.93:1
White text2.35:1

Values

HEX#31C162
RGBrgb(49, 193, 98)
HSLhsl(140, 60%, 47%)
OKLCHoklch(71.5% 0.18 149.9)

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 #31C162 2.35:1 Fails Lc -50.7 Large or bold text, headings
Black text on #31C162 8.93:1 AAA Lc 58.1 Large or bold text, headings
#31C162 text on white 2.35:1 Fails Lc 45.8 Large or bold text, headings
#31C162 text on black 8.93:1 AAA Lc -56.2 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 400.

  1. Step 50

    50

    #EFF8F0

    oklch(97% 0.014 148.8)

  2. Step 100

    100

    #DBF0DF

    oklch(93.5% 0.032 151.2)

  3. Step 200

    200

    #BDE5C4

    oklch(88.4% 0.061 150.1)

  4. Step 300

    300

    #8AD59A

    oklch(80.8% 0.112 150.1)

  5. Step 400

    400 (this color)

    #31C162

    oklch(71.5% 0.18 149.9)

  6. Step 500

    500

    #00A54B

    oklch(63.1% 0.174 149.9)

  7. Step 600

    600

    #008B3E

    oklch(55.6% 0.154 149.9)

  8. Step 700

    700

    #007533

    oklch(49.1% 0.136 149.9)

  9. Step 800

    800

    #006029

    oklch(42.7% 0.118 150)

  10. Step 900

    900

    #005021

    oklch(37.7% 0.104 150)

  11. Step 950

    950

    #003011

    oklch(27% 0.074 150)

Export this scale for Tailwind in the Tailwind colors tool

#31C162 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)#C2B05A0.147
Deuteranopia (no green cones)#B1A4690.146
Tritanopia (no blue cones)#00BEAB0.100
Achromatopsia (no color)#A9A9A90.181

Harmonies

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

Complementary

The opposite hue (180°).

  • #31C162

    #31C162

    oklch(71.5% 0.18 149.9)

  • #DF74D8

    #DF74D8

    oklch(71.5% 0.18 329.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31C162

    #31C162

    oklch(71.5% 0.18 149.9)

  • #97B100

    #97B100

    oklch(71.5% 0.169 119.7)

  • #00BDA6

    #00BDA6

    oklch(71.5% 0.13 179.9)

Open the analogous palette in the generator

Split complementary

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

  • #31C162

    #31C162

    oklch(71.5% 0.18 149.9)

  • #B586FF

    #B586FF

    oklch(71.6% 0.175 299.9)

  • #F96B9F

    #F96B9F

    oklch(71.6% 0.18 359.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31C162

    #31C162

    oklch(71.5% 0.18 149.9)

  • #7F9DFF

    #7F9DFF

    oklch(71.6% 0.147 269.6)

  • #FF705C

    #FF705C

    oklch(71.6% 0.178 30.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31C162

    #31C162

    oklch(71.5% 0.18 149.9)

  • #00AEFE

    #00AEFE

    oklch(71.6% 0.164 239.9)

  • #DF74D8

    #DF74D8

    oklch(71.5% 0.18 329.7)

  • #ED8500

    #ED8500

    oklch(71.6% 0.168 59.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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