#2F5F2B

Closest named color: Pine (#2B5D34). oklch(43.8% 0.097 142.2), rgb(47, 95, 43).

Aa

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

About this color

#2F5F2B is a dark, moderately saturated green. In OKLCH its lightness is 44%, its chroma 0.097 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.015 away. White text reads best on it, at 7.51:1.

Hue familyGreens
Lightnessdark (44%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.79:1
White text7.51:1

Values

HEX#2F5F2B
RGBrgb(47, 95, 43)
HSLhsl(115, 38%, 27%)
OKLCHoklch(43.8% 0.097 142.2)

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 #2F5F2B 7.51:1 AAA Lc -90.8 Preferred for body text
Black text on #2F5F2B 2.79:1 Fails Lc 18.1 Dividers and decoration only
#2F5F2B text on white 7.51:1 AAA Lc 85.9 Fine for body text
#2F5F2B text on black 2.79:1 Fails Lc -16.1 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 800.

  1. Step 50

    50

    #F3F7F2

    oklch(97.2% 0.008 139.4)

  2. Step 100

    100

    #E4EDE3

    oklch(93.7% 0.016 142.6)

  3. Step 200

    200

    #CEDFCC

    oklch(88.6% 0.031 142.3)

  4. Step 300

    300

    #ACCAA9

    oklch(80.8% 0.056 142.6)

  5. Step 400

    400

    #80AF7B

    oklch(70.7% 0.09 142.2)

  6. Step 500

    500

    #5E9B58

    oklch(63.1% 0.116 142.1)

  7. Step 600

    600

    #43853D

    oklch(55.5% 0.125 142.1)

  8. Step 700

    700

    #34712F

    oklch(49.2% 0.117 142.2)

  9. Step 800

    800 (this color)

    #2F5F2B

    oklch(43.8% 0.097 142.2)

  10. Step 900

    900

    #284B25

    oklch(37.6% 0.075 142.3)

  11. Step 950

    950

    #182C16

    oklch(26.9% 0.047 142.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F5F2B 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)#6157260.070
Deuteranopia (no green cones)#5A532F0.069
Tritanopia (no blue cones)#295C530.063
Achromatopsia (no color)#5454540.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5F2B

    #2F5F2B

    oklch(43.8% 0.097 142.2)

  • #6B3E71

    #6B3E71

    oklch(43.8% 0.097 322.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5F2B

    #2F5F2B

    oklch(43.8% 0.097 142.2)

  • #535701

    #535701

    oklch(43.8% 0.097 112.8)

  • #00614D

    #00614D

    oklch(43.9% 0.085 172.3)

Open the analogous palette in the generator

Split complementary

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

  • #2F5F2B

    #2F5F2B

    oklch(43.8% 0.097 142.2)

  • #544682

    #544682

    oklch(43.7% 0.097 292.7)

  • #793957

    #793957

    oklch(43.8% 0.096 352.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5F2B

    #2F5F2B

    oklch(43.8% 0.097 142.2)

  • #345087

    #345087

    oklch(43.7% 0.097 262.7)

  • #7F3939

    #7F3939

    oklch(43.8% 0.097 21.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5F2B

    #2F5F2B

    oklch(43.8% 0.097 142.2)

  • #005A7B

    #005A7B

    oklch(43.9% 0.09 232.1)

  • #6B3E71

    #6B3E71

    oklch(43.8% 0.097 322.7)

  • #7B4017

    #7B4017

    oklch(43.8% 0.097 51.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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