#31D78A

Closest named color: Seaweed (#18D17B). oklch(77.9% 0.172 157.3), rgb(49, 215, 138).

Aa

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

About this color

#31D78A is a medium-light, vivid green. In OKLCH its lightness is 78%, its chroma 0.172 and its hue 157°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Seaweed (#18D17B), ΔE 0.025 away. Black text reads best on it, at 11.21:1.

Hue familyGreens
Lightnessmedium-light (78%)
Chromavivid (0.172)
Temperaturein between
Nearest nameSeaweed (#18D17B)
Black text11.21:1
White text1.87:1

Values

HEX#31D78A
RGBrgb(49, 215, 138)
HSLhsl(152, 67%, 52%)
OKLCHoklch(77.9% 0.172 157.3)

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 #31D78A 1.87:1 Fails Lc -39.1 Non-text elements, placeholder text
Black text on #31D78A 11.21:1 AAA Lc 69.0 Content text, not long reading
#31D78A text on white 1.87:1 Fails Lc 34.9 Non-text elements, placeholder text
#31D78A text on black 11.21:1 AAA Lc -67.6 Content text, not long reading

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

  1. Step 50

    50

    #EAFAEF

    oklch(97% 0.022 155.9)

  2. Step 100

    100

    #D0F5DD

    oklch(93.7% 0.05 156.9)

  3. Step 200

    200

    #A3EDC0

    oklch(88.5% 0.096 157.1)

  4. Step 300

    300 (this color)

    #31D78A

    oklch(77.9% 0.172 157.3)

  5. Step 400

    400

    #00BF75

    oklch(70.8% 0.168 157.1)

  6. Step 500

    500

    #00A364

    oklch(63% 0.149 157.4)

  7. Step 600

    600

    #008953

    oklch(55.5% 0.131 157.3)

  8. Step 700

    700

    #007445

    oklch(49.2% 0.117 157)

  9. Step 800

    800

    #005F38

    oklch(42.7% 0.101 157.3)

  10. Step 900

    900

    #004F2E

    oklch(37.6% 0.089 157.5)

  11. Step 950

    950

    #002F19

    oklch(26.9% 0.064 157.1)

Export this scale for Tailwind in the Tailwind colors tool

#31D78A 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)#D5C6850.156
Deuteranopia (no green cones)#C2B88F0.153
Tritanopia (no blue cones)#00D5C30.079
Achromatopsia (no color)#BDBDBD0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #31D78A

    #31D78A

    oklch(77.9% 0.172 157.3)

  • #FB88DE

    #FB88DE

    oklch(77.9% 0.172 337.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31D78A

    #31D78A

    oklch(77.9% 0.172 157.3)

  • #99CB41

    #99CB41

    oklch(78.1% 0.173 127.3)

  • #00D2C6

    #00D2C6

    oklch(77.8% 0.136 187.5)

Open the analogous palette in the generator

Split complementary

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

  • #31D78A

    #31D78A

    oklch(77.9% 0.172 157.3)

  • #D09DFF

    #D09DFF

    oklch(78% 0.145 307.3)

  • #FF91A8

    #FF91A8

    oklch(78% 0.134 7.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31D78A

    #31D78A

    oklch(77.9% 0.172 157.3)

  • #A5B0FF

    #A5B0FF

    oklch(77.9% 0.113 277.3)

  • #FF9779

    #FF9779

    oklch(77.9% 0.132 36.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31D78A

    #31D78A

    oklch(77.9% 0.172 157.3)

  • #76BEFF

    #76BEFF

    oklch(78% 0.118 247.2)

  • #FB88DE

    #FB88DE

    oklch(77.9% 0.172 337.4)

  • #FE9E00

    #FE9E00

    oklch(77.9% 0.172 67.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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