#2B7040

Closest named color: Dark Olive Green (#556B2F). oklch(48.8% 0.103 150.7), rgb(43, 112, 64).

Aa

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

About this color

#2B7040 is a medium-dark, moderately saturated green. In OKLCH its lightness is 49%, its chroma 0.103 and its hue 151°. 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 6.00:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.103)
Temperaturein between
Nearest nameDark Olive Green (#556B2F)
Black text3.49:1
White text6.00:1

Values

HEX#2B7040
RGBrgb(43, 112, 64)
HSLhsl(138, 45%, 30%)
OKLCHoklch(48.8% 0.103 150.7)

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 #2B7040 6.00:1 AA Lc -85.0 Fine for body text
Black text on #2B7040 3.49:1 AA large text Lc 24.3 Dividers and decoration only
#2B7040 text on white 6.00:1 AA Lc 79.8 Fine for body text
#2B7040 text on black 3.49:1 AA large text Lc -22.0 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

    #E3EDE5

    oklch(93.6% 0.015 151.8)

  3. Step 200

    200

    #CDDFD0

    oklch(88.6% 0.028 150.4)

  4. Step 300

    300

    #AACAB0

    oklch(80.8% 0.05 150.6)

  5. Step 400

    400

    #7CAF87

    oklch(70.7% 0.079 150.7)

  6. Step 500

    500

    #589B69

    oklch(63.1% 0.102 150.8)

  7. Step 600

    600

    #3A8550

    oklch(55.5% 0.111 150.8)

  8. Step 700

    700 (this color)

    #2B7040

    oklch(48.8% 0.103 150.7)

  9. Step 800

    800

    #265C36

    oklch(42.7% 0.085 150.9)

  10. Step 900

    900

    #244B2F

    oklch(37.6% 0.066 151.3)

  11. Step 950

    950

    #162C1C

    oklch(26.9% 0.041 151.6)

Export this scale for Tailwind in the Tailwind colors tool

#2B7040 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)#71673D0.088
Deuteranopia (no green cones)#6760430.086
Tritanopia (no blue cones)#176E640.056
Achromatopsia (no color)#6363630.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B7040

    #2B7040

    oklch(48.8% 0.103 150.7)

  • #81487B

    #81487B

    oklch(48.8% 0.104 331)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B7040

    #2B7040

    oklch(48.8% 0.103 150.7)

  • #58681A

    #58681A

    oklch(48.8% 0.103 120.5)

  • #007062

    #007062

    oklch(48.9% 0.089 180.2)

Open the analogous palette in the generator

Split complementary

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

  • #2B7040

    #2B7040

    oklch(48.8% 0.103 150.7)

  • #6A5191

    #6A5191

    oklch(48.9% 0.103 300.7)

  • #8E445D

    #8E445D

    oklch(48.8% 0.104 0.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B7040

    #2B7040

    oklch(48.8% 0.103 150.7)

  • #4A5B9A

    #4A5B9A

    oklch(48.7% 0.103 270.8)

  • #91473B

    #91473B

    oklch(48.8% 0.103 30.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B7040

    #2B7040

    oklch(48.8% 0.103 150.7)

  • #176694

    #176694

    oklch(48.8% 0.103 240.5)

  • #81487B

    #81487B

    oklch(48.8% 0.104 331)

  • #895015

    #895015

    oklch(48.8% 0.103 60.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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