#511F02

Closest named color: Chocolate Brown (#411900). oklch(30.9% 0.084 46.1), rgb(81, 31, 2).

Aa

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

About this color

#511F02 is a dark, moderately saturated brown. In OKLCH its lightness is 31%, its chroma 0.084 and its hue 46°. Its hue sits on the warm side of the wheel. The nearest named color is Chocolate Brown (#411900), ΔE 0.042 away. White text reads best on it, at 13.57:1.

Hue familyBrowns
Lightnessdark (31%)
Chromamoderately saturated (0.084)
Temperaturewarm
Nearest nameChocolate Brown (#411900)
Black text1.54:1
White text13.57:1

Values

HEX#511F02
RGBrgb(81, 31, 2)
HSLhsl(22, 95%, 16%)
OKLCHoklch(30.9% 0.084 46.1)

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 #511F02 13.57:1 AAA Lc -102.8 Preferred for body text
Black text on #511F02 1.54:1 Fails Lc 0.0 Not readable
#511F02 text on white 13.57:1 AAA Lc 99.6 Preferred for body text
#511F02 text on black 1.54: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

    #FEF3EE

    oklch(97.1% 0.014 46.2)

  2. Step 100

    100

    #FBE4DA

    oklch(93.5% 0.029 45)

  3. Step 200

    200

    #F9CFBB

    oklch(88.5% 0.055 46.9)

  4. Step 300

    300

    #F7AD8A

    oklch(81% 0.099 46.2)

  5. Step 400

    400

    #EF7C40

    oklch(70.7% 0.159 46.1)

  6. Step 500

    500

    #DC5E00

    oklch(63.2% 0.177 46.2)

  7. Step 600

    600

    #B94E00

    oklch(55.5% 0.156 46.2)

  8. Step 700

    700

    #9D4100

    oklch(49.2% 0.138 46.2)

  9. Step 800

    800

    #813400

    oklch(42.6% 0.119 46.2)

  10. Step 900

    900

    #6D2B00

    oklch(37.8% 0.106 46.3)

  11. Step 950

    950 (this color)

    #511F02

    oklch(30.9% 0.084 46.1)

Export this scale for Tailwind in the Tailwind colors tool

#511F02 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)#2E27000.077
Deuteranopia (no green cones)#3A32010.069
Tritanopia (no blue cones)#5A131A0.045
Achromatopsia (no color)#2E2E2E0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #511F02

    #511F02

    oklch(30.9% 0.084 46.1)

  • #003647

    #003647

    oklch(31% 0.059 225.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #511F02

    #511F02

    oklch(30.9% 0.084 46.1)

  • #531A21

    #531A21

    oklch(31% 0.085 16.3)

  • #432B00

    #432B00

    oklch(31.1% 0.065 76)

Open the analogous palette in the generator

Split complementary

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

  • #511F02

    #511F02

    oklch(30.9% 0.084 46.1)

  • #003839

    #003839

    oklch(30.9% 0.053 196.7)

  • #0F305A

    #0F305A

    oklch(31% 0.085 256.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #511F02

    #511F02

    oklch(30.9% 0.084 46.1)

  • #003A29

    #003A29

    oklch(30.9% 0.064 166.7)

  • #2E2858

    #2E2858

    oklch(31.1% 0.083 286.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #511F02

    #511F02

    oklch(30.9% 0.084 46.1)

  • #1A3906

    #1A3906

    oklch(30.9% 0.084 136.1)

  • #003647

    #003647

    oklch(31% 0.059 225.9)

  • #40204C

    #40204C

    oklch(30.8% 0.085 316.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #511F02 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.