#31703E

Closest named color: Dark Olive Green (#556B2F). oklch(49% 0.102 148.3), rgb(49, 112, 62).

Aa

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

About this color

#31703E is a medium-dark, moderately saturated green. In OKLCH its lightness is 49%, its chroma 0.102 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.96:1.

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

Values

HEX#31703E
RGBrgb(49, 112, 62)
HSLhsl(132, 39%, 32%)
OKLCHoklch(49% 0.102 148.3)

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

    #E4EDE5

    oklch(93.7% 0.014 148.8)

  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

    #7EAF85

    oklch(70.8% 0.08 148.4)

  6. Step 500

    500

    #5C9A66

    oklch(63% 0.101 148.2)

  7. Step 600

    600

    #40854D

    oklch(55.7% 0.111 148.1)

  8. Step 700

    700 (this color)

    #31703E

    oklch(49% 0.102 148.3)

  9. Step 800

    800

    #2A5B34

    oklch(42.6% 0.083 148.6)

  10. Step 900

    900

    #274B2D

    oklch(37.7% 0.066 148)

  11. Step 950

    950

    #172C1B

    oklch(27% 0.042 149.1)

Export this scale for Tailwind in the Tailwind colors tool

#31703E 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)#71673A0.083
Deuteranopia (no green cones)#6861410.081
Tritanopia (no blue cones)#246E640.059
Achromatopsia (no color)#6363630.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #31703E

    #31703E

    oklch(49% 0.102 148.3)

  • #7F4A7D

    #7F4A7D

    oklch(49% 0.101 328.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31703E

    #31703E

    oklch(49% 0.102 148.3)

  • #5B6818

    #5B6818

    oklch(49% 0.103 118.5)

  • #007161

    #007161

    oklch(49.1% 0.09 178.4)

Open the analogous palette in the generator

Split complementary

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

  • #31703E

    #31703E

    oklch(49% 0.102 148.3)

  • #685292

    #685292

    oklch(48.9% 0.102 298.4)

  • #8E4560

    #8E4560

    oklch(49% 0.103 358.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31703E

    #31703E

    oklch(49% 0.102 148.3)

  • #485D9A

    #485D9A

    oklch(49% 0.101 268.2)

  • #92473E

    #92473E

    oklch(49% 0.103 28.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31703E

    #31703E

    oklch(49% 0.102 148.3)

  • #136793

    #136793

    oklch(48.9% 0.102 238.4)

  • #7F4A7D

    #7F4A7D

    oklch(49% 0.101 328.3)

  • #8B501B

    #8B501B

    oklch(49.1% 0.102 58.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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