#31722D

Closest named color: Dark Olive Green (#556B2F). oklch(49.3% 0.122 142.5), rgb(49, 114, 45).

Aa

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

About this color

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

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

Values

HEX#31722D
RGBrgb(49, 114, 45)
HSLhsl(117, 43%, 31%)
OKLCHoklch(49.3% 0.122 142.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 #31722D 5.87:1 AA Lc -84.3 Fine for body text
Black text on #31722D 3.57:1 AA large text Lc 25.0 Dividers and decoration only
#31722D text on white 5.87:1 AA Lc 79.1 Fine for body text
#31722D text on black 3.57:1 AA large text Lc -22.7 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CDDFCB

    oklch(88.5% 0.033 142.5)

  4. Step 300

    300

    #ABCBA8

    oklch(80.9% 0.059 142.7)

  5. Step 400

    400

    #7EB079

    oklch(70.7% 0.095 142.3)

  6. Step 500

    500

    #5B9C56

    oklch(63.2% 0.122 142.5)

  7. Step 600

    600

    #3F863A

    oklch(55.6% 0.132 142.4)

  8. Step 700

    700 (this color)

    #31722D

    oklch(49.3% 0.122 142.5)

  9. Step 800

    800

    #295C26

    oklch(42.6% 0.101 142.6)

  10. Step 900

    900

    #264C24

    oklch(37.7% 0.079 142.8)

  11. Step 950

    950

    #172D15

    oklch(27.1% 0.051 142.2)

Export this scale for Tailwind in the Tailwind colors tool

#31722D 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)#7568260.089
Deuteranopia (no green cones)#6C62320.088
Tritanopia (no blue cones)#286F630.078
Achromatopsia (no color)#6464640.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #31722D

    #31722D

    oklch(49.3% 0.122 142.5)

  • #814689

    #814689

    oklch(49.2% 0.122 322.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31722D

    #31722D

    oklch(49.3% 0.122 142.5)

  • #636700

    #636700

    oklch(49.4% 0.11 112.4)

  • #00725B

    #00725B

    oklch(49.2% 0.095 172.3)

Open the analogous palette in the generator

Split complementary

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

  • #31722D

    #31722D

    oklch(49.3% 0.122 142.5)

  • #6451A0

    #6451A0

    oklch(49.2% 0.123 292.3)

  • #943F68

    #943F68

    oklch(49.3% 0.123 352.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31722D

    #31722D

    oklch(49.3% 0.122 142.5)

  • #3A5EA6

    #3A5EA6

    oklch(49.2% 0.123 262.7)

  • #9B4040

    #9B4040

    oklch(49.4% 0.122 22.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31722D

    #31722D

    oklch(49.3% 0.122 142.5)

  • #006A91

    #006A91

    oklch(49.3% 0.101 232.7)

  • #814689

    #814689

    oklch(49.2% 0.122 322.7)

  • #954908

    #954908

    oklch(49.2% 0.122 52.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31722D 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.