#AFA17B

Closest named color: Stone (#ADA587). oklch(71.1% 0.055 90.2), rgb(175, 161, 123).

Aa

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

About this color

#AFA17B is a medium-light, muted yellow. In OKLCH its lightness is 71%, its chroma 0.055 and its hue 90°. 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.20:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamuted (0.055)
Temperaturewarm
Nearest nameStone (#ADA587)
Black text8.20:1
White text2.55:1

Values

HEX#AFA17B
RGBrgb(175, 161, 123)
HSLhsl(44, 25%, 58%)
OKLCHoklch(71.1% 0.055 90.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 #AFA17B 2.55:1 Fails Lc -55.2 Large or bold text, headings
Black text on #AFA17B 8.20:1 AAA Lc 53.9 Large or bold text, headings
#AFA17B text on white 2.55:1 Fails Lc 50.1 Large or bold text, headings
#AFA17B text on black 8.20:1 AAA Lc -51.8 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

    #ECEAE3

    oklch(93.7% 0.01 93.6)

  3. Step 200

    200

    #DED9CB

    oklch(88.5% 0.02 90.6)

  4. Step 300

    300

    #C9C0A8

    oklch(80.9% 0.034 89.9)

  5. Step 400

    400 (this color)

    #AFA17B

    oklch(71.1% 0.055 90.2)

  6. Step 500

    500

    #9A8857

    oklch(63.1% 0.07 90.1)

  7. Step 600

    600

    #84713C

    oklch(55.5% 0.076 90.1)

  8. Step 700

    700

    #705F2E

    oklch(49.1% 0.071 90.5)

  9. Step 800

    800

    #5B4E27

    oklch(42.8% 0.059 91.4)

  10. Step 900

    900

    #4B4124

    oklch(37.8% 0.046 91)

  11. Step 950

    950

    #2C2616

    oklch(27.1% 0.029 89.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFA17B 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)#AA9F790.010
Deuteranopia (no green cones)#ADA47C0.008
Tritanopia (no blue cones)#B79B970.049
Achromatopsia (no color)#A2A2A20.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA17B

    #AFA17B

    oklch(71.1% 0.055 90.2)

  • #95A1C5

    #95A1C5

    oklch(71.2% 0.054 270.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA17B

    #AFA17B

    oklch(71.1% 0.055 90.2)

  • #BC9A80

    #BC9A80

    oklch(71% 0.055 59.1)

  • #9DA781

    #9DA781

    oklch(71% 0.054 119.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA17B

    #AFA17B

    oklch(71.1% 0.055 90.2)

  • #83A7C1

    #83A7C1

    oklch(71.1% 0.055 239.9)

  • #A79BC0

    #A79BC0

    oklch(71.2% 0.055 299.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA17B

    #AFA17B

    oklch(71.1% 0.055 90.2)

  • #7AACB5

    #7AACB5

    oklch(71.2% 0.054 209.9)

  • #B696B2

    #B696B2

    oklch(71.1% 0.054 330.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA17B

    #AFA17B

    oklch(71.1% 0.055 90.2)

  • #7CAEA3

    #7CAEA3

    oklch(71.2% 0.056 179.4)

  • #95A1C5

    #95A1C5

    oklch(71.2% 0.054 270.5)

  • #C094A0

    #C094A0

    oklch(71.1% 0.055 0.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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