#542E02

Closest named color: Chestnut (#742802). oklch(34.3% 0.077 62.5), rgb(84, 46, 2).

Aa

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

About this color

#542E02 is a dark, moderately saturated brown. In OKLCH its lightness is 34%, its chroma 0.077 and its hue 63°. Its hue sits on the warm side of the wheel. The nearest named color is Chestnut (#742802), ΔE 0.068 away. White text reads best on it, at 11.87:1.

Hue familyBrowns
Lightnessdark (34%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest nameChestnut (#742802)
Black text1.76:1
White text11.87:1

Values

HEX#542E02
RGBrgb(84, 46, 2)
HSLhsl(32, 95%, 17%)
OKLCHoklch(34.3% 0.077 62.5)

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 #542E02 11.87:1 AAA Lc -100.5 Preferred for body text
Black text on #542E02 1.76:1 Fails Lc 0.0 Not readable
#542E02 text on white 11.87:1 AAA Lc 96.9 Preferred for body text
#542E02 text on black 1.76: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 900.

  1. Step 50

    50

    #F9F4F0

    oklch(97% 0.008 61.5)

  2. Step 100

    100

    #F2E8DF

    oklch(93.6% 0.016 64.7)

  3. Step 200

    200

    #E9D5C4

    oklch(88.5% 0.032 62.8)

  4. Step 300

    300

    #DCB99B

    oklch(80.9% 0.057 62.5)

  5. Step 400

    400

    #CA9463

    oklch(70.8% 0.092 62.7)

  6. Step 500

    500

    #BB7834

    oklch(63.1% 0.118 62.9)

  7. Step 600

    600

    #A65F00

    oklch(55.5% 0.127 62.5)

  8. Step 700

    700

    #8D5000

    oklch(49.3% 0.113 62.6)

  9. Step 800

    800

    #744100

    oklch(42.8% 0.098 62.8)

  10. Step 900

    900 (this color)

    #542E02

    oklch(34.3% 0.077 62.5)

  11. Step 950

    950

    #37210A

    oklch(27.1% 0.049 64.1)

Export this scale for Tailwind in the Tailwind colors tool

#542E02 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)#3A32000.054
Deuteranopia (no green cones)#433B020.049
Tritanopia (no blue cones)#5D25260.056
Achromatopsia (no color)#3737370.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #542E02

    #542E02

    oklch(34.3% 0.077 62.5)

  • #073C5D

    #073C5D

    oklch(34.2% 0.077 242.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #542E02

    #542E02

    oklch(34.3% 0.077 62.5)

  • #5A271E

    #5A271E

    oklch(34.2% 0.077 31.6)

  • #453700

    #453700

    oklch(34.2% 0.07 93)

Open the analogous palette in the generator

Split complementary

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

  • #542E02

    #542E02

    oklch(34.3% 0.077 62.5)

  • #00404B

    #00404B

    oklch(34.1% 0.06 213.6)

  • #2B3560

    #2B3560

    oklch(34.3% 0.076 272)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #542E02

    #542E02

    oklch(34.3% 0.077 62.5)

  • #00433B

    #00433B

    oklch(34.3% 0.062 181.7)

  • #412E59

    #412E59

    oklch(34.4% 0.076 303)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #542E02

    #542E02

    oklch(34.3% 0.077 62.5)

  • #104424

    #104424

    oklch(34.4% 0.078 152.3)

  • #073C5D

    #073C5D

    oklch(34.2% 0.077 242.9)

  • #4F284A

    #4F284A

    oklch(34.2% 0.077 332)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #542E02 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.