#2F7138

Closest named color: Dark Olive Green (#556B2F). oklch(49.1% 0.111 146.3), rgb(47, 113, 56).

Aa

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

About this color

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

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

Values

HEX#2F7138
RGBrgb(47, 113, 56)
HSLhsl(128, 41%, 31%)
OKLCHoklch(49.1% 0.111 146.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 #2F7138 5.93:1 AA Lc -84.6 Fine for body text
Black text on #2F7138 3.54:1 AA large text Lc 24.6 Dividers and decoration only
#2F7138 text on white 5.93:1 AA Lc 79.4 Fine for body text
#2F7138 text on black 3.54:1 AA large text Lc -22.4 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

    #E4EDE4

    oklch(93.7% 0.015 145.5)

  3. Step 200

    200

    #CDDFCE

    oklch(88.5% 0.03 146.9)

  4. Step 300

    300

    #ABCAAC

    oklch(80.8% 0.053 145.9)

  5. Step 400

    400

    #7DAF81

    oklch(70.6% 0.085 146.6)

  6. Step 500

    500

    #5A9B60

    oklch(63% 0.11 146.2)

  7. Step 600

    600

    #3E8647

    oklch(55.8% 0.12 146.3)

  8. Step 700

    700 (this color)

    #2F7138

    oklch(49.1% 0.111 146.3)

  9. Step 800

    800

    #285C2F

    oklch(42.7% 0.092 146.5)

  10. Step 900

    900

    #264C2A

    oklch(37.8% 0.072 146.3)

  11. Step 950

    950

    #172C19

    oklch(26.9% 0.044 146.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F7138 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)#7367330.088
Deuteranopia (no green cones)#6A623C0.085
Tritanopia (no blue cones)#226E640.068
Achromatopsia (no color)#6464640.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7138

    #2F7138

    oklch(49.1% 0.111 146.3)

  • #814882

    #814882

    oklch(49.2% 0.112 326.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7138

    #2F7138

    oklch(49.1% 0.111 146.3)

  • #5E6804

    #5E6804

    oklch(49.2% 0.111 116.2)

  • #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°).

  • #2F7138

    #2F7138

    oklch(49.1% 0.111 146.3)

  • #675298

    #675298

    oklch(49.2% 0.11 295.9)

  • #904362

    #904362

    oklch(49.1% 0.11 356.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7138

    #2F7138

    oklch(49.1% 0.111 146.3)

  • #435DA0

    #435DA0

    oklch(49.1% 0.112 266.4)

  • #96443E

    #96443E

    oklch(49.2% 0.112 26.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7138

    #2F7138

    oklch(49.1% 0.111 146.3)

  • #006895

    #006895

    oklch(49% 0.107 237)

  • #814882

    #814882

    oklch(49.2% 0.112 326.5)

  • #8F4D12

    #8F4D12

    oklch(49.1% 0.111 56.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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