#AFA795

Closest named color: Bland (#AFA88B). oklch(73% 0.027 86.9), rgb(175, 167, 149).

Aa

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

About this color

#AFA795 is a medium-light close to neutral grey. In OKLCH its lightness is 73%, its chroma 0.027. It has too little chroma to lean warm or cool. The nearest named color is Bland (#AFA88B), ΔE 0.015 away. Black text reads best on it, at 8.78:1.

Hue familyNeutrals
Lightnessmedium-light (73%)
Chromaclose to neutral grey (0.027)
Temperatureneutral
Nearest nameBland (#AFA88B)
Black text8.78:1
White text2.39:1

Values

HEX#AFA795
RGBrgb(175, 167, 149)
HSLhsl(42, 14%, 64%)
OKLCHoklch(73% 0.027 86.9)

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 #AFA795 2.39:1 Fails Lc -52.1 Large or bold text, headings
Black text on #AFA795 8.78:1 AAA Lc 56.9 Large or bold text, headings
#AFA795 text on white 2.39:1 Fails Lc 47.1 Large or bold text, headings
#AFA795 text on black 8.78:1 AAA Lc -54.9 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

    #F6F5F4

    oklch(97.1% 0.002 67.8)

  2. Step 100

    100

    #EBEAE6

    oklch(93.7% 0.005 95.1)

  3. Step 200

    200

    #DCD9D2

    oklch(88.6% 0.01 87.5)

  4. Step 300

    300

    #C5C0B5

    oklch(80.9% 0.016 86.4)

  5. Step 400

    400 (this color)

    #AFA795

    oklch(73% 0.027 86.9)

  6. Step 500

    500

    #928972

    oklch(63.2% 0.035 89.2)

  7. Step 600

    600

    #7D725A

    oklch(55.6% 0.038 86.3)

  8. Step 700

    700

    #69604A

    oklch(49.1% 0.035 88.4)

  9. Step 800

    800

    #564E3D

    oklch(42.7% 0.029 85.7)

  10. Step 900

    900

    #474134

    oklch(37.7% 0.023 86.1)

  11. Step 950

    950

    #29261F

    oklch(26.9% 0.013 87.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA795 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)#ACA6940.005
Deuteranopia (no green cones)#AEA9950.006
Tritanopia (no blue cones)#B4A4A20.024
Achromatopsia (no color)#A8A8A80.027

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA795

    #AFA795

    oklch(73% 0.027 86.9)

  • #A0A8B9

    #A0A8B9

    oklch(73.1% 0.026 265.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA795

    #AFA795

    oklch(73% 0.027 86.9)

  • #B5A498

    #B5A498

    oklch(73% 0.026 57.5)

  • #A6AA97

    #A6AA97

    oklch(72.9% 0.027 116.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFA795

    #AFA795

    oklch(73% 0.027 86.9)

  • #99ABB7

    #99ABB7

    oklch(73.1% 0.027 237)

  • #A9A5B7

    #A9A5B7

    oklch(73.1% 0.026 295.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA795

    #AFA795

    oklch(73% 0.027 86.9)

  • #95ADB0

    #95ADB0

    oklch(73% 0.027 205.8)

  • #B1A2B1

    #B1A2B1

    oklch(73% 0.027 325.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA795

    #AFA795

    oklch(73% 0.027 86.9)

  • #97AEA7

    #97AEA7

    oklch(73.1% 0.027 175.2)

  • #A0A8B9

    #A0A8B9

    oklch(73.1% 0.026 265.5)

  • #B7A1A8

    #B7A1A8

    oklch(73% 0.027 356.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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