#31A795

Closest named color: Persian Green (#2A9D8F). oklch(66% 0.106 180.5), rgb(49, 167, 149).

Aa

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

About this color

#31A795 is a medium-light, moderately saturated teal or cyan. In OKLCH its lightness is 66%, its chroma 0.106 and its hue 180°. Its hue sits on the cool side of the wheel. The nearest named color is Persian Green (#2A9D8F), ΔE 0.030 away. Black text reads best on it, at 7.09:1.

Hue familyTeals and cyans
Lightnessmedium-light (66%)
Chromamoderately saturated (0.106)
Temperaturecool
Nearest namePersian Green (#2A9D8F)
Black text7.09:1
White text2.96:1

Values

HEX#31A795
RGBrgb(49, 167, 149)
HSLhsl(171, 55%, 42%)
OKLCHoklch(66% 0.106 180.5)

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 #31A795 2.96:1 Fails Lc -61.1 Content text, not long reading
Black text on #31A795 7.09:1 AAA Lc 48.3 Large or bold text, headings
#31A795 text on white 2.96:1 Fails Lc 55.8 Large or bold text, headings
#31A795 text on black 7.09:1 AAA Lc -46.0 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

    #F1F7F6

    oklch(97.1% 0.006 185.3)

  2. Step 100

    100

    #E0EDEA

    oklch(93.6% 0.014 180.7)

  3. Step 200

    200

    #C6E0DA

    oklch(88.6% 0.029 180.2)

  4. Step 300

    300

    #9DCCC2

    oklch(80.9% 0.051 180.4)

  5. Step 400

    400

    #61B2A3

    oklch(70.8% 0.083 180.4)

  6. Step 500

    500 (this color)

    #31A795

    oklch(66% 0.106 180.5)

  7. Step 600

    600

    #008676

    oklch(55.6% 0.1 180.5)

  8. Step 700

    700

    #007163

    oklch(49.2% 0.089 180.3)

  9. Step 800

    800

    #005C51

    oklch(42.6% 0.077 181.1)

  10. Step 900

    900

    #004D43

    oklch(37.7% 0.068 180.3)

  11. Step 950

    950

    #062D27

    oklch(26.9% 0.044 180.3)

Export this scale for Tailwind in the Tailwind colors tool

#31A795 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)#A09D940.112
Deuteranopia (no green cones)#8F91970.106
Tritanopia (no blue cones)#00AAA10.019
Achromatopsia (no color)#9696960.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #31A795

    #31A795

    oklch(66% 0.106 180.5)

  • #C7768F

    #C7768F

    oklch(66.1% 0.105 0.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31A795

    #31A795

    oklch(66% 0.106 180.5)

  • #5FA470

    #5FA470

    oklch(65.9% 0.105 150.6)

  • #26A3B6

    #26A3B6

    oklch(65.9% 0.106 210.5)

Open the analogous palette in the generator

Split complementary

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

  • #31A795

    #31A795

    oklch(66% 0.106 180.5)

  • #B77AB0

    #B77AB0

    oklch(66% 0.105 330.8)

  • #CB786A

    #CB786A

    oklch(65.9% 0.107 30.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31A795

    #31A795

    oklch(66% 0.106 180.5)

  • #9D83C9

    #9D83C9

    oklch(66.1% 0.105 300.6)

  • #C1824B

    #C1824B

    oklch(66% 0.106 60.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31A795

    #31A795

    oklch(66% 0.106 180.5)

  • #798ED3

    #798ED3

    oklch(65.9% 0.106 270.4)

  • #C7768F

    #C7768F

    oklch(66.1% 0.105 0.5)

  • #AB8F3D

    #AB8F3D

    oklch(66% 0.106 90.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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