#2A2E1F

Closest named color: Pakistan Green (#283618). oklch(29.2% 0.027 120.2), rgb(42, 46, 31).

Aa

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

About this color

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

Hue familyNeutrals
Lightnessdark (29%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest namePakistan Green (#283618)
Black text1.50:1
White text13.91:1

Values

HEX#2A2E1F
RGBrgb(42, 46, 31)
HSLhsl(76, 19%, 15%)
OKLCHoklch(29.2% 0.027 120.2)

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 #2A2E1F 13.91:1 AAA Lc -103.6 Preferred for body text
Black text on #2A2E1F 1.50:1 Fails Lc 0.0 Not readable
#2A2E1F text on white 13.91:1 AAA Lc 100.5 Preferred for body text
#2A2E1F text on black 1.50: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

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D7DBCE

    oklch(88.5% 0.018 120.7)

  4. Step 300

    300

    #BEC4AE

    oklch(81% 0.031 119.5)

  5. Step 400

    400

    #9CA683

    oklch(70.8% 0.05 120.6)

  6. Step 500

    500

    #849063

    oklch(63.2% 0.065 120.4)

  7. Step 600

    600

    #6E7A4A

    oklch(55.7% 0.071 120.2)

  8. Step 700

    700

    #5C663B

    oklch(49% 0.065 119.5)

  9. Step 800

    800

    #4B5331

    oklch(42.6% 0.053 119.5)

  10. Step 900

    900

    #3E452B

    oklch(37.6% 0.043 120.7)

  11. Step 950

    950 (this color)

    #2A2E1F

    oklch(29.2% 0.027 120.2)

Export this scale for Tailwind in the Tailwind colors tool

#2A2E1F 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)#302C1E0.012
Deuteranopia (no green cones)#2F2C200.011
Tritanopia (no blue cones)#2B2C2A0.023
Achromatopsia (no color)#2C2C2C0.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2E1F

    #2A2E1F

    oklch(29.2% 0.027 120.2)

  • #2E2937

    #2E2937

    oklch(29.2% 0.026 301.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2E1F

    #2A2E1F

    oklch(29.2% 0.027 120.2)

  • #312B1D

    #312B1D

    oklch(29.1% 0.025 87.5)

  • #223025

    #223025

    oklch(29.3% 0.027 151)

Open the analogous palette in the generator

Split complementary

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

  • #2A2E1F

    #2A2E1F

    oklch(29.2% 0.027 120.2)

  • #272B39

    #272B39

    oklch(29.1% 0.026 272.3)

  • #342732

    #342732

    oklch(29.2% 0.027 331.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2E1F

    #2A2E1F

    oklch(29.2% 0.027 120.2)

  • #202E38

    #202E38

    oklch(29.3% 0.026 239.9)

  • #37262B

    #37262B

    oklch(29.1% 0.027 359.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2E1F

    #2A2E1F

    oklch(29.2% 0.027 120.2)

  • #1C3033

    #1C3033

    oklch(29.4% 0.026 207.8)

  • #2E2937

    #2E2937

    oklch(29.2% 0.026 301.1)

  • #382724

    #382724

    oklch(29.2% 0.026 30.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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