#AF5227

Closest named color: Cinnamon (#AC4F06). oklch(54.8% 0.134 43.4), rgb(175, 82, 39).

Aa

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

About this color

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

Hue familyBrowns
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.134)
Temperaturewarm
Nearest nameCinnamon (#AC4F06)
Black text4.05:1
White text5.17:1

Values

HEX#AF5227
RGBrgb(175, 82, 39)
HSLhsl(19, 64%, 42%)
OKLCHoklch(54.8% 0.134 43.4)

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 #AF5227 5.17:1 AA Lc -80.4 Fine for body text
Black text on #AF5227 4.05:1 AA large text Lc 29.0 Dividers and decoration only
#AF5227 text on white 5.17:1 AA Lc 75.1 Fine for body text
#AF5227 text on black 4.05:1 AA large text Lc -26.7 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

    #F5E6E1

    oklch(93.5% 0.018 39.4)

  3. Step 200

    200

    #EDD3C8

    oklch(88.5% 0.033 44.3)

  4. Step 300

    300

    #E3B5A2

    oklch(80.9% 0.06 43.6)

  5. Step 400

    400

    #D48D6F

    oklch(70.8% 0.097 43.7)

  6. Step 500

    500

    #C66E48

    oklch(63% 0.123 43.4)

  7. Step 600

    600 (this color)

    #AF5227

    oklch(54.8% 0.134 43.4)

  8. Step 700

    700

    #99441C

    oklch(49.1% 0.125 43.2)

  9. Step 800

    800

    #7C391A

    oklch(42.8% 0.103 43.5)

  10. Step 900

    900

    #64321B

    oklch(37.8% 0.08 44.2)

  11. Step 950

    950

    #3B1D11

    oklch(26.9% 0.052 42.1)

Export this scale for Tailwind in the Tailwind colors tool

#AF5227 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)#6C60220.125
Deuteranopia (no green cones)#8375250.114
Tritanopia (no blue cones)#C03E490.069
Achromatopsia (no color)#6D6D6D0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF5227

    #AF5227

    oklch(54.8% 0.134 43.4)

  • #007D9D

    #007D9D

    oklch(54.8% 0.103 223.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF5227

    #AF5227

    oklch(54.8% 0.134 43.4)

  • #B14A5A

    #B14A5A

    oklch(54.8% 0.135 13.2)

  • #996400

    #996400

    oklch(54.7% 0.116 73.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF5227

    #AF5227

    oklch(54.8% 0.134 43.4)

  • #008280

    #008280

    oklch(54.8% 0.094 192.9)

  • #2F72BC

    #2F72BC

    oklch(54.7% 0.134 253.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF5227

    #AF5227

    oklch(54.8% 0.134 43.4)

  • #00865D

    #00865D

    oklch(54.9% 0.118 163.2)

  • #6864BC

    #6864BC

    oklch(54.9% 0.134 283.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF5227

    #AF5227

    oklch(54.8% 0.134 43.4)

  • #508124

    #508124

    oklch(54.9% 0.134 133.3)

  • #007D9D

    #007D9D

    oklch(54.8% 0.103 223.9)

  • #8C56A7

    #8C56A7

    oklch(54.7% 0.134 313.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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