#AB7C2F

Closest named color: Golden Brown (#B27A01). oklch(61.9% 0.109 76.3), rgb(171, 124, 47).

Aa

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

About this color

#AB7C2F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 62%, its chroma 0.109 and its hue 76°. Its hue sits on the warm side of the wheel. The nearest named color is Golden Brown (#B27A01), ΔE 0.021 away. Black text reads best on it, at 5.65:1.

Hue familyBrowns
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.109)
Temperaturewarm
Nearest nameGolden Brown (#B27A01)
Black text5.65:1
White text3.71:1

Values

HEX#AB7C2F
RGBrgb(171, 124, 47)
HSLhsl(37, 57%, 43%)
OKLCHoklch(61.9% 0.109 76.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 #AB7C2F 3.71:1 AA large text Lc -70.0 Content text, not long reading
Black text on #AB7C2F 5.65:1 AA Lc 39.5 Non-text elements, placeholder text
#AB7C2F text on white 3.71:1 AA large text Lc 64.5 Content text, not long reading
#AB7C2F text on black 5.65:1 AA Lc -37.1 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

    #F8F5F0

    oklch(97.1% 0.007 80.7)

  2. Step 100

    100

    #F0E9DF

    oklch(93.7% 0.015 77.1)

  3. Step 200

    200

    #E5D7C4

    oklch(88.5% 0.03 75.7)

  4. Step 300

    300

    #D5BD9B

    oklch(81% 0.053 76.4)

  5. Step 400

    400

    #BF9A62

    oklch(70.8% 0.086 77)

  6. Step 500

    500 (this color)

    #AB7C2F

    oklch(61.9% 0.109 76.3)

  7. Step 600

    600

    #9A6800

    oklch(55.6% 0.117 75.8)

  8. Step 700

    700

    #815700

    oklch(49% 0.103 76.4)

  9. Step 800

    800

    #6A4700

    oklch(42.6% 0.089 76.7)

  10. Step 900

    900

    #573C0D

    oklch(37.8% 0.071 76.5)

  11. Step 950

    950

    #33230A

    oklch(27% 0.045 75.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB7C2F 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)#8D7E250.052
Deuteranopia (no green cones)#9989320.043
Tritanopia (no blue cones)#BA6F6C0.093
Achromatopsia (no color)#8585850.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB7C2F

    #AB7C2F

    oklch(61.9% 0.109 76.3)

  • #5988C7

    #5988C7

    oklch(62.1% 0.109 256.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB7C2F

    #AB7C2F

    oklch(61.9% 0.109 76.3)

  • #BB704B

    #BB704B

    oklch(61.9% 0.108 46.4)

  • #8E8A32

    #8E8A32

    oklch(61.9% 0.109 106.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB7C2F

    #AB7C2F

    oklch(61.9% 0.109 76.3)

  • #2493B8

    #2493B8

    oklch(62% 0.109 225.9)

  • #817BC4

    #817BC4

    oklch(61.9% 0.109 286.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB7C2F

    #AB7C2F

    oklch(61.9% 0.109 76.3)

  • #00999B

    #00999B

    oklch(61.9% 0.105 196.4)

  • #A071B2

    #A071B2

    oklch(62% 0.108 316.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB7C2F

    #AB7C2F

    oklch(61.9% 0.109 76.3)

  • #349A77

    #349A77

    oklch(61.8% 0.108 166.4)

  • #5988C7

    #5988C7

    oklch(62.1% 0.109 256.1)

  • #B56A93

    #B56A93

    oklch(62% 0.108 346.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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