#397A17

Closest named color: Tree Green (#2A7E19). oklch(51.7% 0.145 137.5), rgb(57, 122, 23).

Aa

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

About this color

#397A17 is a medium-dark, vivid green. In OKLCH its lightness is 52%, its chroma 0.145 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.015 away. White text reads best on it, at 5.28:1.

Hue familyGreens
Lightnessmedium-dark (52%)
Chromavivid (0.145)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.97:1
White text5.28:1

Values

HEX#397A17
RGBrgb(57, 122, 23)
HSLhsl(99, 68%, 28%)
OKLCHoklch(51.7% 0.145 137.5)

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 #397A17 5.28:1 AA Lc -81.3 Fine for body text
Black text on #397A17 3.97:1 AA large text Lc 28.1 Dividers and decoration only
#397A17 text on white 5.28:1 AA Lc 76.0 Fine for body text
#397A17 text on black 3.97:1 AA large text Lc -25.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

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CDE0C7

    oklch(88.6% 0.039 138.2)

  4. Step 300

    300

    #ABCCA0

    oklch(80.9% 0.07 137.9)

  5. Step 400

    400

    #7EB16B

    oklch(70.7% 0.112 137.6)

  6. Step 500

    500

    #5C9D40

    oklch(63.1% 0.144 137.4)

  7. Step 600

    600

    #40871B

    oklch(55.6% 0.156 137.5)

  8. Step 700

    700 (this color)

    #397A17

    oklch(51.7% 0.145 137.5)

  9. Step 800

    800

    #2A5D0F

    oklch(42.7% 0.12 137.4)

  10. Step 900

    900

    #274D16

    oklch(37.9% 0.094 137.5)

  11. Step 950

    950

    #172D0E

    oklch(27% 0.06 137.5)

Export this scale for Tailwind in the Tailwind colors tool

#397A17 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)#7E6F000.091
Deuteranopia (no green cones)#766A220.092
Tritanopia (no blue cones)#3475680.103
Achromatopsia (no color)#6C6C6C0.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #397A17

    #397A17

    oklch(51.7% 0.145 137.5)

  • #89489E

    #89489E

    oklch(51.7% 0.146 317.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #397A17

    #397A17

    oklch(51.7% 0.145 137.5)

  • #6F6C00

    #6F6C00

    oklch(51.7% 0.111 107.8)

  • #007B5C

    #007B5C

    oklch(51.8% 0.105 167.6)

Open the analogous palette in the generator

Split complementary

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

  • #397A17

    #397A17

    oklch(51.7% 0.145 137.5)

  • #6556B6

    #6556B6

    oklch(51.6% 0.146 287.3)

  • #A13E77

    #A13E77

    oklch(51.7% 0.146 347.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #397A17

    #397A17

    oklch(51.7% 0.145 137.5)

  • #2A66B9

    #2A66B9

    oklch(51.6% 0.145 257.4)

  • #AB3C48

    #AB3C48

    oklch(51.6% 0.145 17.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #397A17

    #397A17

    oklch(51.7% 0.145 137.5)

  • #007295

    #007295

    oklch(51.6% 0.101 228.2)

  • #89489E

    #89489E

    oklch(51.7% 0.146 317.3)

  • #A64800

    #A64800

    oklch(51.7% 0.141 47.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #397A17 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.