#317021

Closest named color: Tree Green (#2A7E19). oklch(48.6% 0.13 139.9), rgb(49, 112, 33).

Aa

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

About this color

#317021 is a medium-dark, moderately saturated green. In OKLCH its lightness is 49%, its chroma 0.130 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.045 away. White text reads best on it, at 6.05:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.47:1
White text6.05:1

Values

HEX#317021
RGBrgb(49, 112, 33)
HSLhsl(108, 54%, 28%)
OKLCHoklch(48.6% 0.13 139.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 #317021 6.05:1 AA Lc -85.1 Fine for body text
Black text on #317021 3.47:1 AA large text Lc 24.1 Dividers and decoration only
#317021 text on white 6.05:1 AA Lc 79.9 Fine for body text
#317021 text on black 3.47:1 AA large text Lc -21.9 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

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE2

    oklch(93.6% 0.017 140)

  3. Step 200

    200

    #CEDFC9

    oklch(88.5% 0.035 138.6)

  4. Step 300

    300

    #ACCBA5

    oklch(80.9% 0.062 139.9)

  5. Step 400

    400

    #7FB074

    oklch(70.7% 0.1 139.9)

  6. Step 500

    500

    #5D9C4E

    oklch(63.1% 0.128 139.8)

  7. Step 600

    600

    #418630

    oklch(55.6% 0.14 139.9)

  8. Step 700

    700 (this color)

    #317021

    oklch(48.6% 0.13 139.9)

  9. Step 800

    800

    #2B5D1F

    oklch(42.9% 0.108 139.9)

  10. Step 900

    900

    #274C1F

    oklch(37.7% 0.084 140.1)

  11. Step 950

    950

    #182D13

    oklch(27.2% 0.053 139.7)

Export this scale for Tailwind in the Tailwind colors tool

#317021 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)#7366160.087
Deuteranopia (no green cones)#6B61280.087
Tritanopia (no blue cones)#2A6C600.088
Achromatopsia (no color)#6363630.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #317021

    #317021

    oklch(48.6% 0.13 139.9)

  • #7F438C

    #7F438C

    oklch(48.6% 0.13 320.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #317021

    #317021

    oklch(48.6% 0.13 139.9)

  • #646400

    #646400

    oklch(48.7% 0.106 109.8)

  • #007057

    #007057

    oklch(48.5% 0.096 170.4)

Open the analogous palette in the generator

Split complementary

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

  • #317021

    #317021

    oklch(48.6% 0.13 139.9)

  • #604FA2

    #604FA2

    oklch(48.6% 0.129 290.2)

  • #933B6A

    #933B6A

    oklch(48.7% 0.13 349.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #317021

    #317021

    oklch(48.6% 0.13 139.9)

  • #305DA7

    #305DA7

    oklch(48.6% 0.129 259.8)

  • #9B3A40

    #9B3A40

    oklch(48.6% 0.13 19.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #317021

    #317021

    oklch(48.6% 0.13 139.9)

  • #00688B

    #00688B

    oklch(48.5% 0.097 230.3)

  • #7F438C

    #7F438C

    oklch(48.6% 0.13 320.3)

  • #964400

    #964400

    oklch(48.5% 0.128 50)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #317021 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.