#301F12

Closest named color: Dark Brown (#341C02). oklch(25.7% 0.035 57.8), rgb(48, 31, 18).

Aa

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

About this color

#301F12 is a dark, muted brown. In OKLCH its lightness is 26%, its chroma 0.035 and its hue 58°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Brown (#341C02), ΔE 0.020 away. White text reads best on it, at 15.78:1.

Hue familyBrowns
Lightnessdark (26%)
Chromamuted (0.035)
Temperaturewarm
Nearest nameDark Brown (#341C02)
Black text1.33:1
White text15.78:1

Values

HEX#301F12
RGBrgb(48, 31, 18)
HSLhsl(26, 45%, 13%)
OKLCHoklch(25.7% 0.035 57.8)

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 #301F12 15.78:1 AAA Lc -105.3 Preferred for body text
Black text on #301F12 1.33:1 Fails Lc 0.0 Not readable
#301F12 text on white 15.78:1 AAA Lc 102.7 Preferred for body text
#301F12 text on black 1.33: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 950.

  1. Step 50

    50

    #F8F5F2

    oklch(97.2% 0.005 67.8)

  2. Step 100

    100

    #F0E8E2

    oklch(93.6% 0.012 59.6)

  3. Step 200

    200

    #E5D6CB

    oklch(88.5% 0.022 58.8)

  4. Step 300

    300

    #D6BBA7

    oklch(81% 0.041 58.7)

  5. Step 400

    400

    #C09778

    oklch(70.7% 0.065 58.5)

  6. Step 500

    500

    #B07D55

    oklch(63.2% 0.084 58.6)

  7. Step 600

    600

    #9B653A

    oklch(55.6% 0.091 57.9)

  8. Step 700

    700

    #85542C

    oklch(49.2% 0.085 58.1)

  9. Step 800

    800

    #6C4526

    oklch(42.8% 0.07 57.9)

  10. Step 900

    900

    #583A23

    oklch(37.8% 0.055 57.6)

  11. Step 950

    950 (this color)

    #301F12

    oklch(25.7% 0.035 57.8)

Export this scale for Tailwind in the Tailwind colors tool

#301F12 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)#2420110.025
Deuteranopia (no green cones)#2824120.023
Tritanopia (no blue cones)#351C1C0.025
Achromatopsia (no color)#2323230.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #301F12

    #301F12

    oklch(25.7% 0.035 57.8)

  • #122632

    #122632

    oklch(25.8% 0.034 236.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #301F12

    #301F12

    oklch(25.7% 0.035 57.8)

  • #321D1A

    #321D1A

    oklch(25.7% 0.034 28.5)

  • #2A220F

    #2A220F

    oklch(25.6% 0.034 87.2)

Open the analogous palette in the generator

Split complementary

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

  • #301F12

    #301F12

    oklch(25.7% 0.035 57.8)

  • #0B282C

    #0B282C

    oklch(25.7% 0.035 207.7)

  • #1C2334

    #1C2334

    oklch(25.8% 0.034 266.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #301F12

    #301F12

    oklch(25.7% 0.035 57.8)

  • #0E2923

    #0E2923

    oklch(25.8% 0.035 176.8)

  • #252032

    #252032

    oklch(25.8% 0.034 296.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #301F12

    #301F12

    oklch(25.7% 0.035 57.8)

  • #17281A

    #17281A

    oklch(25.7% 0.035 149)

  • #122632

    #122632

    oklch(25.8% 0.034 236.5)

  • #2C1D2C

    #2C1D2C

    oklch(25.6% 0.035 326.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #301F12 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.