#2D3F2F

Closest named color: Onyx (#343A40). oklch(34.7% 0.036 147.7), rgb(45, 63, 47).

Aa

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

About this color

#2D3F2F is a dark, muted green. In OKLCH its lightness is 35%, its chroma 0.036 and its hue 148°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.041 away. White text reads best on it, at 11.26:1.

Hue familyGreens
Lightnessdark (35%)
Chromamuted (0.036)
Temperaturein between
Nearest nameOnyx (#343A40)
Black text1.86:1
White text11.26:1

Values

HEX#2D3F2F
RGBrgb(45, 63, 47)
HSLhsl(127, 17%, 21%)
OKLCHoklch(34.7% 0.036 147.7)

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 #2D3F2F 11.26:1 AAA Lc -99.8 Preferred for body text
Black text on #2D3F2F 1.86:1 Fails Lc 7.9 Not readable
#2D3F2F text on white 11.26:1 AAA Lc 96.0 Preferred for body text
#2D3F2F text on black 1.86:1 Fails Lc 0.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 900.

  1. Step 50

    50

    #F4F6F4

    oklch(97.1% 0.003 145.5)

  2. Step 100

    100

    #E6EBE7

    oklch(93.5% 0.008 151.9)

  3. Step 200

    200

    #D3DCD4

    oklch(88.5% 0.015 148.8)

  4. Step 300

    300

    #B6C6B7

    oklch(81% 0.027 147.1)

  5. Step 400

    400

    #8FA892

    oklch(70.6% 0.042 148.5)

  6. Step 500

    500

    #739377

    oklch(63.1% 0.055 148.3)

  7. Step 600

    600

    #5B7D5F

    oklch(55.5% 0.06 147.8)

  8. Step 700

    700

    #4B6A4F

    oklch(49.2% 0.056 148)

  9. Step 800

    800

    #3E5640

    oklch(42.7% 0.046 146.8)

  10. Step 900

    900 (this color)

    #2D3F2F

    oklch(34.7% 0.036 147.7)

  11. Step 950

    950

    #1F2A20

    oklch(27.1% 0.024 147.3)

Export this scale for Tailwind in the Tailwind colors tool

#2D3F2F 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)#403C2E0.030
Deuteranopia (no green cones)#3D3A300.030
Tritanopia (no blue cones)#2B3E3B0.022
Achromatopsia (no color)#3B3B3B0.036

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D3F2F

    #2D3F2F

    oklch(34.7% 0.036 147.7)

  • #443343

    #443343

    oklch(34.6% 0.036 328.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D3F2F

    #2D3F2F

    oklch(34.7% 0.036 147.7)

  • #383C27

    #383C27

    oklch(34.6% 0.035 117)

  • #24403A

    #24403A

    oklch(34.7% 0.036 178.9)

Open the analogous palette in the generator

Split complementary

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

  • #2D3F2F

    #2D3F2F

    oklch(34.7% 0.036 147.7)

  • #3C364A

    #3C364A

    oklch(34.7% 0.035 298.3)

  • #49323A

    #49323A

    oklch(34.7% 0.036 356.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D3F2F

    #2D3F2F

    oklch(34.7% 0.036 147.7)

  • #31394D

    #31394D

    oklch(34.6% 0.037 267.6)

  • #4B332F

    #4B332F

    oklch(34.8% 0.036 29.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D3F2F

    #2D3F2F

    oklch(34.7% 0.036 147.7)

  • #273D4A

    #273D4A

    oklch(34.7% 0.036 235.2)

  • #443343

    #443343

    oklch(34.6% 0.036 328.2)

  • #483527

    #483527

    oklch(34.6% 0.036 57.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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