#2C2F22

Closest named color: Pakistan Green (#283618). oklch(29.8% 0.023 118.4), rgb(44, 47, 34).

Aa

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

About this color

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

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

Values

HEX#2C2F22
RGBrgb(44, 47, 34)
HSLhsl(74, 16%, 16%)
OKLCHoklch(29.8% 0.023 118.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 #2C2F22 13.66:1 AAA Lc -103.3 Preferred for body text
Black text on #2C2F22 1.53:1 Fails Lc 0.0 Not readable
#2C2F22 text on white 13.66:1 AAA Lc 100.2 Preferred for body text
#2C2F22 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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE5

    oklch(93.7% 0.008 121.6)

  3. Step 200

    200

    #D8DBD0

    oklch(88.6% 0.015 119.1)

  4. Step 300

    300

    #BEC3B0

    oklch(80.8% 0.027 119)

  5. Step 400

    400

    #9EA586

    oklch(70.8% 0.044 117.9)

  6. Step 500

    500

    #868E68

    oklch(63% 0.055 117.7)

  7. Step 600

    600

    #707850

    oklch(55.5% 0.059 117.6)

  8. Step 700

    700

    #5D6540

    oklch(49% 0.056 118.5)

  9. Step 800

    800

    #4C5335

    oklch(42.8% 0.047 119.1)

  10. Step 900

    900

    #40442E

    oklch(37.6% 0.036 116.5)

  11. Step 950

    950 (this color)

    #2C2F22

    oklch(29.8% 0.023 118.4)

Export this scale for Tailwind in the Tailwind colors tool

#2C2F22 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)#312E210.009
Deuteranopia (no green cones)#302E230.008
Tritanopia (no blue cones)#2D2E2B0.017
Achromatopsia (no color)#2E2E2E0.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C2F22

    #2C2F22

    oklch(29.8% 0.023 118.4)

  • #2F2B37

    #2F2B37

    oklch(29.8% 0.022 300.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C2F22

    #2C2F22

    oklch(29.8% 0.023 118.4)

  • #322D20

    #322D20

    oklch(29.8% 0.023 89.5)

  • #263127

    #263127

    oklch(29.9% 0.023 147.4)

Open the analogous palette in the generator

Split complementary

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

  • #2C2F22

    #2C2F22

    oklch(29.8% 0.023 118.4)

  • #282D39

    #282D39

    oklch(29.8% 0.023 267.3)

  • #342933

    #342933

    oklch(29.7% 0.024 329.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C2F22

    #2C2F22

    oklch(29.8% 0.023 118.4)

  • #232F38

    #232F38

    oklch(29.8% 0.023 240.9)

  • #37292D

    #37292D

    oklch(29.9% 0.022 359.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C2F22

    #2C2F22

    oklch(29.8% 0.023 118.4)

  • #203133

    #203133

    oklch(29.9% 0.023 205.2)

  • #2F2B37

    #2F2B37

    oklch(29.8% 0.022 300.3)

  • #382927

    #382927

    oklch(29.8% 0.023 27.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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