#2F7307

Closest named color: Tree Green (#2A7E19). oklch(49.2% 0.148 137.9), rgb(47, 115, 7).

Aa

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

About this color

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

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

Values

HEX#2F7307
RGBrgb(47, 115, 7)
HSLhsl(98, 89%, 24%)
OKLCHoklch(49.2% 0.148 137.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 #2F7307 5.87:1 AA Lc -84.2 Fine for body text
Black text on #2F7307 3.57:1 AA large text Lc 25.1 Dividers and decoration only
#2F7307 text on white 5.87:1 AA Lc 79.0 Fine for body text
#2F7307 text on black 3.57:1 AA large text Lc -22.8 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

    #CDE0C6

    oklch(88.5% 0.041 137.2)

  4. Step 300

    300

    #AACC9F

    oklch(80.8% 0.072 138.1)

  5. Step 400

    400

    #7DB16A

    oklch(70.6% 0.113 137.7)

  6. Step 500

    500

    #5A9D3F

    oklch(63% 0.146 137.7)

  7. Step 600

    600

    #3D8718

    oklch(55.5% 0.159 137.8)

  8. Step 700

    700 (this color)

    #2F7307

    oklch(49.2% 0.148 137.9)

  9. Step 800

    800

    #285D0D

    oklch(42.6% 0.122 137.8)

  10. Step 900

    900

    #254D15

    oklch(37.7% 0.096 138.1)

  11. Step 950

    950

    #172D0E

    oklch(27% 0.06 137.5)

Export this scale for Tailwind in the Tailwind colors tool

#2F7307 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.096
Deuteranopia (no green cones)#6F62180.096
Tritanopia (no blue cones)#296F610.103
Achromatopsia (no color)#6565650.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7307

    #2F7307

    oklch(49.2% 0.148 137.9)

  • #824096

    #824096

    oklch(49.1% 0.147 317.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7307

    #2F7307

    oklch(49.2% 0.148 137.9)

  • #676500

    #676500

    oklch(49.2% 0.106 108.4)

  • #007356

    #007356

    oklch(49.3% 0.1 167.8)

Open the analogous palette in the generator

Split complementary

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

  • #2F7307

    #2F7307

    oklch(49.2% 0.148 137.9)

  • #5F4EAF

    #5F4EAF

    oklch(49.2% 0.149 287.7)

  • #9A3570

    #9A3570

    oklch(49.3% 0.149 347.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7307

    #2F7307

    oklch(49.2% 0.148 137.9)

  • #225EB3

    #225EB3

    oklch(49.1% 0.149 258)

  • #A43340

    #A43340

    oklch(49.2% 0.148 18)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7307

    #2F7307

    oklch(49.2% 0.148 137.9)

  • #006B8B

    #006B8B

    oklch(49.2% 0.095 227.3)

  • #824096

    #824096

    oklch(49.1% 0.147 317.8)

  • #9B4300

    #9B4300

    oklch(49.2% 0.134 47.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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