#282F12

Closest named color: Pakistan Green (#283618). oklch(29% 0.048 120.7), rgb(40, 47, 18).

Aa

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

About this color

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

Hue familyBrowns
Lightnessdark (29%)
Chromamuted (0.048)
Temperaturein between
Nearest namePakistan Green (#283618)
Black text1.50:1
White text13.94:1

Values

HEX#282F12
RGBrgb(40, 47, 18)
HSLhsl(74, 45%, 13%)
OKLCHoklch(29% 0.048 120.7)

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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECE0

    oklch(93.7% 0.017 121.8)

  3. Step 200

    200

    #D6DDC6

    oklch(88.6% 0.032 120.8)

  4. Step 300

    300

    #BBC79E

    oklch(81% 0.057 120.9)

  5. Step 400

    400

    #98A968

    oklch(70.6% 0.09 120.7)

  6. Step 500

    500

    #80943C

    oklch(63.2% 0.116 120.6)

  7. Step 600

    600

    #697E12

    oklch(55.7% 0.127 121)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485609

    oklch(42.6% 0.097 120.3)

  10. Step 900

    900

    #3C4713

    oklch(37.6% 0.075 120.4)

  11. Step 950

    950 (this color)

    #282F12

    oklch(29% 0.048 120.7)

Export this scale for Tailwind in the Tailwind colors tool

#282F12 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)#322C0F0.019
Deuteranopia (no green cones)#312C140.019
Tritanopia (no blue cones)#2A2C280.041
Achromatopsia (no color)#2C2C2C0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #282F12

    #282F12

    oklch(29% 0.048 120.7)

  • #2F2640

    #2F2640

    oklch(29.1% 0.048 299.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #282F12

    #282F12

    oklch(29% 0.048 120.7)

  • #342A0C

    #342A0C

    oklch(28.9% 0.047 90.6)

  • #18321F

    #18321F

    oklch(29% 0.047 151.2)

Open the analogous palette in the generator

Split complementary

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

  • #282F12

    #282F12

    oklch(29% 0.048 120.7)

  • #222A43

    #222A43

    oklch(29% 0.047 269.8)

  • #392237

    #392237

    oklch(29% 0.049 329.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #282F12

    #282F12

    oklch(29% 0.048 120.7)

  • #132E41

    #132E41

    oklch(29% 0.048 241.7)

  • #3F212A

    #3F212A

    oklch(29.1% 0.048 1.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #282F12

    #282F12

    oklch(29% 0.048 120.7)

  • #033239

    #033239

    oklch(29.1% 0.048 210.2)

  • #2F2640

    #2F2640

    oklch(29.1% 0.048 299.4)

  • #40221D

    #40221D

    oklch(29.1% 0.047 30.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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