#282C1C

Closest named color: Pakistan Green (#283618). oklch(28.4% 0.028 119.6), rgb(40, 44, 28).

Aa

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

About this color

#282C1C is a dark close to neutral grey. In OKLCH its lightness is 28%, its chroma 0.028. 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 14.31:1.

Hue familyNeutrals
Lightnessdark (28%)
Chromaclose to neutral grey (0.028)
Temperatureneutral
Nearest namePakistan Green (#283618)
Black text1.46:1
White text14.31:1

Values

HEX#282C1C
RGBrgb(40, 44, 28)
HSLhsl(75, 22%, 14%)
OKLCHoklch(28.4% 0.028 119.6)

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 #282C1C 14.31:1 AAA Lc -104.0 Preferred for body text
Black text on #282C1C 1.46:1 Fails Lc 0.0 Not readable
#282C1C text on white 14.31:1 AAA Lc 101.1 Preferred for body text
#282C1C text on black 1.46: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

    #BEC4AC

    oklch(80.9% 0.034 118.6)

  5. Step 400

    400

    #9CA680

    oklch(70.7% 0.054 119.8)

  6. Step 500

    500

    #849060

    oklch(63.1% 0.069 119.8)

  7. Step 600

    600

    #6E7A47

    oklch(55.7% 0.074 119.7)

  8. Step 700

    700

    #5C6738

    oklch(49.2% 0.07 119.8)

  9. Step 800

    800

    #4B542F

    oklch(42.8% 0.058 120.1)

  10. Step 900

    900

    #3F452A

    oklch(37.7% 0.044 118.8)

  11. Step 950

    950 (this color)

    #282C1C

    oklch(28.4% 0.028 119.6)

Export this scale for Tailwind in the Tailwind colors tool

#282C1C 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)#2E2A1B0.012
Deuteranopia (no green cones)#2E2A1D0.013
Tritanopia (no blue cones)#292A280.025
Achromatopsia (no color)#2A2A2A0.028

Harmonies

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

Complementary

The opposite hue (180°).

  • #282C1C

    #282C1C

    oklch(28.4% 0.028 119.6)

  • #2C2736

    #2C2736

    oklch(28.5% 0.028 299.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282C1C

    #282C1C

    oklch(28.4% 0.028 119.6)

  • #2F2919

    #2F2919

    oklch(28.3% 0.028 89.8)

  • #202E22

    #202E22

    oklch(28.4% 0.029 148.6)

Open the analogous palette in the generator

Split complementary

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

  • #282C1C

    #282C1C

    oklch(28.4% 0.028 119.6)

  • #242938

    #242938

    oklch(28.3% 0.029 270.2)

  • #322531

    #322531

    oklch(28.5% 0.028 328.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282C1C

    #282C1C

    oklch(28.4% 0.028 119.6)

  • #1D2C37

    #1D2C37

    oklch(28.5% 0.029 240.8)

  • #362429

    #362429

    oklch(28.4% 0.029 0.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282C1C

    #282C1C

    oklch(28.4% 0.028 119.6)

  • #182E32

    #182E32

    oklch(28.5% 0.029 210.4)

  • #2C2736

    #2C2736

    oklch(28.5% 0.028 299.9)

  • #372522

    #372522

    oklch(28.5% 0.028 29.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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