#2D2F1F

Closest named color: Pakistan Green (#283618). oklch(29.8% 0.028 113.9), rgb(45, 47, 31).

Aa

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

About this color

#2D2F1F is a dark close to neutral grey. In OKLCH its lightness is 30%, its chroma 0.028. It has too little chroma to lean warm or cool. The nearest named color is Pakistan Green (#283618), ΔE 0.031 away. White text reads best on it, at 13.65:1.

Hue familyNeutrals
Lightnessdark (30%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest namePakistan Green (#283618)
Black text1.53:1
White text13.65:1

Values

HEX#2D2F1F
RGBrgb(45, 47, 31)
HSLhsl(68, 21%, 15%)
OKLCHoklch(29.8% 0.028 113.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 #2D2F1F 13.65:1 AAA Lc -103.3 Preferred for body text
Black text on #2D2F1F 1.53:1 Fails Lc 0.0 Not readable
#2D2F1F text on white 13.65:1 AAA Lc 100.2 Preferred for body text
#2D2F1F text on black 1.53: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 950.

  1. Step 50

    50

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D9DBCD

    oklch(88.6% 0.019 113.4)

  4. Step 300

    300

    #C0C3AC

    oklch(80.9% 0.032 113.1)

  5. Step 400

    400

    #A0A57F

    oklch(70.8% 0.053 113.9)

  6. Step 500

    500

    #898E5F

    oklch(63.1% 0.066 113.3)

  7. Step 600

    600

    #737845

    oklch(55.6% 0.072 113.3)

  8. Step 700

    700

    #606537

    oklch(49.1% 0.067 114)

  9. Step 800

    800

    #4E522E

    oklch(42.5% 0.055 113.9)

  10. Step 900

    900

    #414429

    oklch(37.6% 0.043 113.6)

  11. Step 950

    950 (this color)

    #2D2F1F

    oklch(29.8% 0.028 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#2D2F1F 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)#312D1E0.009
Deuteranopia (no green cones)#312E200.008
Tritanopia (no blue cones)#2F2D2B0.025
Achromatopsia (no color)#2E2E2E0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D2F1F

    #2D2F1F

    oklch(29.8% 0.028 113.9)

  • #2E2B3A

    #2E2B3A

    oklch(29.9% 0.027 293.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D2F1F

    #2D2F1F

    oklch(29.8% 0.028 113.9)

  • #342C1D

    #342C1D

    oklch(29.7% 0.028 82.8)

  • #253125

    #253125

    oklch(29.8% 0.027 144.9)

Open the analogous palette in the generator

Split complementary

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

  • #2D2F1F

    #2D2F1F

    oklch(29.8% 0.028 113.9)

  • #262D3B

    #262D3B

    oklch(29.7% 0.027 264)

  • #342935

    #342935

    oklch(29.8% 0.026 323.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D2F1F

    #2D2F1F

    oklch(29.8% 0.028 113.9)

  • #1F3039

    #1F3039

    oklch(29.8% 0.028 232)

  • #39282E

    #39282E

    oklch(29.9% 0.027 355.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D2F1F

    #2D2F1F

    oklch(29.8% 0.028 113.9)

  • #1C3134

    #1C3134

    oklch(29.7% 0.027 207.2)

  • #2E2B3A

    #2E2B3A

    oklch(29.9% 0.027 293.9)

  • #3A2827

    #3A2827

    oklch(29.8% 0.027 22.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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