#2F5745

Closest named color: Dark Slate Gray (#2F4F4F). oklch(42.1% 0.055 163.4), rgb(47, 87, 69).

Aa

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

About this color

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

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

Values

HEX#2F5745
RGBrgb(47, 87, 69)
HSLhsl(153, 30%, 26%)
OKLCHoklch(42.1% 0.055 163.4)

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 #2F5745 8.17:1 AAA Lc -92.8 Preferred for body text
Black text on #2F5745 2.57:1 Fails Lc 15.8 Dividers and decoration only
#2F5745 text on white 8.17:1 AAA Lc 88.2 Fine for body text
#2F5745 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

    #AFC7BB

    oklch(80.8% 0.031 164.1)

  5. Step 400

    400

    #84AB98

    oklch(70.7% 0.051 163.7)

  6. Step 500

    500

    #63967E

    oklch(63% 0.066 163.4)

  7. Step 600

    600

    #498168

    oklch(55.7% 0.072 163.7)

  8. Step 700

    700

    #3A6D56

    oklch(49.2% 0.067 163.1)

  9. Step 800

    800 (this color)

    #2F5745

    oklch(42.1% 0.055 163.4)

  10. Step 900

    900

    #2B493B

    oklch(37.7% 0.044 163.2)

  11. Step 950

    950

    #1A2B23

    oklch(27.1% 0.027 163.6)

Export this scale for Tailwind in the Tailwind colors tool

#2F5745 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)#5652440.054
Deuteranopia (no green cones)#4F4D460.052
Tritanopia (no blue cones)#2457520.022
Achromatopsia (no color)#4F4F4F0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F5745

    #2F5745

    oklch(42.1% 0.055 163.4)

  • #634155

    #634155

    oklch(42.1% 0.056 343.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F5745

    #2F5745

    oklch(42.1% 0.055 163.4)

  • #415435

    #415435

    oklch(42.1% 0.055 133.9)

  • #235756

    #235756

    oklch(42.2% 0.055 193.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F5745

    #2F5745

    oklch(42.1% 0.055 163.4)

  • #584563

    #584563

    oklch(42.2% 0.054 312.8)

  • #684145

    #684145

    oklch(42.2% 0.055 13)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F5745

    #2F5745

    oklch(42.1% 0.055 163.4)

  • #494A6B

    #494A6B

    oklch(42.2% 0.055 282.5)

  • #674435

    #674435

    oklch(42.2% 0.054 44)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F5745

    #2F5745

    oklch(42.1% 0.055 163.4)

  • #384F6B

    #384F6B

    oklch(42.1% 0.055 253.8)

  • #634155

    #634155

    oklch(42.1% 0.056 343.6)

  • #60492A

    #60492A

    oklch(42.2% 0.055 73.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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