#31713F

Closest named color: Dark Olive Green (#556B2F). oklch(49.3% 0.103 148.6), rgb(49, 113, 63).

Aa

White text reads best on this color (5.89:1).

About this color

#31713F is a medium-dark, moderately saturated green. In OKLCH its lightness is 49%, its chroma 0.103 and its hue 149°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.040 away. White text reads best on it, at 5.89:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.56:1
White text5.89:1

Values

HEX#31713F
RGBrgb(49, 113, 63)
HSLhsl(133, 40%, 32%)
OKLCHoklch(49.3% 0.103 148.6)

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 #31713F 5.89:1 AA Lc -84.5 Fine for body text
Black text on #31713F 3.56:1 AA large text Lc 24.8 Dividers and decoration only
#31713F text on white 5.89:1 AA Lc 79.2 Fine for body text
#31713F text on black 3.56:1 AA large text Lc -22.6 Dividers and decoration only

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

  1. Step 50

    50

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4EDE5

    oklch(93.7% 0.014 148.8)

  3. Step 200

    200

    #CDDFCF

    oklch(88.6% 0.029 148.6)

  4. Step 300

    300

    #ABCAAF

    oklch(80.9% 0.05 148.8)

  5. Step 400

    400

    #7EAF85

    oklch(70.8% 0.08 148.4)

  6. Step 500

    500

    #5B9A67

    oklch(63% 0.101 149)

  7. Step 600

    600

    #3F854E

    oklch(55.7% 0.11 148.8)

  8. Step 700

    700 (this color)

    #31713F

    oklch(49.3% 0.103 148.6)

  9. Step 800

    800

    #295C34

    oklch(42.8% 0.086 148.7)

  10. Step 900

    900

    #264B2D

    oklch(37.6% 0.067 148.6)

  11. Step 950

    950

    #172C1B

    oklch(27% 0.042 149.1)

Export this scale for Tailwind in the Tailwind colors tool

#31713F 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)#72683B0.083
Deuteranopia (no green cones)#6962420.082
Tritanopia (no blue cones)#236F650.059
Achromatopsia (no color)#6464640.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #31713F

    #31713F

    oklch(49.3% 0.103 148.6)

  • #814A7E

    #814A7E

    oklch(49.3% 0.104 329)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31713F

    #31713F

    oklch(49.3% 0.103 148.6)

  • #5C6919

    #5C6919

    oklch(49.4% 0.103 118.5)

  • #007262

    #007262

    oklch(49.4% 0.091 178.5)

Open the analogous palette in the generator

Split complementary

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

  • #31713F

    #31713F

    oklch(49.3% 0.103 148.6)

  • #695393

    #695393

    oklch(49.3% 0.102 298.4)

  • #8F4660

    #8F4660

    oklch(49.3% 0.103 359)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31713F

    #31713F

    oklch(49.3% 0.103 148.6)

  • #495E9C

    #495E9C

    oklch(49.4% 0.103 268.4)

  • #93483F

    #93483F

    oklch(49.4% 0.103 28.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31713F

    #31713F

    oklch(49.3% 0.103 148.6)

  • #146895

    #146895

    oklch(49.3% 0.103 238.9)

  • #814A7E

    #814A7E

    oklch(49.3% 0.104 329)

  • #8C511B

    #8C511B

    oklch(49.4% 0.103 58.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31713F 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.