#AF5E1F

Closest named color: Orangey Brown (#B16002). oklch(56.7% 0.128 53.5), rgb(175, 94, 31).

Aa

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

About this color

#AF5E1F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 57%, its chroma 0.128 and its hue 54°. 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.72:1.

Hue familyBrowns
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameOrangey Brown (#B16002)
Black text4.44:1
White text4.72:1

Values

HEX#AF5E1F
RGBrgb(175, 94, 31)
HSLhsl(26, 70%, 40%)
OKLCHoklch(56.7% 0.128 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 #AF5E1F 4.72:1 AA Lc -77.8 Fine for body text
Black text on #AF5E1F 4.44:1 AA large text Lc 31.7 Non-text elements, placeholder text
#AF5E1F text on white 4.72:1 AA Lc 72.4 Content text, not long reading
#AF5E1F text on black 4.44:1 AA large text Lc -29.3 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

    #DFB79E

    oklch(80.8% 0.058 53.7)

  5. Step 400

    400

    #CE9169

    oklch(70.8% 0.092 53.9)

  6. Step 500

    500

    #C0743F

    oklch(63.1% 0.118 53.7)

  7. Step 600

    600 (this color)

    #AF5E1F

    oklch(56.7% 0.128 53.5)

  8. Step 700

    700

    #934A0B

    oklch(49.1% 0.119 53.4)

  9. Step 800

    800

    #773D0F

    oklch(42.6% 0.098 53.4)

  10. Step 900

    900

    #613515

    oklch(37.8% 0.077 53.7)

  11. Step 950

    950

    #391F0E

    oklch(27% 0.049 52.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF5E1F 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)#7668150.105
Deuteranopia (no green cones)#897A1E0.095
Tritanopia (no blue cones)#C04C520.083
Achromatopsia (no color)#7373730.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5E1F

    #AF5E1F

    oklch(56.7% 0.128 53.5)

  • #0081B0

    #0081B0

    oklch(56.8% 0.117 233)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5E1F

    #AF5E1F

    oklch(56.7% 0.128 53.5)

  • #B65451

    #B65451

    oklch(56.8% 0.128 23.8)

  • #976F00

    #976F00

    oklch(56.7% 0.116 83.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF5E1F

    #AF5E1F

    oklch(56.7% 0.128 53.5)

  • #008790

    #008790

    oklch(56.8% 0.097 203.1)

  • #4E74C1

    #4E74C1

    oklch(56.8% 0.127 263.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5E1F

    #AF5E1F

    oklch(56.7% 0.128 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.

  • #AF5E1F

    #AF5E1F

    oklch(56.7% 0.128 53.5)

  • #428941

    #428941

    oklch(56.6% 0.128 143.4)

  • #0081B0

    #0081B0

    oklch(56.8% 0.117 233)

  • #9A5AA1

    #9A5AA1

    oklch(56.7% 0.128 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 #AF5E1F, closest first.

Similar named colors

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

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