#2B7307

Closest named color: Tree Green (#2A7E19). oklch(49% 0.15 138.7), rgb(43, 115, 7).

Aa

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

About this color

#2B7307 is a medium-dark, vivid green. In OKLCH its lightness is 49%, its chroma 0.150 and its hue 139°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tree Green (#2A7E19), ΔE 0.033 away. White text reads best on it, at 5.90:1.

Hue familyGreens
Lightnessmedium-dark (49%)
Chromavivid (0.150)
Temperaturein between
Nearest nameTree Green (#2A7E19)
Black text3.55:1
White text5.90:1

Values

HEX#2B7307
RGBrgb(43, 115, 7)
HSLhsl(100, 89%, 24%)
OKLCHoklch(49% 0.15 138.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 #2B7307 5.90:1 AA Lc -84.3 Fine for body text
Black text on #2B7307 3.55:1 AA large text Lc 24.9 Dividers and decoration only
#2B7307 text on white 5.90:1 AA Lc 79.1 Fine for body text
#2B7307 text on black 3.55:1 AA large text Lc -22.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

    #E3EDE0

    oklch(93.5% 0.02 138.4)

  3. Step 200

    200

    #CCE0C7

    oklch(88.5% 0.04 139.4)

  4. Step 300

    300

    #A9CC9F

    oklch(80.8% 0.072 138.8)

  5. Step 400

    400

    #7BB26A

    oklch(70.7% 0.116 138.5)

  6. Step 500

    500

    #579E3F

    oklch(63.1% 0.149 138.6)

  7. Step 600

    600

    #3A8819

    oklch(55.6% 0.161 138.6)

  8. Step 700

    700 (this color)

    #2B7307

    oklch(49% 0.15 138.7)

  9. Step 800

    800

    #255E0E

    oklch(42.7% 0.124 138.8)

  10. Step 900

    900

    #244D15

    oklch(37.7% 0.097 138.5)

  11. Step 950

    950

    #162D0E

    oklch(26.9% 0.061 138.3)

Export this scale for Tailwind in the Tailwind colors tool

#2B7307 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)#7768000.099
Deuteranopia (no green cones)#6E62180.097
Tritanopia (no blue cones)#236F610.103
Achromatopsia (no color)#6464640.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B7307

    #2B7307

    oklch(49% 0.15 138.7)

  • #833E96

    #833E96

    oklch(49% 0.151 318.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B7307

    #2B7307

    oklch(49% 0.15 138.7)

  • #666500

    #666500

    oklch(49.1% 0.107 109.1)

  • #007256

    #007256

    oklch(49% 0.099 168.4)

Open the analogous palette in the generator

Split complementary

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

  • #2B7307

    #2B7307

    oklch(49% 0.15 138.7)

  • #604DAF

    #604DAF

    oklch(49.1% 0.15 288.5)

  • #9A346E

    #9A346E

    oklch(49.1% 0.149 348.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B7307

    #2B7307

    oklch(49% 0.15 138.7)

  • #235DB4

    #235DB4

    oklch(49% 0.151 258.8)

  • #A4323E

    #A4323E

    oklch(49.1% 0.149 18.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B7307

    #2B7307

    oklch(49% 0.15 138.7)

  • #006A8C

    #006A8C

    oklch(49% 0.097 229.1)

  • #833E96

    #833E96

    oklch(49% 0.151 318.5)

  • #9A4400

    #9A4400

    oklch(49.2% 0.132 48.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2B7307.

Similar named colors

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

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