#282C12

Closest named color: Pakistan Green (#283618). oklch(28.2% 0.043 116.4), rgb(40, 44, 18).

Aa

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

About this color

#282C12 is a dark, muted brown. In OKLCH its lightness is 28%, its chroma 0.043 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pakistan Green (#283618), ΔE 0.033 away. White text reads best on it, at 14.39:1.

Hue familyBrowns
Lightnessdark (28%)
Chromamuted (0.043)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.45:1
White text14.39:1

Values

HEX#282C12
RGBrgb(40, 44, 18)
HSLhsl(69, 42%, 12%)
OKLCHoklch(28.2% 0.043 116.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 #282C12 14.39:1 AAA Lc -104.1 Preferred for body text
Black text on #282C12 1.45:1 Fails Lc 0.0 Not readable
#282C12 text on white 14.39:1 AAA Lc 101.1 Preferred for body text
#282C12 text on black 1.45: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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE0

    oklch(93.6% 0.015 115)

  3. Step 200

    200

    #D8DCC7

    oklch(88.6% 0.029 115.7)

  4. Step 300

    300

    #BEC5A0

    oklch(80.8% 0.051 116.3)

  5. Step 400

    400

    #9DA76C

    oklch(70.6% 0.081 116.4)

  6. Step 500

    500

    #869143

    oklch(63% 0.104 116.1)

  7. Step 600

    600

    #707B20

    oklch(55.6% 0.113 116.2)

  8. Step 700

    700

    #5E6811

    oklch(49.2% 0.106 116.4)

  9. Step 800

    800

    #4C5513

    oklch(42.8% 0.088 117.1)

  10. Step 900

    900

    #3F4618

    oklch(37.7% 0.068 117)

  11. Step 950

    950 (this color)

    #282C12

    oklch(28.2% 0.043 116.4)

Export this scale for Tailwind in the Tailwind colors tool

#282C12 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)#2F2A100.013
Deuteranopia (no green cones)#2F2A130.015
Tritanopia (no blue cones)#2A2A260.036
Achromatopsia (no color)#2A2A2A0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #282C12

    #282C12

    oklch(28.2% 0.043 116.4)

  • #2B253C

    #2B253C

    oklch(28.2% 0.042 295.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282C12

    #282C12

    oklch(28.2% 0.043 116.4)

  • #33280E

    #33280E

    oklch(28.3% 0.043 86.4)

  • #1B2F1C

    #1B2F1C

    oklch(28.2% 0.043 145.5)

Open the analogous palette in the generator

Split complementary

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

  • #282C12

    #282C12

    oklch(28.2% 0.043 116.4)

  • #1F293F

    #1F293F

    oklch(28.3% 0.043 265.1)

  • #342235

    #342235

    oklch(28.2% 0.042 324.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282C12

    #282C12

    oklch(28.2% 0.043 116.4)

  • #122C3C

    #122C3C

    oklch(28.1% 0.044 238)

  • #3A202A

    #3A202A

    oklch(28.1% 0.043 355.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282C12

    #282C12

    oklch(28.2% 0.043 116.4)

  • #072F34

    #072F34

    oklch(28.1% 0.043 207.3)

  • #2B253C

    #2B253C

    oklch(28.2% 0.042 295.6)

  • #3C211E

    #3C211E

    oklch(28.3% 0.042 26.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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