#AF5F07

Closest named color: Orangey Brown (#B16002). oklch(56.8% 0.133 58.1), rgb(175, 95, 7).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameOrangey Brown (#B16002)
Black text4.46:1
White text4.70:1

Values

HEX#AF5F07
RGBrgb(175, 95, 7)
HSLhsl(31, 92%, 36%)
OKLCHoklch(56.8% 0.133 58.1)

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 #AF5F07 4.70:1 AA Lc -77.6 Fine for body text
Black text on #AF5F07 4.46:1 AA large text Lc 31.9 Non-text elements, placeholder text
#AF5F07 text on white 4.70:1 AA Lc 72.2 Content text, not long reading
#AF5F07 text on black 4.46:1 AA large text Lc -29.5 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

    #FAF4F0

    oklch(97.1% 0.008 56.3)

  2. Step 100

    100

    #F3E7DF

    oklch(93.5% 0.017 56.2)

  3. Step 200

    200

    #EBD4C4

    oklch(88.5% 0.034 57.1)

  4. Step 300

    300

    #DFB89B

    oklch(81% 0.06 58.4)

  5. Step 400

    400

    #CE9163

    oklch(70.6% 0.096 57.4)

  6. Step 500

    500

    #C07534

    oklch(63.2% 0.123 58.4)

  7. Step 600

    600 (this color)

    #AF5F07

    oklch(56.8% 0.133 58.1)

  8. Step 700

    700

    #904C00

    oklch(49% 0.117 57.9)

  9. Step 800

    800

    #773E00

    oklch(42.7% 0.102 58.2)

  10. Step 900

    900

    #60350E

    oklch(37.6% 0.08 58)

  11. Step 950

    950

    #39200A

    oklch(27.2% 0.051 59.2)

Export this scale for Tailwind in the Tailwind colors tool

#AF5F07 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)#7768000.102
Deuteranopia (no green cones)#8A7B060.093
Tritanopia (no blue cones)#C04C510.092
Achromatopsia (no color)#7474740.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5F07

    #AF5F07

    oklch(56.8% 0.133 58.1)

  • #007FB8

    #007FB8

    oklch(56.7% 0.127 238.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5F07

    #AF5F07

    oklch(56.8% 0.133 58.1)

  • #B85348

    #B85348

    oklch(56.8% 0.133 28.3)

  • #937200

    #937200

    oklch(56.9% 0.116 88.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF5F07

    #AF5F07

    oklch(56.8% 0.133 58.1)

  • #008695

    #008695

    oklch(56.7% 0.098 208.5)

  • #5571C5

    #5571C5

    oklch(56.8% 0.134 268.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5F07

    #AF5F07

    oklch(56.8% 0.133 58.1)

  • #008A77

    #008A77

    oklch(56.7% 0.104 178.5)

  • #8163BA

    #8163BA

    oklch(56.8% 0.133 298)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5F07

    #AF5F07

    oklch(56.8% 0.133 58.1)

  • #328B47

    #328B47

    oklch(56.7% 0.133 148.3)

  • #007FB8

    #007FB8

    oklch(56.7% 0.127 238.5)

  • #A0579E

    #A0579E

    oklch(56.8% 0.134 328.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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