#AB7B40

Closest named color: Tan Brown (#AB7E4C). oklch(61.9% 0.097 70), rgb(171, 123, 64).

Aa

Black text reads best on this color (5.63:1).

About this color

#AB7B40 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 62%, its chroma 0.097 and its hue 70°. Its hue sits on the warm side of the wheel. The nearest named color is Tan Brown (#AB7E4C), ΔE 0.013 away. Black text reads best on it, at 5.63:1.

Hue familyBrowns
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameTan Brown (#AB7E4C)
Black text5.63:1
White text3.72:1

Values

HEX#AB7B40
RGBrgb(171, 123, 64)
HSLhsl(33, 46%, 46%)
OKLCHoklch(61.9% 0.097 70)

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 #AB7B40 3.72:1 AA large text Lc -70.2 Content text, not long reading
Black text on #AB7B40 5.63:1 AA Lc 39.4 Non-text elements, placeholder text
#AB7B40 text on white 3.72:1 AA large text Lc 64.7 Content text, not long reading
#AB7B40 text on black 5.63:1 AA Lc -37.0 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F8F5F1

    oklch(97.1% 0.006 75.4)

  2. Step 100

    100

    #F0E8E0

    oklch(93.5% 0.014 67.7)

  3. Step 200

    200

    #E5D7C7

    oklch(88.6% 0.027 71.2)

  4. Step 300

    300

    #D5BCA0

    oklch(80.9% 0.048 70.2)

  5. Step 400

    400

    #BF996C

    oklch(70.7% 0.076 70.8)

  6. Step 500

    500 (this color)

    #AB7B40

    oklch(61.9% 0.097 70)

  7. Step 600

    600

    #9A6722

    oklch(55.6% 0.105 70)

  8. Step 700

    700

    #845514

    oklch(49.1% 0.098 69.2)

  9. Step 800

    800

    #6B4614

    oklch(42.7% 0.081 69.9)

  10. Step 900

    900

    #573B18

    oklch(37.7% 0.063 69.7)

  11. Step 950

    950

    #33230F

    oklch(27.1% 0.04 70.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB7B40 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)#8B7E3A0.055
Deuteranopia (no green cones)#9789410.048
Tritanopia (no blue cones)#B96F6E0.079
Achromatopsia (no color)#8484840.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7B40

    #AB7B40

    oklch(61.9% 0.097 70)

  • #578ABE

    #578ABE

    oklch(61.9% 0.096 250.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7B40

    #AB7B40

    oklch(61.9% 0.097 70)

  • #B77158

    #B77158

    oklch(61.8% 0.096 40.4)

  • #93873D

    #93873D

    oklch(61.8% 0.096 100.2)

Open the analogous palette in the generator

Split complementary

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

  • #AB7B40

    #AB7B40

    oklch(61.9% 0.097 70)

  • #3193AE

    #3193AE

    oklch(61.9% 0.097 220.1)

  • #7A7FBF

    #7A7FBF

    oklch(61.9% 0.097 279.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7B40

    #AB7B40

    oklch(61.9% 0.097 70)

  • #289893

    #289893

    oklch(61.8% 0.096 190.5)

  • #9875B1

    #9875B1

    oklch(61.9% 0.096 310.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7B40

    #AB7B40

    oklch(61.9% 0.097 70)

  • #4B9872

    #4B9872

    oklch(62% 0.097 160.2)

  • #578ABE

    #578ABE

    oklch(61.9% 0.096 250.1)

  • #AD6E98

    #AD6E98

    oklch(61.9% 0.097 340.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #AB7B40 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.