#AF540F

Closest named color: Cinnamon (#AC4F06). oklch(55% 0.139 50.2), rgb(175, 84, 15).

Aa

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

About this color

#AF540F is a medium-dark, moderately saturated brown. In OKLCH its lightness is 55%, its chroma 0.139 and its hue 50°. Its hue sits on the warm side of the wheel. The nearest named color is Cinnamon (#AC4F06), ΔE 0.013 away. White text reads best on it, at 5.12:1.

Hue familyBrowns
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.139)
Temperaturewarm
Nearest nameCinnamon (#AC4F06)
Black text4.09:1
White text5.12:1

Values

HEX#AF540F
RGBrgb(175, 84, 15)
HSLhsl(26, 84%, 37%)
OKLCHoklch(55% 0.139 50.2)

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 #AF540F 5.12:1 AA Lc -80.1 Fine for body text
Black text on #AF540F 4.09:1 AA large text Lc 29.3 Dividers and decoration only
#AF540F text on white 5.12:1 AA Lc 74.7 Content text, not long reading
#AF540F text on black 4.09:1 AA large text Lc -27.0 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

    #F4E7DF

    oklch(93.6% 0.018 54)

  3. Step 200

    200

    #EDD3C5

    oklch(88.5% 0.035 50.2)

  4. Step 300

    300

    #E3B69D

    oklch(81% 0.063 50.5)

  5. Step 400

    400

    #D38E67

    oklch(70.7% 0.1 50)

  6. Step 500

    500

    #C6703B

    oklch(63.2% 0.128 50.2)

  7. Step 600

    600 (this color)

    #AF540F

    oklch(55% 0.139 50.2)

  8. Step 700

    700

    #984601

    oklch(49.2% 0.129 50.4)

  9. Step 800

    800

    #7C3A09

    oklch(42.8% 0.107 50.2)

  10. Step 900

    900

    #643213

    oklch(37.7% 0.084 49.4)

  11. Step 950

    950

    #3B1E0D

    oklch(27.1% 0.053 49.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF540F 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)#6F61000.121
Deuteranopia (no green cones)#85760B0.110
Tritanopia (no blue cones)#C13F480.082
Achromatopsia (no color)#6E6E6E0.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF540F

    #AF540F

    oklch(55% 0.139 50.2)

  • #007CA5

    #007CA5

    oklch(54.9% 0.11 230.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF540F

    #AF540F

    oklch(55% 0.139 50.2)

  • #B44A4E

    #B44A4E

    oklch(55% 0.138 20.6)

  • #946900

    #946900

    oklch(55.1% 0.114 80.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF540F

    #AF540F

    oklch(55% 0.139 50.2)

  • #008187

    #008187

    oklch(54.9% 0.093 200.5)

  • #3E6FC1

    #3E6FC1

    oklch(54.9% 0.139 260.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF540F

    #AF540F

    oklch(55% 0.139 50.2)

  • #008568

    #008568

    oklch(54.9% 0.108 170.5)

  • #7260BC

    #7260BC

    oklch(55% 0.139 290)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF540F

    #AF540F

    oklch(55% 0.139 50.2)

  • #3F842F

    #3F842F

    oklch(54.9% 0.139 140)

  • #007CA5

    #007CA5

    oklch(54.9% 0.11 230.3)

  • #9453A3

    #9453A3

    oklch(54.9% 0.138 319.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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