#842F02

Closest named color: Rust Brown (#8B3103). oklch(42.4% 0.127 41.9), rgb(132, 47, 2).

Aa

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

About this color

#842F02 is a dark, moderately saturated brown. In OKLCH its lightness is 42%, its chroma 0.127 and its hue 42°. Its hue sits on the warm side of the wheel. The nearest named color is Rust Brown (#8B3103), ΔE 0.016 away. White text reads best on it, at 8.79:1.

Hue familyBrowns
Lightnessdark (42%)
Chromamoderately saturated (0.127)
Temperaturewarm
Nearest nameRust Brown (#8B3103)
Black text2.38:1
White text8.79:1

Values

HEX#842F02
RGBrgb(132, 47, 2)
HSLhsl(21, 97%, 26%)
OKLCHoklch(42.4% 0.127 41.9)

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 #842F02 8.79:1 AAA Lc -93.8 Preferred for body text
Black text on #842F02 2.38:1 Fails Lc 14.8 Not readable
#842F02 text on white 8.79:1 AAA Lc 89.2 Fine for body text
#842F02 text on black 2.38:1 Fails Lc -13.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 800.

  1. Step 50

    50

    #FCF3F0

    oklch(97% 0.011 39.4)

  2. Step 100

    100

    #F7E6DF

    oklch(93.7% 0.021 43.9)

  3. Step 200

    200

    #F2D1C4

    oklch(88.5% 0.041 42.7)

  4. Step 300

    300

    #EBB19B

    oklch(80.8% 0.075 41.7)

  5. Step 400

    400

    #DE8664

    oklch(70.6% 0.118 41.7)

  6. Step 500

    500

    #D36537

    oklch(63.2% 0.151 42)

  7. Step 600

    600

    #BE4808

    oklch(55.5% 0.164 41.9)

  8. Step 700

    700

    #A23B00

    oklch(49.2% 0.148 42.2)

  9. Step 800

    800 (this color)

    #842F02

    oklch(42.4% 0.127 41.9)

  10. Step 900

    900

    #6B2C10

    oklch(37.7% 0.098 42.2)

  11. Step 950

    950

    #3F1A0B

    oklch(26.9% 0.063 41.6)

Export this scale for Tailwind in the Tailwind colors tool

#842F02 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)#483E000.123
Deuteranopia (no green cones)#5D52000.111
Tritanopia (no blue cones)#9217280.060
Achromatopsia (no color)#4B4B4B0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #842F02

    #842F02

    oklch(42.4% 0.127 41.9)

  • #00576D

    #00576D

    oklch(42.4% 0.079 222.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #842F02

    #842F02

    oklch(42.4% 0.127 41.9)

  • #85283B

    #85283B

    oklch(42.5% 0.127 12.4)

  • #6C4400

    #6C4400

    oklch(42.3% 0.091 71.6)

Open the analogous palette in the generator

Split complementary

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

  • #842F02

    #842F02

    oklch(42.4% 0.127 41.9)

  • #005A58

    #005A58

    oklch(42.3% 0.073 192.1)

  • #004F90

    #004F90

    oklch(42.5% 0.126 251.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #842F02

    #842F02

    oklch(42.4% 0.127 41.9)

  • #005D3E

    #005D3E

    oklch(42.3% 0.093 162.1)

  • #454190

    #454190

    oklch(42.3% 0.127 281.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #842F02

    #842F02

    oklch(42.4% 0.127 41.9)

  • #355A00

    #355A00

    oklch(42.3% 0.117 131.6)

  • #00576D

    #00576D

    oklch(42.4% 0.079 222.6)

  • #65357F

    #65357F

    oklch(42.4% 0.126 312.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #842F02 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.