#AF5F22

Closest named color: Orangey Brown (#B16002). oklch(56.9% 0.126 53.5), rgb(175, 95, 34).

Aa

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

About this color

#AF5F22 is a medium-dark, moderately saturated brown. In OKLCH its lightness is 57%, its chroma 0.126 and its hue 53°. Its hue sits on the warm side of the wheel. The nearest named color is Orangey Brown (#B16002), ΔE 0.015 away. White text reads best on it, at 4.68:1.

Hue familyBrowns
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.126)
Temperaturewarm
Nearest nameOrangey Brown (#B16002)
Black text4.48:1
White text4.68:1

Values

HEX#AF5F22
RGBrgb(175, 95, 34)
HSLhsl(26, 67%, 41%)
OKLCHoklch(56.9% 0.126 53.5)

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 #AF5F22 4.68:1 AA Lc -77.6 Fine for body text
Black text on #AF5F22 4.48:1 AA large text Lc 32.0 Non-text elements, placeholder text
#AF5F22 text on white 4.68:1 AA Lc 72.1 Content text, not long reading
#AF5F22 text on black 4.48:1 AA large text Lc -29.6 Dividers and decoration only

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

  1. Step 50

    50

    #FAF4F1

    oklch(97.1% 0.008 48.7)

  2. Step 100

    100

    #F3E7E0

    oklch(93.6% 0.016 52.6)

  3. Step 200

    200

    #EBD4C6

    oklch(88.5% 0.032 53.5)

  4. Step 300

    300

    #DFB79F

    oklch(80.9% 0.057 52.6)

  5. Step 400

    400

    #CD916A

    oklch(70.7% 0.09 53.8)

  6. Step 500

    500

    #BF7440

    oklch(63% 0.116 53.6)

  7. Step 600

    600 (this color)

    #AF5F22

    oklch(56.9% 0.126 53.5)

  8. Step 700

    700

    #924A0E

    oklch(49% 0.117 53.3)

  9. Step 800

    800

    #773E11

    oklch(42.8% 0.097 53.8)

  10. Step 900

    900

    #603516

    oklch(37.7% 0.076 53.7)

  11. Step 950

    950

    #381F0E

    oklch(26.8% 0.048 53.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF5F22 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)#7669190.105
Deuteranopia (no green cones)#8A7B210.094
Tritanopia (no blue cones)#C04E530.081
Achromatopsia (no color)#7474740.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5F22

    #AF5F22

    oklch(56.9% 0.126 53.5)

  • #0081B1

    #0081B1

    oklch(56.8% 0.118 233.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5F22

    #AF5F22

    oklch(56.9% 0.126 53.5)

  • #B65552

    #B65552

    oklch(56.9% 0.127 23.7)

  • #987000

    #987000

    oklch(57% 0.117 83.7)

Open the analogous palette in the generator

Split complementary

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

  • #AF5F22

    #AF5F22

    oklch(56.9% 0.126 53.5)

  • #008791

    #008791

    oklch(56.8% 0.097 204)

  • #4F74C1

    #4F74C1

    oklch(56.8% 0.127 263.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5F22

    #AF5F22

    oklch(56.9% 0.126 53.5)

  • #008B71

    #008B71

    oklch(56.8% 0.109 173.4)

  • #7B66BA

    #7B66BA

    oklch(56.8% 0.127 293.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5F22

    #AF5F22

    oklch(56.9% 0.126 53.5)

  • #448A43

    #448A43

    oklch(57% 0.126 143.4)

  • #0081B1

    #0081B1

    oklch(56.8% 0.118 233.6)

  • #9A5BA1

    #9A5BA1

    oklch(56.8% 0.126 323.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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