#512D04

Closest named color: Chocolate Brown (#411900). oklch(33.6% 0.073 62.7), rgb(81, 45, 4).

Aa

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

About this color

#512D04 is a dark, moderately saturated brown. In OKLCH its lightness is 34%, its chroma 0.073 and its hue 63°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.069 away. White text reads best on it, at 12.16:1.

Hue familyBrowns
Lightnessdark (34%)
Chromamoderately saturated (0.073)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.72:1
White text12.16:1

Values

HEX#512D04
RGBrgb(81, 45, 4)
HSLhsl(32, 91%, 17%)
OKLCHoklch(33.6% 0.073 62.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 #512D04 12.16:1 AAA Lc -101.0 Preferred for body text
Black text on #512D04 1.72:1 Fails Lc 0.0 Not readable
#512D04 text on white 12.16:1 AAA Lc 97.5 Preferred for body text
#512D04 text on black 1.72: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

    #E8D5C5

    oklch(88.4% 0.03 62.5)

  4. Step 300

    300

    #DBB99D

    oklch(80.8% 0.055 61.4)

  5. Step 400

    400

    #C89466

    oklch(70.6% 0.088 62.2)

  6. Step 500

    500

    #B9793A

    oklch(63.1% 0.112 62.7)

  7. Step 600

    600

    #A5600F

    oklch(55.6% 0.123 62.1)

  8. Step 700

    700

    #8C5000

    oklch(49.1% 0.112 63.2)

  9. Step 800

    800

    #724106

    oklch(42.6% 0.094 62.7)

  10. Step 900

    900 (this color)

    #512D04

    oklch(33.6% 0.073 62.7)

  11. Step 950

    950

    #36210C

    oklch(27% 0.046 63.5)

Export this scale for Tailwind in the Tailwind colors tool

#512D04 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)#3831000.052
Deuteranopia (no green cones)#4139040.046
Tritanopia (no blue cones)#5A25250.053
Achromatopsia (no color)#3636360.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #512D04

    #512D04

    oklch(33.6% 0.073 62.7)

  • #0A3A59

    #0A3A59

    oklch(33.5% 0.073 242.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512D04

    #512D04

    oklch(33.6% 0.073 62.7)

  • #57271D

    #57271D

    oklch(33.7% 0.074 33.1)

  • #433500

    #433500

    oklch(33.5% 0.068 92.5)

Open the analogous palette in the generator

Split complementary

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

  • #512D04

    #512D04

    oklch(33.6% 0.073 62.7)

  • #003F49

    #003F49

    oklch(33.8% 0.059 212.2)

  • #2A335D

    #2A335D

    oklch(33.5% 0.075 272.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512D04

    #512D04

    oklch(33.6% 0.073 62.7)

  • #00413A

    #00413A

    oklch(33.7% 0.06 183)

  • #3F2D56

    #3F2D56

    oklch(33.8% 0.073 303)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512D04

    #512D04

    oklch(33.6% 0.073 62.7)

  • #114224

    #114224

    oklch(33.8% 0.074 152.8)

  • #0A3A59

    #0A3A59

    oklch(33.5% 0.073 242.9)

  • #4D2747

    #4D2747

    oklch(33.6% 0.074 333.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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