#2F5945

Closest named color: Pine (#2B5D34). oklch(42.7% 0.058 161.9), rgb(47, 89, 69).

Aa

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

About this color

#2F5945 is a dark, muted green. In OKLCH its lightness is 43%, its chroma 0.058 and its hue 162°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine (#2B5D34), ΔE 0.033 away. White text reads best on it, at 7.96:1.

Hue familyGreens
Lightnessdark (43%)
Chromamuted (0.058)
Temperaturein between
Nearest namePine (#2B5D34)
Black text2.63:1
White text7.96:1

Values

HEX#2F5945
RGBrgb(47, 89, 69)
HSLhsl(151, 31%, 27%)
OKLCHoklch(42.7% 0.058 161.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 #2F5945 7.96:1 AAA Lc -92.2 Preferred for body text
Black text on #2F5945 2.63:1 Fails Lc 16.5 Dividers and decoration only
#2F5945 text on white 7.96:1 AAA Lc 87.5 Fine for body text
#2F5945 text on black 2.63:1 Fails Lc -14.6 Not readable

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

    #F3F6F4

    oklch(97% 0.004 157.2)

  2. Step 100

    100

    #E4ECE8

    oklch(93.6% 0.01 164.9)

  3. Step 200

    200

    #CFDDD5

    oklch(88.5% 0.019 161.1)

  4. Step 300

    300

    #AEC8BA

    oklch(80.9% 0.034 162.1)

  5. Step 400

    400

    #82AC96

    oklch(70.7% 0.056 161.7)

  6. Step 500

    500

    #62977C

    oklch(63.1% 0.07 161.3)

  7. Step 600

    600

    #478166

    oklch(55.5% 0.075 162.5)

  8. Step 700

    700

    #386D54

    oklch(49% 0.07 161.8)

  9. Step 800

    800 (this color)

    #2F5945

    oklch(42.7% 0.058 161.9)

  10. Step 900

    900

    #2A493A

    oklch(37.6% 0.045 162.2)

  11. Step 950

    950

    #192B22

    oklch(27% 0.029 161.9)

Export this scale for Tailwind in the Tailwind colors tool

#2F5945 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)#5854440.056
Deuteranopia (no green cones)#514F460.054
Tritanopia (no blue cones)#2459530.023
Achromatopsia (no color)#5151510.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5945

    #2F5945

    oklch(42.7% 0.058 161.9)

  • #654258

    #654258

    oklch(42.7% 0.058 341.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5945

    #2F5945

    oklch(42.7% 0.058 161.9)

  • #435634

    #435634

    oklch(42.8% 0.058 132.2)

  • #215957

    #215957

    oklch(42.7% 0.058 191.9)

Open the analogous palette in the generator

Split complementary

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

  • #2F5945

    #2F5945

    oklch(42.7% 0.058 161.9)

  • #5A4666

    #5A4666

    oklch(42.8% 0.057 312.4)

  • #6B4146

    #6B4146

    oklch(42.6% 0.059 12.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5945

    #2F5945

    oklch(42.7% 0.058 161.9)

  • #4A4B6E

    #4A4B6E

    oklch(42.7% 0.058 282.4)

  • #6A4435

    #6A4435

    oklch(42.6% 0.058 42.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5945

    #2F5945

    oklch(42.7% 0.058 161.9)

  • #37516E

    #37516E

    oklch(42.7% 0.058 251.9)

  • #654258

    #654258

    oklch(42.7% 0.058 341.7)

  • #634A29

    #634A29

    oklch(42.8% 0.059 72.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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