#2A2E23

Closest named color: Pakistan Green (#283618). oklch(29.3% 0.02 123.9), rgb(42, 46, 35).

Aa

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

About this color

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

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

Values

HEX#2A2E23
RGBrgb(42, 46, 35)
HSLhsl(82, 14%, 16%)
OKLCHoklch(29.3% 0.02 123.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 #2A2E23 13.87:1 AAA Lc -103.5 Preferred for body text
Black text on #2A2E23 1.51:1 Fails Lc 0.0 Not readable
#2A2E23 text on white 13.87:1 AAA Lc 100.5 Preferred for body text
#2A2E23 text on black 1.51: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

    #E9EBE6

    oklch(93.7% 0.007 124.5)

  3. Step 200

    200

    #D7DBD1

    oklch(88.6% 0.014 124.6)

  4. Step 300

    300

    #BDC3B3

    oklch(80.8% 0.023 123.7)

  5. Step 400

    400

    #9BA58B

    oklch(70.7% 0.039 124.5)

  6. Step 500

    500

    #838F6E

    oklch(63.1% 0.05 124)

  7. Step 600

    600

    #6D7956

    oklch(55.6% 0.054 123.5)

  8. Step 700

    700

    #5B6647

    oklch(49.2% 0.049 124)

  9. Step 800

    800

    #4A533A

    oklch(42.7% 0.041 124.2)

  10. Step 900

    900

    #3E4532

    oklch(37.8% 0.032 124.4)

  11. Step 950

    950 (this color)

    #2A2E23

    oklch(29.3% 0.02 123.9)

Export this scale for Tailwind in the Tailwind colors tool

#2A2E23 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)#2F2D220.009
Deuteranopia (no green cones)#2F2C230.011
Tritanopia (no blue cones)#2B2D2B0.016
Achromatopsia (no color)#2C2C2C0.020

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A2E23

    #2A2E23

    oklch(29.3% 0.02 123.9)

  • #2E2A35

    #2E2A35

    oklch(29.4% 0.02 301.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A2E23

    #2A2E23

    oklch(29.3% 0.02 123.9)

  • #2F2C21

    #2F2C21

    oklch(29.3% 0.02 94.6)

  • #252F28

    #252F28

    oklch(29.3% 0.019 154.6)

Open the analogous palette in the generator

Split complementary

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

  • #2A2E23

    #2A2E23

    oklch(29.3% 0.02 123.9)

  • #292C36

    #292C36

    oklch(29.4% 0.019 272.1)

  • #332930

    #332930

    oklch(29.5% 0.019 337)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A2E23

    #2A2E23

    oklch(29.3% 0.02 123.9)

  • #242D36

    #242D36

    oklch(29.3% 0.021 248.5)

  • #35282B

    #35282B

    oklch(29.3% 0.02 3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A2E23

    #2A2E23

    oklch(29.3% 0.02 123.9)

  • #212F32

    #212F32

    oklch(29.4% 0.02 212.3)

  • #2E2A35

    #2E2A35

    oklch(29.4% 0.02 301.7)

  • #362926

    #362926

    oklch(29.5% 0.02 33.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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