#31751E

Closest named color: Tree Green (#2A7E19). oklch(50% 0.138 139.7), rgb(49, 117, 30).

Aa

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

About this color

#31751E is a medium-dark, moderately saturated green. In OKLCH its lightness is 50%, its chroma 0.138 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.029 away. White text reads best on it, at 5.68:1.

Hue familyGreens
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.69:1
White text5.68:1

Values

HEX#31751E
RGBrgb(49, 117, 30)
HSLhsl(107, 59%, 29%)
OKLCHoklch(50% 0.138 139.7)

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 #31751E 5.68:1 AA Lc -83.4 Fine for body text
Black text on #31751E 3.69:1 AA large text Lc 25.9 Dividers and decoration only
#31751E text on white 5.68:1 AA Lc 78.1 Fine for body text
#31751E text on black 3.69:1 AA large text Lc -23.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

    #F2F7F1

    oklch(97.1% 0.01 140.5)

  2. Step 100

    100

    #E3EDE1

    oklch(93.5% 0.019 140.5)

  3. Step 200

    200

    #CDE0C8

    oklch(88.6% 0.038 139.2)

  4. Step 300

    300

    #AACCA3

    oklch(80.9% 0.067 140.3)

  5. Step 400

    400

    #7CB170

    oklch(70.7% 0.107 139.9)

  6. Step 500

    500

    #599D49

    oklch(63.1% 0.137 139.8)

  7. Step 600

    600

    #3D8729

    oklch(55.6% 0.148 139.7)

  8. Step 700

    700 (this color)

    #31751E

    oklch(50% 0.138 139.7)

  9. Step 800

    800

    #285D19

    oklch(42.7% 0.114 139.6)

  10. Step 900

    900

    #254D1B

    oklch(37.8% 0.09 139.7)

  11. Step 950

    950

    #162D11

    oklch(27% 0.057 140.1)

Export this scale for Tailwind in the Tailwind colors tool

#31751E 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)#786A100.092
Deuteranopia (no green cones)#7065270.093
Tritanopia (no blue cones)#2971640.094
Achromatopsia (no color)#6767670.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #31751E

    #31751E

    oklch(50% 0.138 139.7)

  • #854494

    #854494

    oklch(50% 0.14 319.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31751E

    #31751E

    oklch(50% 0.138 139.7)

  • #686800

    #686800

    oklch(50.1% 0.109 109.8)

  • #00755A

    #00755A

    oklch(50% 0.099 169.6)

Open the analogous palette in the generator

Split complementary

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

  • #31751E

    #31751E

    oklch(50% 0.138 139.7)

  • #6451AB

    #6451AB

    oklch(49.9% 0.138 290.2)

  • #9A3B6F

    #9A3B6F

    oklch(50% 0.139 349.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31751E

    #31751E

    oklch(50% 0.138 139.7)

  • #2F60B1

    #2F60B1

    oklch(49.9% 0.14 259.9)

  • #A33A42

    #A33A42

    oklch(49.9% 0.139 19.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31751E

    #31751E

    oklch(50% 0.138 139.7)

  • #006D90

    #006D90

    oklch(50% 0.099 229.2)

  • #854494

    #854494

    oklch(50% 0.14 319.8)

  • #9C4700

    #9C4700

    oklch(49.9% 0.132 50)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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