#387C17

Closest named color: Tree Green (#2A7E19). oklch(52.2% 0.148 137.9), rgb(56, 124, 23).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (52%)
Chromavivid (0.148)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text4.06:1
White text5.16:1

Values

HEX#387C17
RGBrgb(56, 124, 23)
HSLhsl(100, 69%, 29%)
OKLCHoklch(52.2% 0.148 137.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 #387C17 5.16:1 AA Lc -80.6 Fine for body text
Black text on #387C17 4.06:1 AA large text Lc 28.8 Dividers and decoration only
#387C17 text on white 5.16:1 AA Lc 75.3 Fine for body text
#387C17 text on black 4.06:1 AA large text Lc -26.5 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

    #E3EDE0

    oklch(93.5% 0.02 138.4)

  3. Step 200

    200

    #CDE0C6

    oklch(88.5% 0.041 137.2)

  4. Step 300

    300

    #AACC9F

    oklch(80.8% 0.072 138.1)

  5. Step 400

    400

    #7CB16A

    oklch(70.6% 0.114 138.1)

  6. Step 500

    500

    #599D3F

    oklch(63% 0.146 138)

  7. Step 600

    600

    #3D8818

    oklch(55.7% 0.16 137.9)

  8. Step 700

    700 (this color)

    #387C17

    oklch(52.2% 0.148 137.9)

  9. Step 800

    800

    #285E0D

    oklch(42.9% 0.123 137.9)

  10. Step 900

    900

    #254D15

    oklch(37.7% 0.096 138.1)

  11. Step 950

    950

    #172D0E

    oklch(27% 0.06 137.5)

Export this scale for Tailwind in the Tailwind colors tool

#387C17 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)#8071000.094
Deuteranopia (no green cones)#776B230.095
Tritanopia (no blue cones)#3377690.103
Achromatopsia (no color)#6D6D6D0.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #387C17

    #387C17

    oklch(52.2% 0.148 137.9)

  • #8C49A0

    #8C49A0

    oklch(52.3% 0.148 318)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #387C17

    #387C17

    oklch(52.2% 0.148 137.9)

  • #706D00

    #706D00

    oklch(52% 0.112 107.8)

  • #007C5D

    #007C5D

    oklch(52.1% 0.106 167.8)

Open the analogous palette in the generator

Split complementary

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

  • #387C17

    #387C17

    oklch(52.2% 0.148 137.9)

  • #6757B9

    #6757B9

    oklch(52.2% 0.149 287.6)

  • #A33E78

    #A33E78

    oklch(52.1% 0.148 347.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #387C17

    #387C17

    oklch(52.2% 0.148 137.9)

  • #2B67BD

    #2B67BD

    oklch(52.1% 0.149 258)

  • #AE3C48

    #AE3C48

    oklch(52.1% 0.148 17.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #387C17

    #387C17

    oklch(52.2% 0.148 137.9)

  • #007497

    #007497

    oklch(52.2% 0.102 227.8)

  • #8C49A0

    #8C49A0

    oklch(52.3% 0.148 318)

  • #A84900

    #A84900

    oklch(52.1% 0.143 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 #387C17, closest first.

Similar named colors

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

Use #387C17 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.