#512F0C

Closest named color: Dark Olive (#373E02). oklch(34.1% 0.068 62), rgb(81, 47, 12).

Aa

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

About this color

#512F0C is a dark, muted brown. In OKLCH its lightness is 34%, its chroma 0.068 and its hue 62°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Olive (#373E02), ΔE 0.068 away. White text reads best on it, at 11.91:1.

Hue familyBrowns
Lightnessdark (34%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameDark Olive (#373E02)
Black text1.76:1
White text11.91:1

Values

HEX#512F0C
RGBrgb(81, 47, 12)
HSLhsl(30, 74%, 18%)
OKLCHoklch(34.1% 0.068 62)

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 #512F0C 11.91:1 AAA Lc -100.7 Preferred for body text
Black text on #512F0C 1.76:1 Fails Lc 0.0 Not readable
#512F0C text on white 11.91:1 AAA Lc 97.1 Preferred for body text
#512F0C 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

    #F9F4F1

    oklch(97% 0.007 53.4)

  2. Step 100

    100

    #F1E8E0

    oklch(93.6% 0.015 64.3)

  3. Step 200

    200

    #E8D5C6

    oklch(88.4% 0.029 60.7)

  4. Step 300

    300

    #DABA9F

    oklch(81% 0.052 62.1)

  5. Step 400

    400

    #C6956B

    oklch(70.7% 0.082 61.5)

  6. Step 500

    500

    #B77A41

    oklch(63.1% 0.106 62)

  7. Step 600

    600

    #A2621F

    oklch(55.6% 0.114 62)

  8. Step 700

    700

    #8B5110

    oklch(49.2% 0.106 62)

  9. Step 800

    800

    #714212

    oklch(42.7% 0.088 61.2)

  10. Step 900

    900 (this color)

    #512F0C

    oklch(34.1% 0.068 62)

  11. Step 950

    950

    #36210F

    oklch(27% 0.044 59.9)

Export this scale for Tailwind in the Tailwind colors tool

#512F0C 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)#3A32070.047
Deuteranopia (no green cones)#423A0C0.043
Tritanopia (no blue cones)#5927280.051
Achromatopsia (no color)#3737370.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #512F0C

    #512F0C

    oklch(34.1% 0.068 62)

  • #103C58

    #103C58

    oklch(34.1% 0.068 241.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #512F0C

    #512F0C

    oklch(34.1% 0.068 62)

  • #562921

    #562921

    oklch(34% 0.069 31.4)

  • #453702

    #453702

    oklch(34.2% 0.069 92.5)

Open the analogous palette in the generator

Split complementary

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

  • #512F0C

    #512F0C

    oklch(34.1% 0.068 62)

  • #00404A

    #00404A

    oklch(34.1% 0.059 212)

  • #2C355C

    #2C355C

    oklch(34.1% 0.07 272.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #512F0C

    #512F0C

    oklch(34.1% 0.068 62)

  • #00423B

    #00423B

    oklch(34% 0.061 183.1)

  • #3F2F56

    #3F2F56

    oklch(34.2% 0.069 301.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #512F0C

    #512F0C

    oklch(34.1% 0.068 62)

  • #184226

    #184226

    oklch(34.1% 0.068 152)

  • #103C58

    #103C58

    oklch(34.1% 0.068 241.2)

  • #4D2A48

    #4D2A48

    oklch(34.2% 0.069 332.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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