#31703D

Closest named color: Dark Olive Green (#556B2F). oklch(49% 0.103 147.9), rgb(49, 112, 61).

Aa

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

About this color

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

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

Values

HEX#31703D
RGBrgb(49, 112, 61)
HSLhsl(131, 39%, 32%)
OKLCHoklch(49% 0.103 147.9)

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 #31703D 5.97:1 AA Lc -84.8 Fine for body text
Black text on #31703D 3.51:1 AA large text Lc 24.4 Dividers and decoration only
#31703D text on white 5.97:1 AA Lc 79.6 Fine for body text
#31703D text on black 3.51: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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4EDE4

    oklch(93.7% 0.015 145.5)

  3. Step 200

    200

    #CDDECF

    oklch(88.4% 0.027 148.8)

  4. Step 300

    300

    #ACCAAF

    oklch(80.9% 0.049 147.9)

  5. Step 400

    400

    #7EAF84

    oklch(70.7% 0.081 147.8)

  6. Step 500

    500

    #5C9A65

    oklch(63% 0.102 147.7)

  7. Step 600

    600

    #40854C

    oklch(55.7% 0.112 147.7)

  8. Step 700

    700 (this color)

    #31703D

    oklch(49% 0.103 147.9)

  9. Step 800

    800

    #2A5C33

    oklch(42.8% 0.086 147.8)

  10. Step 900

    900

    #274B2D

    oklch(37.7% 0.066 148)

  11. Step 950

    950

    #172C1A

    oklch(26.9% 0.043 147.7)

Export this scale for Tailwind in the Tailwind colors tool

#31703D 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)#7167390.083
Deuteranopia (no green cones)#6961400.082
Tritanopia (no blue cones)#246E640.060
Achromatopsia (no color)#6363630.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #31703D

    #31703D

    oklch(49% 0.103 147.9)

  • #7F4A7E

    #7F4A7E

    oklch(49% 0.102 327.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31703D

    #31703D

    oklch(49% 0.103 147.9)

  • #5C6816

    #5C6816

    oklch(49.1% 0.104 117.8)

  • #007160

    #007160

    oklch(49.1% 0.091 177.4)

Open the analogous palette in the generator

Split complementary

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

  • #31703D

    #31703D

    oklch(49% 0.103 147.9)

  • #685293

    #685293

    oklch(49% 0.103 298.1)

  • #8E4560

    #8E4560

    oklch(49% 0.103 358.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31703D

    #31703D

    oklch(49% 0.103 147.9)

  • #475D9B

    #475D9B

    oklch(49% 0.103 267.8)

  • #92473E

    #92473E

    oklch(49% 0.103 28.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31703D

    #31703D

    oklch(49% 0.103 147.9)

  • #0F6894

    #0F6894

    oklch(49.1% 0.103 237.7)

  • #7F4A7E

    #7F4A7E

    oklch(49% 0.102 327.7)

  • #8B4F1A

    #8B4F1A

    oklch(48.9% 0.103 57.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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