#282D12

Closest named color: Pakistan Green (#283618). oklch(28.5% 0.045 118), rgb(40, 45, 18).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (28%)
Chromamuted (0.045)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.47:1
White text14.24:1

Values

HEX#282D12
RGBrgb(40, 45, 18)
HSLhsl(71, 43%, 12%)
OKLCHoklch(28.5% 0.045 118)

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 #282D12 14.24:1 AAA Lc -103.9 Preferred for body text
Black text on #282D12 1.47:1 Fails Lc 0.0 Not readable
#282D12 text on white 14.24:1 AAA Lc 100.9 Preferred for body text
#282D12 text on black 1.47: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

    #D7DCC7

    oklch(88.5% 0.029 117.9)

  4. Step 300

    300

    #BDC69F

    oklch(80.9% 0.054 118.2)

  5. Step 400

    400

    #9CA86B

    oklch(70.7% 0.084 117.7)

  6. Step 500

    500

    #849241

    oklch(63.1% 0.108 117.8)

  7. Step 600

    600

    #6E7C1C

    oklch(55.6% 0.118 117.8)

  8. Step 700

    700

    #5C680C

    oklch(49% 0.109 117.5)

  9. Step 800

    800

    #4B5510

    oklch(42.7% 0.09 117.7)

  10. Step 900

    900

    #3E4616

    oklch(37.6% 0.07 117.9)

  11. Step 950

    950 (this color)

    #282D12

    oklch(28.5% 0.045 118)

Export this scale for Tailwind in the Tailwind colors tool

#282D12 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)#302B100.015
Deuteranopia (no green cones)#302B130.016
Tritanopia (no blue cones)#2A2B270.038
Achromatopsia (no color)#2B2B2B0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #282D12

    #282D12

    oklch(28.5% 0.045 118)

  • #2D253D

    #2D253D

    oklch(28.5% 0.044 298.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282D12

    #282D12

    oklch(28.5% 0.045 118)

  • #33290D

    #33290D

    oklch(28.5% 0.045 89.6)

  • #1A301D

    #1A301D

    oklch(28.5% 0.045 147.6)

Open the analogous palette in the generator

Split complementary

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

  • #282D12

    #282D12

    oklch(28.5% 0.045 118)

  • #202940

    #202940

    oklch(28.4% 0.044 267.3)

  • #362235

    #362235

    oklch(28.5% 0.044 328.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282D12

    #282D12

    oklch(28.5% 0.045 118)

  • #122D3E

    #122D3E

    oklch(28.5% 0.045 238.8)

  • #3C202A

    #3C202A

    oklch(28.4% 0.046 357.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282D12

    #282D12

    oklch(28.5% 0.045 118)

  • #063036

    #063036

    oklch(28.5% 0.045 209.2)

  • #2D253D

    #2D253D

    oklch(28.5% 0.044 298.9)

  • #3D211D

    #3D211D

    oklch(28.4% 0.044 28.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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