#542A01

Closest named color: Chocolate Brown (#411900). oklch(33.5% 0.079 57.7), rgb(84, 42, 1).

Aa

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

About this color

#542A01 is a dark, moderately saturated brown. In OKLCH its lightness is 33%, its chroma 0.079 and its hue 58°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.066 away. White text reads best on it, at 12.29:1.

Hue familyBrowns
Lightnessdark (33%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.70:1
White text12.29:1

Values

HEX#542A01
RGBrgb(84, 42, 1)
HSLhsl(30, 98%, 17%)
OKLCHoklch(33.5% 0.079 57.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 #542A01 12.29:1 AAA Lc -101.1 Preferred for body text
Black text on #542A01 1.70:1 Fails Lc 0.0 Not readable
#542A01 text on white 12.29:1 AAA Lc 97.6 Preferred for body text
#542A01 text on black 1.70: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

    #FAF4F0

    oklch(97.1% 0.008 56.3)

  2. Step 100

    100

    #F3E7DF

    oklch(93.5% 0.017 56.2)

  3. Step 200

    200

    #EBD4C4

    oklch(88.5% 0.034 57.1)

  4. Step 300

    300

    #DFB89B

    oklch(81% 0.06 58.4)

  5. Step 400

    400

    #CE9164

    oklch(70.7% 0.096 56.9)

  6. Step 500

    500

    #C07536

    oklch(63.2% 0.122 57.7)

  7. Step 600

    600

    #AB5C03

    oklch(55.7% 0.132 58)

  8. Step 700

    700

    #914C00

    oklch(49.1% 0.118 57.5)

  9. Step 800

    800

    #773E01

    oklch(42.7% 0.102 57.9)

  10. Step 900

    900 (this color)

    #542A01

    oklch(33.5% 0.079 57.7)

  11. Step 950

    950

    #39200B

    oklch(27.2% 0.051 58.2)

Export this scale for Tailwind in the Tailwind colors tool

#542A01 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)#372F000.061
Deuteranopia (no green cones)#4139010.056
Tritanopia (no blue cones)#5D20230.055
Achromatopsia (no color)#3535350.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #542A01

    #542A01

    oklch(33.5% 0.079 57.7)

  • #003B58

    #003B58

    oklch(33.5% 0.074 238.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #542A01

    #542A01

    oklch(33.5% 0.079 57.7)

  • #59241F

    #59241F

    oklch(33.6% 0.08 27.6)

  • #453400

    #453400

    oklch(33.5% 0.068 88.4)

Open the analogous palette in the generator

Split complementary

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

  • #542A01

    #542A01

    oklch(33.5% 0.079 57.7)

  • #003F46

    #003F46

    oklch(33.6% 0.058 207.2)

  • #25345F

    #25345F

    oklch(33.5% 0.078 267.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #542A01

    #542A01

    oklch(33.5% 0.079 57.7)

  • #004136

    #004136

    oklch(33.5% 0.062 176.8)

  • #3C2C5A

    #3C2C5A

    oklch(33.5% 0.08 298)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #542A01

    #542A01

    oklch(33.5% 0.079 57.7)

  • #13411D

    #13411D

    oklch(33.4% 0.079 147.8)

  • #003B58

    #003B58

    oklch(33.5% 0.074 238.1)

  • #4C264B

    #4C264B

    oklch(33.5% 0.079 328.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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