#2F5747

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.2% 0.053 166.2), rgb(47, 87, 71).

Aa

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

About this color

#2F5747 is a dark, muted green. In OKLCH its lightness is 42%, its chroma 0.053 and its hue 166°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.034 away. White text reads best on it, at 8.15:1.

Hue familyGreens
Lightnessdark (42%)
Chromamuted (0.053)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.57:1
White text8.15:1

Values

HEX#2F5747
RGBrgb(47, 87, 71)
HSLhsl(156, 30%, 26%)
OKLCHoklch(42.2% 0.053 166.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 #2F5747 8.15:1 AAA Lc -92.8 Preferred for body text
Black text on #2F5747 2.57:1 Fails Lc 15.9 Dividers and decoration only
#2F5747 text on white 8.15:1 AAA Lc 88.1 Fine for body text
#2F5747 text on black 2.57:1 Fails Lc -14.0 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

    #F3F6F5

    oklch(97.1% 0.003 174.5)

  2. Step 100

    100

    #E5ECE8

    oklch(93.7% 0.009 161.3)

  3. Step 200

    200

    #CFDDD6

    oklch(88.5% 0.018 164.6)

  4. Step 300

    300

    #AFC7BC

    oklch(80.8% 0.03 166.3)

  5. Step 400

    400

    #84AB9A

    oklch(70.8% 0.049 166.5)

  6. Step 500

    500

    #639681

    oklch(63.1% 0.063 166.6)

  7. Step 600

    600

    #49806A

    oklch(55.5% 0.068 166.3)

  8. Step 700

    700

    #3A6C58

    oklch(49% 0.064 166)

  9. Step 800

    800 (this color)

    #2F5747

    oklch(42.2% 0.053 166.2)

  10. Step 900

    900

    #2B493D

    oklch(37.8% 0.042 166.9)

  11. Step 950

    950

    #1A2B23

    oklch(27.1% 0.027 163.6)

Export this scale for Tailwind in the Tailwind colors tool

#2F5747 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)#5552460.053
Deuteranopia (no green cones)#4F4D480.052
Tritanopia (no blue cones)#2357520.020
Achromatopsia (no color)#4F4F4F0.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5747

    #2F5747

    oklch(42.2% 0.053 166.2)

  • #634254

    #634254

    oklch(42.3% 0.053 345.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5747

    #2F5747

    oklch(42.2% 0.053 166.2)

  • #405437

    #405437

    oklch(42.1% 0.053 136.2)

  • #255757

    #255757

    oklch(42.3% 0.054 195.3)

Open the analogous palette in the generator

Split complementary

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

  • #2F5747

    #2F5747

    oklch(42.2% 0.053 166.2)

  • #594561

    #594561

    oklch(42.2% 0.052 316.1)

  • #684244

    #684244

    oklch(42.4% 0.053 16.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5747

    #2F5747

    oklch(42.2% 0.053 166.2)

  • #4B496A

    #4B496A

    oklch(42.1% 0.054 286.6)

  • #664435

    #664435

    oklch(42.1% 0.053 44.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5747

    #2F5747

    oklch(42.2% 0.053 166.2)

  • #3A4F6B

    #3A4F6B

    oklch(42.3% 0.054 255.8)

  • #634254

    #634254

    oklch(42.3% 0.053 345.7)

  • #5E4A2B

    #5E4A2B

    oklch(42.2% 0.053 77.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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