#512A06

Closest named color: Chocolate Brown (#411900). oklch(33% 0.074 57.4), rgb(81, 42, 6).

Aa

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

About this color

#512A06 is a dark, moderately saturated brown. In OKLCH its lightness is 33%, its chroma 0.074 and its hue 57°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.061 away. White text reads best on it, at 12.47:1.

Hue familyBrowns
Lightnessdark (33%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.68:1
White text12.47:1

Values

HEX#512A06
RGBrgb(81, 42, 6)
HSLhsl(29, 86%, 17%)
OKLCHoklch(33% 0.074 57.4)

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 #512A06 12.47:1 AAA Lc -101.5 Preferred for body text
Black text on #512A06 1.68:1 Fails Lc 0.0 Not readable
#512A06 text on white 12.47:1 AAA Lc 98.0 Preferred for body text
#512A06 text on black 1.68: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

    #F9F4F1

    oklch(97% 0.007 53.4)

  2. Step 100

    100

    #F3E7E0

    oklch(93.6% 0.016 52.6)

  3. Step 200

    200

    #EAD5C6

    oklch(88.6% 0.031 57.9)

  4. Step 300

    300

    #DDB89E

    oklch(80.8% 0.056 56.9)

  5. Step 400

    400

    #CB9369

    oklch(70.8% 0.088 57.6)

  6. Step 500

    500

    #BC763E

    oklch(63% 0.113 57.3)

  7. Step 600

    600

    #A85E19

    oklch(55.7% 0.123 57.5)

  8. Step 700

    700

    #904D09

    oklch(49.2% 0.115 57.3)

  9. Step 800

    800

    #753F0E

    oklch(42.7% 0.095 56.8)

  10. Step 900

    900 (this color)

    #512A06

    oklch(33% 0.074 57.4)

  11. Step 950

    950

    #37200E

    oklch(26.9% 0.046 57.2)

Export this scale for Tailwind in the Tailwind colors tool

#512A06 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)#362E020.057
Deuteranopia (no green cones)#3F37060.051
Tritanopia (no blue cones)#5A21230.051
Achromatopsia (no color)#3434340.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #512A06

    #512A06

    oklch(33% 0.074 57.4)

  • #003A56

    #003A56

    oklch(33% 0.073 237.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512A06

    #512A06

    oklch(33% 0.074 57.4)

  • #552420

    #552420

    oklch(32.9% 0.074 26.6)

  • #443300

    #443300

    oklch(33.1% 0.068 88.1)

Open the analogous palette in the generator

Split complementary

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

  • #512A06

    #512A06

    oklch(33% 0.074 57.4)

  • #003D44

    #003D44

    oklch(32.9% 0.057 207.5)

  • #25335B

    #25335B

    oklch(33% 0.073 267.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512A06

    #512A06

    oklch(33% 0.074 57.4)

  • #003F35

    #003F35

    oklch(32.9% 0.061 177.9)

  • #3A2C56

    #3A2C56

    oklch(33% 0.074 297.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512A06

    #512A06

    oklch(33% 0.074 57.4)

  • #163F1E

    #163F1E

    oklch(32.9% 0.073 147.7)

  • #003A56

    #003A56

    oklch(33% 0.073 237.5)

  • #492649

    #492649

    oklch(32.9% 0.075 327.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #512A06 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.