#31801E

Closest named color: Tree Green (#2A7E19). oklch(53.1% 0.152 140.3), rgb(49, 128, 30).

Aa

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

About this color

#31801E is a medium-dark, vivid green. In OKLCH its lightness is 53%, its chroma 0.152 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.009 away. White text reads best on it, at 4.95:1.

Hue familyGreens
Lightnessmedium-dark (53%)
Chromavivid (0.152)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text4.23:1
White text4.95:1

Values

HEX#31801E
RGBrgb(49, 128, 30)
HSLhsl(108, 62%, 31%)
OKLCHoklch(53.1% 0.152 140.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 #31801E 4.95:1 AA Lc -79.4 Fine for body text
Black text on #31801E 4.23:1 AA large text Lc 30.1 Non-text elements, placeholder text
#31801E text on white 4.95:1 AA Lc 73.9 Content text, not long reading
#31801E text on black 4.23:1 AA large text Lc -27.8 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 600.

  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

    #CCE0C8

    oklch(88.5% 0.039 140.5)

  4. Step 300

    300

    #A9CCA2

    oklch(80.8% 0.069 140.4)

  5. Step 400

    400

    #7BB26F

    oklch(70.8% 0.111 140)

  6. Step 500

    500

    #579E48

    oklch(63.3% 0.141 140.2)

  7. Step 600

    600 (this color)

    #31801E

    oklch(53.1% 0.152 140.3)

  8. Step 700

    700

    #2B7319

    oklch(49.1% 0.142 140.2)

  9. Step 800

    800

    #255E18

    oklch(42.8% 0.118 140.3)

  10. Step 900

    900

    #244D1B

    oklch(37.8% 0.091 140.2)

  11. Step 950

    950

    #162D11

    oklch(27% 0.057 140.1)

Export this scale for Tailwind in the Tailwind colors tool

#31801E 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)#84740A0.103
Deuteranopia (no green cones)#7A6D280.104
Tritanopia (no blue cones)#267C6D0.101
Achromatopsia (no color)#7070700.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #31801E

    #31801E

    oklch(53.1% 0.152 140.3)

  • #9249A1

    #9249A1

    oklch(53.1% 0.152 320.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31801E

    #31801E

    oklch(53.1% 0.152 140.3)

  • #707100

    #707100

    oklch(53% 0.116 110.4)

  • #007F63

    #007F63

    oklch(53.1% 0.105 170.3)

Open the analogous palette in the generator

Split complementary

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

  • #31801E

    #31801E

    oklch(53.1% 0.152 140.3)

  • #6D57BC

    #6D57BC

    oklch(52.9% 0.153 290.2)

  • #A93F78

    #A93F78

    oklch(53.1% 0.152 350.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31801E

    #31801E

    oklch(53.1% 0.152 140.3)

  • #3368C3

    #3368C3

    oklch(53% 0.153 260.4)

  • #B33E45

    #B33E45

    oklch(53.1% 0.152 20.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31801E

    #31801E

    oklch(53.1% 0.152 140.3)

  • #00769D

    #00769D

    oklch(53% 0.106 230.2)

  • #9249A1

    #9249A1

    oklch(53.1% 0.152 320.6)

  • #A94E00

    #A94E00

    oklch(53% 0.14 50.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #31801E.

Similar named colors

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

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