#AFA27A

Closest named color: Stone (#ADA587). oklch(71.3% 0.057 92.2), rgb(175, 162, 122).

Aa

Black text reads best on this color (8.27:1).

About this color

#AFA27A is a medium-light, muted yellow. In OKLCH its lightness is 71%, its chroma 0.057 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Stone (#ADA587), ΔE 0.016 away. Black text reads best on it, at 8.27:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamuted (0.057)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.27:1
White text2.53:1

Values

HEX#AFA27A
RGBrgb(175, 162, 122)
HSLhsl(45, 25%, 58%)
OKLCHoklch(71.3% 0.057 92.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 #AFA27A 2.53:1 Fails Lc -54.8 Large or bold text, headings
Black text on #AFA27A 8.27:1 AAA Lc 54.3 Large or bold text, headings
#AFA27A text on white 2.53:1 Fails Lc 49.7 Large or bold text, headings
#AFA27A text on black 8.27:1 AAA Lc -52.2 Large or bold text, headings

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

  1. Step 50

    50

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DED9CB

    oklch(88.5% 0.02 90.6)

  4. Step 300

    300

    #C9C0A7

    oklch(80.8% 0.036 90.5)

  5. Step 400

    400 (this color)

    #AFA27A

    oklch(71.3% 0.057 92.2)

  6. Step 500

    500

    #998855

    oklch(63% 0.072 91.7)

  7. Step 600

    600

    #847239

    oklch(55.6% 0.08 92.2)

  8. Step 700

    700

    #705F2C

    oklch(49.1% 0.073 91.1)

  9. Step 800

    800

    #5B4E25

    oklch(42.7% 0.061 92.1)

  10. Step 900

    900

    #4A4123

    oklch(37.7% 0.047 93.2)

  11. Step 950

    950

    #2C2615

    oklch(27% 0.03 90.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFA27A 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)#ABA0770.009
Deuteranopia (no green cones)#AEA47B0.005
Tritanopia (no blue cones)#B79C970.051
Achromatopsia (no color)#A2A2A20.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA27A

    #AFA27A

    oklch(71.3% 0.057 92.2)

  • #96A1C7

    #96A1C7

    oklch(71.4% 0.057 272.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA27A

    #AFA27A

    oklch(71.3% 0.057 92.2)

  • #BD9B7E

    #BD9B7E

    oklch(71.3% 0.057 62.2)

  • #9CA981

    #9CA981

    oklch(71.4% 0.058 122.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFA27A

    #AFA27A

    oklch(71.3% 0.057 92.2)

  • #84A7C4

    #84A7C4

    oklch(71.3% 0.057 243.7)

  • #A99BC1

    #A99BC1

    oklch(71.4% 0.057 301.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA27A

    #AFA27A

    oklch(71.3% 0.057 92.2)

  • #79ACB7

    #79ACB7

    oklch(71.2% 0.056 212.5)

  • #B896B2

    #B896B2

    oklch(71.3% 0.056 332.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA27A

    #AFA27A

    oklch(71.3% 0.057 92.2)

  • #7AAFA5

    #7AAFA5

    oklch(71.4% 0.058 181.5)

  • #96A1C7

    #96A1C7

    oklch(71.4% 0.057 272.3)

  • #C2949F

    #C2949F

    oklch(71.3% 0.057 2.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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