#282E21

Closest named color: Pakistan Green (#283618). oklch(29.1% 0.024 128), rgb(40, 46, 33).

Aa

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

About this color

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

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

Values

HEX#282E21
RGBrgb(40, 46, 33)
HSLhsl(88, 16%, 15%)
OKLCHoklch(29.1% 0.024 128)

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 #282E21 13.97:1 AAA Lc -103.6 Preferred for body text
Black text on #282E21 1.50:1 Fails Lc 0.0 Not readable
#282E21 text on white 13.97:1 AAA Lc 100.6 Preferred for body text
#282E21 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

    #E8EBE5

    oklch(93.6% 0.009 128.6)

  3. Step 200

    200

    #D6DBD0

    oklch(88.4% 0.016 126.8)

  4. Step 300

    300

    #BBC4B1

    oklch(80.8% 0.028 127.8)

  5. Step 400

    400

    #98A688

    oklch(70.6% 0.045 127.9)

  6. Step 500

    500

    #7F916A

    oklch(63.2% 0.06 128.2)

  7. Step 600

    600

    #687B52

    oklch(55.6% 0.065 128.5)

  8. Step 700

    700

    #576742

    oklch(49% 0.059 127.5)

  9. Step 800

    800

    #475437

    oklch(42.6% 0.049 127.9)

  10. Step 900

    900

    #3C4630

    oklch(37.8% 0.038 128)

  11. Step 950

    950 (this color)

    #282E21

    oklch(29.1% 0.024 128)

Export this scale for Tailwind in the Tailwind colors tool

#282E21 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)#2F2C200.013
Deuteranopia (no green cones)#2E2C220.013
Tritanopia (no blue cones)#292D2A0.018
Achromatopsia (no color)#2C2C2C0.024

Harmonies

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

Complementary

The opposite hue (180°).

  • #282E21

    #282E21

    oklch(29.1% 0.024 128)

  • #2F2835

    #2F2835

    oklch(29% 0.025 309.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282E21

    #282E21

    oklch(29.1% 0.024 128)

  • #2F2C1E

    #2F2C1E

    oklch(29.2% 0.024 97.5)

  • #212F27

    #212F27

    oklch(29% 0.024 159.4)

Open the analogous palette in the generator

Split complementary

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

  • #282E21

    #282E21

    oklch(29.1% 0.024 128)

  • #292B38

    #292B38

    oklch(29.3% 0.024 278)

  • #342730

    #342730

    oklch(29.1% 0.025 337.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282E21

    #282E21

    oklch(29.1% 0.024 128)

  • #222D37

    #222D37

    oklch(29.1% 0.024 246.2)

  • #372729

    #372729

    oklch(29.2% 0.024 10.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282E21

    #282E21

    oklch(29.1% 0.024 128)

  • #1D2F34

    #1D2F34

    oklch(29.2% 0.025 217.1)

  • #2F2835

    #2F2835

    oklch(29% 0.025 309.1)

  • #372823

    #372823

    oklch(29.3% 0.024 39.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #282E21 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.