#2F4F40

Closest named color: Dark Slate Gray (#2F4F4F). oklch(39.8% 0.046 163.1), rgb(47, 79, 64).

Aa

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

About this color

#2F4F40 is a dark, muted green. In OKLCH its lightness is 40%, its chroma 0.046 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.025 away. White text reads best on it, at 9.07:1.

Hue familyGreens
Lightnessdark (40%)
Chromamuted (0.046)
Temperaturein between
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.31:1
White text9.07:1

Values

HEX#2F4F40
RGBrgb(47, 79, 64)
HSLhsl(152, 25%, 25%)
OKLCHoklch(39.8% 0.046 163.1)

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 #2F4F40 9.07:1 AAA Lc -95.2 Preferred for body text
Black text on #2F4F40 2.31:1 Fails Lc 13.2 Not readable
#2F4F40 text on white 9.07:1 AAA Lc 90.8 Preferred for body text
#2F4F40 text on black 2.31:1 Fails Lc -11.5 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 900.

  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

    #CEDDD5

    oklch(88.4% 0.019 162.9)

  4. Step 300

    300

    #ADC8BA

    oklch(80.9% 0.035 163)

  5. Step 400

    400

    #81AC97

    oklch(70.7% 0.056 163.4)

  6. Step 500

    500

    #60977D

    oklch(63% 0.071 163)

  7. Step 600

    600

    #458166

    oklch(55.4% 0.076 163.1)

  8. Step 700

    700

    #366D55

    oklch(49% 0.071 163.4)

  9. Step 800

    800

    #2E5946

    oklch(42.7% 0.058 163.6)

  10. Step 900

    900 (this color)

    #2F4F40

    oklch(39.8% 0.046 163.1)

  11. Step 950

    950

    #192B22

    oklch(27% 0.029 161.9)

Export this scale for Tailwind in the Tailwind colors tool

#2F4F40 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)#4E4B3F0.045
Deuteranopia (no green cones)#4947410.044
Tritanopia (no blue cones)#274F4B0.019
Achromatopsia (no color)#4848480.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F4F40

    #2F4F40

    oklch(39.8% 0.046 163.1)

  • #593D4E

    #593D4E

    oklch(39.8% 0.047 342.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F4F40

    #2F4F40

    oklch(39.8% 0.046 163.1)

  • #3D4D33

    #3D4D33

    oklch(39.9% 0.047 133.8)

  • #264F4E

    #264F4E

    oklch(39.8% 0.046 193.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F4F40

    #2F4F40

    oklch(39.8% 0.046 163.1)

  • #504059

    #504059

    oklch(39.8% 0.046 313.2)

  • #5D3D40

    #5D3D40

    oklch(39.8% 0.045 13.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F4F40

    #2F4F40

    oklch(39.8% 0.046 163.1)

  • #43445F

    #43445F

    oklch(39.7% 0.045 282.5)

  • #5C3F33

    #5C3F33

    oklch(39.7% 0.045 43.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F4F40

    #2F4F40

    oklch(39.8% 0.046 163.1)

  • #35495F

    #35495F

    oklch(39.8% 0.045 251.3)

  • #593D4E

    #593D4E

    oklch(39.8% 0.047 342.4)

  • #56432B

    #56432B

    oklch(39.7% 0.045 72.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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