#AF7A2A

Closest named color: Golden Brown (#B27A01). oklch(61.9% 0.114 73.3), rgb(175, 122, 42).

Aa

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

About this color

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

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

Values

HEX#AF7A2A
RGBrgb(175, 122, 42)
HSLhsl(36, 61%, 43%)
OKLCHoklch(61.9% 0.114 73.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 #AF7A2A 3.72:1 AA large text Lc -70.1 Content text, not long reading
Black text on #AF7A2A 5.64:1 AA Lc 39.5 Non-text elements, placeholder text
#AF7A2A text on white 3.72:1 AA large text Lc 64.6 Content text, not long reading
#AF7A2A text on black 5.64: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

    #F9F5F0

    oklch(97.2% 0.008 73.7)

  2. Step 100

    100

    #F1E8DE

    oklch(93.5% 0.017 70.5)

  3. Step 200

    200

    #E6D6C3

    oklch(88.4% 0.031 72.1)

  4. Step 300

    300

    #D7BC99

    oklch(81% 0.056 74.1)

  5. Step 400

    400

    #C29860

    oklch(70.6% 0.089 73.5)

  6. Step 500

    500 (this color)

    #AF7A2A

    oklch(61.9% 0.114 73.3)

  7. Step 600

    600

    #9C6700

    oklch(55.7% 0.118 73.9)

  8. Step 700

    700

    #845600

    oklch(49.2% 0.105 73.4)

  9. Step 800

    800

    #6C4600

    oklch(42.7% 0.091 73.9)

  10. Step 900

    900

    #593A09

    oklch(37.6% 0.074 72.7)

  11. Step 950

    950

    #342209

    oklch(26.9% 0.047 72.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF7A2A 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)#8D7D1E0.060
Deuteranopia (no green cones)#99892D0.051
Tritanopia (no blue cones)#BF6C6A0.096
Achromatopsia (no color)#8484840.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF7A2A

    #AF7A2A

    oklch(61.9% 0.114 73.3)

  • #5289C9

    #5289C9

    oklch(62% 0.114 253.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF7A2A

    #AF7A2A

    oklch(61.9% 0.114 73.3)

  • #BF6D4B

    #BF6D4B

    oklch(61.9% 0.115 42.8)

  • #928929

    #928929

    oklch(62% 0.115 103.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF7A2A

    #AF7A2A

    oklch(61.9% 0.114 73.3)

  • #0994B8

    #0994B8

    oklch(61.9% 0.114 223.3)

  • #7D7CC8

    #7D7CC8

    oklch(61.9% 0.114 283.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF7A2A

    #AF7A2A

    oklch(61.9% 0.114 73.3)

  • #009A98

    #009A98

    oklch(62.1% 0.106 193.1)

  • #9E70B7

    #9E70B7

    oklch(61.9% 0.115 313)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF7A2A

    #AF7A2A

    oklch(61.9% 0.114 73.3)

  • #329B72

    #329B72

    oklch(61.9% 0.114 163.2)

  • #5289C9

    #5289C9

    oklch(62% 0.114 253.3)

  • #B56998

    #B56998

    oklch(62% 0.114 343.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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