#31710B

Closest named color: Tree Green (#2A7E19). oklch(48.7% 0.143 137.5), rgb(49, 113, 11).

Aa

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

About this color

#31710B is a medium-dark, vivid green. In OKLCH its lightness is 49%, its chroma 0.143 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.038 away. White text reads best on it, at 6.00:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromavivid (0.143)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.49:1
White text6.00:1

Values

HEX#31710B
RGBrgb(49, 113, 11)
HSLhsl(98, 82%, 24%)
OKLCHoklch(48.7% 0.143 137.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 #31710B 6.00:1 AA Lc -84.9 Fine for body text
Black text on #31710B 3.49:1 AA large text Lc 24.4 Dividers and decoration only
#31710B text on white 6.00:1 AA Lc 79.7 Fine for body text
#31710B text on black 3.49:1 AA large text Lc -22.2 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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CDE0C7

    oklch(88.6% 0.039 138.2)

  4. Step 300

    300

    #ACCCA0

    oklch(81% 0.07 137.2)

  5. Step 400

    400

    #7EB16B

    oklch(70.7% 0.112 137.6)

  6. Step 500

    500

    #5C9D41

    oklch(63.2% 0.143 137.5)

  7. Step 600

    600

    #41871D

    oklch(55.7% 0.154 137.4)

  8. Step 700

    700 (this color)

    #31710B

    oklch(48.7% 0.143 137.5)

  9. Step 800

    800

    #2A5D11

    oklch(42.7% 0.119 137.7)

  10. Step 900

    900

    #274C17

    oklch(37.6% 0.092 137.5)

  11. Step 950

    950

    #172D0F

    oklch(27% 0.059 138.1)

Export this scale for Tailwind in the Tailwind colors tool

#31710B 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)#7566000.092
Deuteranopia (no green cones)#6D61190.091
Tritanopia (no blue cones)#2C6D5F0.099
Achromatopsia (no color)#6363630.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #31710B

    #31710B

    oklch(48.7% 0.143 137.5)

  • #804094

    #804094

    oklch(48.8% 0.144 317.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31710B

    #31710B

    oklch(48.7% 0.143 137.5)

  • #666300

    #666300

    oklch(48.7% 0.105 107.7)

  • #007154

    #007154

    oklch(48.7% 0.099 167.4)

Open the analogous palette in the generator

Split complementary

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

  • #31710B

    #31710B

    oklch(48.7% 0.143 137.5)

  • #5D4EAB

    #5D4EAB

    oklch(48.7% 0.143 287.2)

  • #96366E

    #96366E

    oklch(48.7% 0.143 347.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31710B

    #31710B

    oklch(48.7% 0.143 137.5)

  • #225DAF

    #225DAF

    oklch(48.6% 0.144 257.7)

  • #A13441

    #A13441

    oklch(48.8% 0.143 17.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31710B

    #31710B

    oklch(48.7% 0.143 137.5)

  • #006989

    #006989

    oklch(48.6% 0.095 227.7)

  • #804094

    #804094

    oklch(48.8% 0.144 317.5)

  • #9A4200

    #9A4200

    oklch(48.8% 0.134 47.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31710B 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.