#3D791B

Closest named color: Tree Green (#2A7E19). oklch(51.6% 0.139 136.8), rgb(61, 121, 27).

Aa

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

About this color

#3D791B is a medium-dark, moderately saturated green. In OKLCH its lightness is 52%, its chroma 0.139 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.020 away. White text reads best on it, at 5.31:1.

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

Values

HEX#3D791B
RGBrgb(61, 121, 27)
HSLhsl(98, 64%, 29%)
OKLCHoklch(51.6% 0.139 136.8)

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 #3D791B 5.31:1 AA Lc -81.5 Fine for body text
Black text on #3D791B 3.94:1 AA large text Lc 27.9 Dividers and decoration only
#3D791B text on white 5.31:1 AA Lc 76.2 Fine for body text
#3D791B text on black 3.94:1 AA large text Lc -25.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

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CEDFC7

    oklch(88.4% 0.037 136.5)

  4. Step 300

    300

    #ADCBA0

    oklch(80.9% 0.067 136.3)

  5. Step 400

    400

    #80B06C

    oklch(70.6% 0.108 136.9)

  6. Step 500

    500

    #5F9C43

    oklch(63.1% 0.138 136.9)

  7. Step 600

    600

    #44861F

    oklch(55.5% 0.15 136.8)

  8. Step 700

    700 (this color)

    #3D791B

    oklch(51.6% 0.139 136.8)

  9. Step 800

    800

    #2D5D12

    oklch(42.8% 0.116 136.9)

  10. Step 900

    900

    #294C17

    oklch(37.7% 0.09 136.6)

  11. Step 950

    950

    #182D0F

    oklch(27.1% 0.058 137.2)

Export this scale for Tailwind in the Tailwind colors tool

#3D791B 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)#7D6E070.087
Deuteranopia (no green cones)#7569250.088
Tritanopia (no blue cones)#3A74670.099
Achromatopsia (no color)#6B6B6B0.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #3D791B

    #3D791B

    oklch(51.6% 0.139 136.8)

  • #874A9C

    #874A9C

    oklch(51.6% 0.139 316.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3D791B

    #3D791B

    oklch(51.6% 0.139 136.8)

  • #706B00

    #706B00

    oklch(51.6% 0.11 106.5)

  • #007B5A

    #007B5A

    oklch(51.7% 0.107 166.3)

Open the analogous palette in the generator

Split complementary

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

  • #3D791B

    #3D791B

    oklch(51.6% 0.139 136.8)

  • #6457B3

    #6457B3

    oklch(51.5% 0.141 286.9)

  • #9E4077

    #9E4077

    oklch(51.5% 0.14 347)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3D791B

    #3D791B

    oklch(51.6% 0.139 136.8)

  • #2B67B6

    #2B67B6

    oklch(51.7% 0.139 256.6)

  • #A93F4A

    #A93F4A

    oklch(51.7% 0.139 17.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3D791B

    #3D791B

    oklch(51.6% 0.139 136.8)

  • #007294

    #007294

    oklch(51.5% 0.1 227.4)

  • #874A9C

    #874A9C

    oklch(51.6% 0.139 316.8)

  • #A54808

    #A54808

    oklch(51.5% 0.139 46.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3D791B 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.