#2B7018

Closest named color: Tree Green (#2A7E19). oklch(48.3% 0.139 139.9), rgb(43, 112, 24).

Aa

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

About this color

#2B7018 is a medium-dark, moderately saturated green. In OKLCH its lightness is 48%, its chroma 0.139 and its hue 140°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.043 away. White text reads best on it, at 6.11:1.

Hue familyGreens
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.43:1
White text6.11:1

Values

HEX#2B7018
RGBrgb(43, 112, 24)
HSLhsl(107, 65%, 27%)
OKLCHoklch(48.3% 0.139 139.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 #2B7018 6.11:1 AA Lc -85.4 Fine for body text
Black text on #2B7018 3.43:1 AA large text Lc 23.9 Dividers and decoration only
#2B7018 text on white 6.11:1 AA Lc 80.2 Fine for body text
#2B7018 text on black 3.43:1 AA large text Lc -21.7 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

    #E3EDE1

    oklch(93.5% 0.019 140.5)

  3. Step 200

    200

    #CDE0C8

    oklch(88.6% 0.038 139.2)

  4. Step 300

    300

    #AACCA3

    oklch(80.9% 0.067 140.3)

  5. Step 400

    400

    #7CB170

    oklch(70.7% 0.107 139.9)

  6. Step 500

    500

    #599D49

    oklch(63.1% 0.137 139.8)

  7. Step 600

    600

    #3C8729

    oklch(55.5% 0.149 139.9)

  8. Step 700

    700 (this color)

    #2B7018

    oklch(48.3% 0.139 139.9)

  9. Step 800

    800

    #275D19

    oklch(42.6% 0.115 139.8)

  10. Step 900

    900

    #254D1B

    oklch(37.8% 0.09 139.7)

  11. Step 950

    950

    #162D11

    oklch(27% 0.057 140.1)

Export this scale for Tailwind in the Tailwind colors tool

#2B7018 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)#7365060.093
Deuteranopia (no green cones)#6B60210.093
Tritanopia (no blue cones)#226C5F0.093
Achromatopsia (no color)#6262620.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B7018

    #2B7018

    oklch(48.3% 0.139 139.9)

  • #803F8E

    #803F8E

    oklch(48.3% 0.139 320.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B7018

    #2B7018

    oklch(48.3% 0.139 139.9)

  • #636300

    #636300

    oklch(48.4% 0.105 109.8)

  • #006F56

    #006F56

    oklch(48.2% 0.095 170.2)

Open the analogous palette in the generator

Split complementary

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

  • #2B7018

    #2B7018

    oklch(48.3% 0.139 139.9)

  • #5F4CA6

    #5F4CA6

    oklch(48.2% 0.139 289.9)

  • #953669

    #953669

    oklch(48.3% 0.139 350.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B7018

    #2B7018

    oklch(48.3% 0.139 139.9)

  • #2B5BAB

    #2B5BAB

    oklch(48.2% 0.139 260)

  • #9E353D

    #9E353D

    oklch(48.4% 0.139 19.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B7018

    #2B7018

    oklch(48.3% 0.139 139.9)

  • #00688A

    #00688A

    oklch(48.4% 0.096 229.5)

  • #803F8E

    #803F8E

    oklch(48.3% 0.139 320.3)

  • #954300

    #954300

    oklch(48.2% 0.128 49.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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