#2B7138

Closest named color: Dark Olive Green (#556B2F). oklch(49% 0.113 147.3), rgb(43, 113, 56).

Aa

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

About this color

#2B7138 is a medium-dark, moderately saturated green. In OKLCH its lightness is 49%, its chroma 0.113 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Olive Green (#556B2F), ΔE 0.044 away. White text reads best on it, at 5.96:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.52:1
White text5.96:1

Values

HEX#2B7138
RGBrgb(43, 113, 56)
HSLhsl(131, 45%, 31%)
OKLCHoklch(49% 0.113 147.3)

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 #2B7138 5.96:1 AA Lc -84.7 Fine for body text
Black text on #2B7138 3.52:1 AA large text Lc 24.5 Dividers and decoration only
#2B7138 text on white 5.96:1 AA Lc 79.5 Fine for body text
#2B7138 text on black 3.52:1 AA large text Lc -22.3 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

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E3EDE4

    oklch(93.6% 0.016 148.4)

  3. Step 200

    200

    #CDDFCE

    oklch(88.5% 0.03 146.9)

  4. Step 300

    300

    #AACBAD

    oklch(81% 0.055 147.5)

  5. Step 400

    400

    #7BB081

    oklch(70.7% 0.088 147.4)

  6. Step 500

    500

    #579C61

    oklch(63.2% 0.112 147.4)

  7. Step 600

    600

    #3A8647

    oklch(55.6% 0.122 147.2)

  8. Step 700

    700 (this color)

    #2B7138

    oklch(49% 0.113 147.3)

  9. Step 800

    800

    #265C2F

    oklch(42.6% 0.093 147.1)

  10. Step 900

    900

    #244C2A

    oklch(37.7% 0.073 147.3)

  11. Step 950

    950

    #162D19

    oklch(27.2% 0.047 147.2)

Export this scale for Tailwind in the Tailwind colors tool

#2B7138 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)#7267330.089
Deuteranopia (no green cones)#69613C0.088
Tritanopia (no blue cones)#1A6F640.066
Achromatopsia (no color)#6363630.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B7138

    #2B7138

    oklch(49% 0.113 147.3)

  • #814781

    #814781

    oklch(49% 0.112 327.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B7138

    #2B7138

    oklch(49% 0.113 147.3)

  • #5C6800

    #5C6800

    oklch(49% 0.113 117.4)

  • #00715F

    #00715F

    oklch(49% 0.091 176.5)

Open the analogous palette in the generator

Split complementary

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

  • #2B7138

    #2B7138

    oklch(49% 0.113 147.3)

  • #685098

    #685098

    oklch(48.9% 0.114 297.4)

  • #914161

    #914161

    oklch(48.9% 0.114 357)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B7138

    #2B7138

    oklch(49% 0.113 147.3)

  • #445CA0

    #445CA0

    oklch(48.9% 0.113 267.5)

  • #96433C

    #96433C

    oklch(49% 0.113 26.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B7138

    #2B7138

    oklch(49% 0.113 147.3)

  • #006895

    #006895

    oklch(49% 0.107 237)

  • #814781

    #814781

    oklch(49% 0.112 327.1)

  • #8F4D0B

    #8F4D0B

    oklch(49% 0.113 57.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2B7138 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.