#512F18

Closest named color: Chestnut (#742802). oklch(34.2% 0.061 53.3), rgb(81, 47, 24).

Aa

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

About this color

#512F18 is a dark, muted brown. In OKLCH its lightness is 34%, its chroma 0.061 and its hue 53°. Its hue sits on the warm side of the wheel. The nearest named color is Chestnut (#742802), ΔE 0.072 away. White text reads best on it, at 11.86:1.

Hue familyBrowns
Lightnessdark (34%)
Chromamuted (0.061)
Temperaturewarm
Nearest nameChestnut (#742802)
Black text1.76:1
White text11.86:1

Values

HEX#512F18
RGBrgb(81, 47, 24)
HSLhsl(24, 54%, 21%)
OKLCHoklch(34.2% 0.061 53.3)

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 #512F18 11.86:1 AAA Lc -100.6 Preferred for body text
Black text on #512F18 1.76:1 Fails Lc 0.0 Not readable
#512F18 text on white 11.86:1 AAA Lc 97.0 Preferred for body text
#512F18 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

    #F9F4F2

    oklch(97% 0.006 43.3)

  2. Step 100

    100

    #F1E8E2

    oklch(93.6% 0.013 56.2)

  3. Step 200

    200

    #E7D5CA

    oklch(88.5% 0.025 53.7)

  4. Step 300

    300

    #D9B9A6

    oklch(80.8% 0.045 52.5)

  5. Step 400

    400

    #C59476

    oklch(70.6% 0.073 52.7)

  6. Step 500

    500

    #B67952

    oklch(63.1% 0.094 52.9)

  7. Step 600

    600

    #A16136

    oklch(55.5% 0.101 53)

  8. Step 700

    700

    #8A5028

    oklch(49.1% 0.095 53.1)

  9. Step 800

    800

    #704222

    oklch(42.7% 0.079 53.7)

  10. Step 900

    900 (this color)

    #512F18

    oklch(34.2% 0.061 53.3)

  11. Step 950

    950

    #352114

    oklch(27% 0.038 53.4)

Export this scale for Tailwind in the Tailwind colors tool

#512F18 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)#3933160.048
Deuteranopia (no green cones)#413A180.044
Tritanopia (no blue cones)#59282A0.041
Achromatopsia (no color)#3737370.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #512F18

    #512F18

    oklch(34.2% 0.061 53.3)

  • #103E53

    #103E53

    oklch(34.4% 0.061 232.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512F18

    #512F18

    oklch(34.2% 0.061 53.3)

  • #542B29

    #542B29

    oklch(34.3% 0.061 23.7)

  • #48350D

    #48350D

    oklch(34.2% 0.061 82.3)

Open the analogous palette in the generator

Split complementary

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

  • #512F18

    #512F18

    oklch(34.2% 0.061 53.3)

  • #004146

    #004146

    oklch(34.2% 0.058 203.4)

  • #283858

    #283858

    oklch(34.3% 0.06 263.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512F18

    #512F18

    oklch(34.2% 0.061 53.3)

  • #094336

    #094336

    oklch(34.4% 0.061 173.3)

  • #3A3255

    #3A3255

    oklch(34.2% 0.061 293.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512F18

    #512F18

    oklch(34.2% 0.061 53.3)

  • #244123

    #244123

    oklch(34.3% 0.062 143.4)

  • #103E53

    #103E53

    oklch(34.4% 0.061 232.5)

  • #482D4B

    #482D4B

    oklch(34.2% 0.062 323.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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