#2F6840

Closest named color: Pine (#2B5D34). oklch(46.7% 0.089 151.3), rgb(47, 104, 64).

Aa

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

About this color

#2F6840 is a medium-dark, moderately saturated green. In OKLCH its lightness is 47%, its chroma 0.089 and its hue 151°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.036 away. White text reads best on it, at 6.61:1.

Hue familyGreens
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest namePine (#2B5D34)
Black text3.17:1
White text6.61:1

Values

HEX#2F6840
RGBrgb(47, 104, 64)
HSLhsl(138, 38%, 30%)
OKLCHoklch(46.7% 0.089 151.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 #2F6840 6.61:1 AA Lc -87.6 Fine for body text
Black text on #2F6840 3.17:1 AA large text Lc 21.5 Dividers and decoration only
#2F6840 text on white 6.61:1 AA Lc 82.5 Fine for body text
#2F6840 text on black 3.17:1 AA large text Lc -19.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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CEDED1

    oklch(88.5% 0.025 151.1)

  4. Step 300

    300

    #ADC9B3

    oklch(80.9% 0.043 151.7)

  5. Step 400

    400

    #81AD8B

    oklch(70.6% 0.068 151.3)

  6. Step 500

    500

    #60996E

    oklch(63.1% 0.088 151)

  7. Step 600

    600

    #458356

    oklch(55.6% 0.095 151.1)

  8. Step 700

    700 (this color)

    #2F6840

    oklch(46.7% 0.089 151.3)

  9. Step 800

    800

    #2D5A3A

    oklch(42.6% 0.073 151.6)

  10. Step 900

    900

    #294A32

    oklch(37.6% 0.057 151.6)

  11. Step 950

    950

    #192C1D

    oklch(27.2% 0.037 150)

Export this scale for Tailwind in the Tailwind colors tool

#2F6840 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)#68603D0.075
Deuteranopia (no green cones)#605B420.072
Tritanopia (no blue cones)#22665E0.049
Achromatopsia (no color)#5D5D5D0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F6840

    #2F6840

    oklch(46.7% 0.089 151.3)

  • #764771

    #764771

    oklch(46.8% 0.088 330.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F6840

    #2F6840

    oklch(46.7% 0.089 151.3)

  • #536123

    #536123

    oklch(46.7% 0.088 120.6)

  • #00695D

    #00695D

    oklch(46.7% 0.084 181.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F6840

    #2F6840

    oklch(46.7% 0.089 151.3)

  • #634D84

    #634D84

    oklch(46.7% 0.09 301.4)

  • #824357

    #824357

    oklch(46.7% 0.089 0.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F6840

    #2F6840

    oklch(46.7% 0.089 151.3)

  • #48568C

    #48568C

    oklch(46.7% 0.09 271.6)

  • #84463A

    #84463A

    oklch(46.7% 0.088 32.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F6840

    #2F6840

    oklch(46.7% 0.089 151.3)

  • #246087

    #246087

    oklch(46.9% 0.088 240.9)

  • #764771

    #764771

    oklch(46.8% 0.088 330.7)

  • #7D4D1F

    #7D4D1F

    oklch(46.6% 0.088 61.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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