#38771C

Closest named color: Tree Green (#2A7E19). oklch(50.8% 0.139 138), rgb(56, 119, 28).

Aa

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

About this color

#38771C is a medium-dark, moderately saturated green. In OKLCH its lightness is 51%, its chroma 0.139 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.023 away. White text reads best on it, at 5.49:1.

Hue familyGreens
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.82:1
White text5.49:1

Values

HEX#38771C
RGBrgb(56, 119, 28)
HSLhsl(102, 62%, 29%)
OKLCHoklch(50.8% 0.139 138)

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 #38771C 5.49:1 AA Lc -82.4 Fine for body text
Black text on #38771C 3.82:1 AA large text Lc 26.9 Dividers and decoration only
#38771C text on white 5.49:1 AA Lc 77.1 Fine for body text
#38771C text on black 3.82:1 AA large text Lc -24.6 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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CEDFC8

    oklch(88.5% 0.036 137.5)

  4. Step 300

    300

    #ACCBA1

    oklch(80.8% 0.067 137.6)

  5. Step 400

    400

    #7FB16E

    oklch(70.8% 0.108 138)

  6. Step 500

    500

    #5D9C45

    oklch(63% 0.137 137.9)

  7. Step 600

    600

    #418724

    oklch(55.7% 0.15 138.2)

  8. Step 700

    700 (this color)

    #38771C

    oklch(50.8% 0.139 138)

  9. Step 800

    800

    #2B5D15

    oklch(42.8% 0.116 137.9)

  10. Step 900

    900

    #274C19

    oklch(37.6% 0.09 138.1)

  11. Step 950

    950

    #182D10

    oklch(27.1% 0.057 137.8)

Export this scale for Tailwind in the Tailwind colors tool

#38771C 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)#7B6C0A0.089
Deuteranopia (no green cones)#7367250.090
Tritanopia (no blue cones)#3373650.095
Achromatopsia (no color)#6969690.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #38771C

    #38771C

    oklch(50.8% 0.139 138)

  • #864798

    #864798

    oklch(50.8% 0.14 318.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #38771C

    #38771C

    oklch(50.8% 0.139 138)

  • #6C6900

    #6C6900

    oklch(50.7% 0.109 107.8)

  • #00785A

    #00785A

    oklch(50.9% 0.103 167.9)

Open the analogous palette in the generator

Split complementary

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

  • #38771C

    #38771C

    oklch(50.8% 0.139 138)

  • #6455AF

    #6455AF

    oklch(50.9% 0.138 288.1)

  • #9C3E73

    #9C3E73

    oklch(50.8% 0.139 348.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #38771C

    #38771C

    oklch(50.8% 0.139 138)

  • #2D64B3

    #2D64B3

    oklch(50.8% 0.138 257.9)

  • #A63D47

    #A63D47

    oklch(50.9% 0.138 17.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #38771C

    #38771C

    oklch(50.8% 0.139 138)

  • #007092

    #007092

    oklch(50.9% 0.099 227.8)

  • #864798

    #864798

    oklch(50.8% 0.14 318.3)

  • #A24700

    #A24700

    oklch(50.9% 0.138 48.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #38771C 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.