#AFA798

Closest named color: Bland (#AFA88B). oklch(73.1% 0.023 83.3), rgb(175, 167, 152).

Aa

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

About this color

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

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

Values

HEX#AFA798
RGBrgb(175, 167, 152)
HSLhsl(39, 13%, 64%)
OKLCHoklch(73.1% 0.023 83.3)

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 #AFA798 2.38:1 Fails Lc -52.0 Large or bold text, headings
Black text on #AFA798 8.80:1 AAA Lc 57.0 Large or bold text, headings
#AFA798 text on white 2.38:1 Fails Lc 47.0 Large or bold text, headings
#AFA798 text on black 8.80:1 AAA Lc -55.0 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

    #EBEAE7

    oklch(93.7% 0.004 91.4)

  3. Step 200

    200

    #DCD9D3

    oklch(88.6% 0.009 84.6)

  4. Step 300

    300

    #C5C0B6

    oklch(80.9% 0.015 84.6)

  5. Step 400

    400 (this color)

    #AFA798

    oklch(73.1% 0.023 83.3)

  6. Step 500

    500

    #928876

    oklch(63% 0.029 82.3)

  7. Step 600

    600

    #7C725E

    oklch(55.6% 0.032 84.5)

  8. Step 700

    700

    #695F4E

    oklch(49% 0.029 81)

  9. Step 800

    800

    #564E40

    oklch(42.8% 0.025 81.6)

  10. Step 900

    900

    #474136

    oklch(37.8% 0.02 82.7)

  11. Step 950

    950

    #292620

    oklch(27% 0.012 84.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFA798 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)#ABA7970.006
Deuteranopia (no green cones)#ADA9980.006
Tritanopia (no blue cones)#B3A4A30.021
Achromatopsia (no color)#A8A8A80.023

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA798

    #AFA798

    oklch(73.1% 0.023 83.3)

  • #A0A8B7

    #A0A8B7

    oklch(73% 0.024 263.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA798

    #AFA798

    oklch(73.1% 0.023 83.3)

  • #B4A49B

    #B4A49B

    oklch(73% 0.023 51.4)

  • #A8AA99

    #A8AA99

    oklch(73.2% 0.024 112.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFA798

    #AFA798

    oklch(73.1% 0.023 83.3)

  • #9AABB4

    #9AABB4

    oklch(73.1% 0.023 230.7)

  • #A8A6B6

    #A8A6B6

    oklch(73.2% 0.023 291.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA798

    #AFA798

    oklch(73.1% 0.023 83.3)

  • #98ADAE

    #98ADAE

    oklch(73.2% 0.023 200.2)

  • #AFA3B0

    #AFA3B0

    oklch(73% 0.023 323.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA798

    #AFA798

    oklch(73.1% 0.023 83.3)

  • #9AADA7

    #9AADA7

    oklch(73.1% 0.023 174.7)

  • #A0A8B7

    #A0A8B7

    oklch(73% 0.024 263.2)

  • #B4A2A9

    #B4A2A9

    oklch(73% 0.023 352.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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