#AFA68C

Closest named color: Bland (#AFA88B). oklch(72.6% 0.038 91.2), rgb(175, 166, 140).

Aa

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

About this color

#AFA68C is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.038 and its hue 91°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.006 away. Black text reads best on it, at 8.65:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.038)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.65:1
White text2.42:1

Values

HEX#AFA68C
RGBrgb(175, 166, 140)
HSLhsl(45, 18%, 62%)
OKLCHoklch(72.6% 0.038 91.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 #AFA68C 2.42:1 Fails Lc -52.8 Large or bold text, headings
Black text on #AFA68C 8.65:1 AAA Lc 56.2 Large or bold text, headings
#AFA68C text on white 2.42:1 Fails Lc 47.8 Large or bold text, headings
#AFA68C text on black 8.65:1 AAA Lc -54.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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EBEAE5

    oklch(93.6% 0.007 97.4)

  3. Step 200

    200

    #DCD9D0

    oklch(88.5% 0.013 91.5)

  4. Step 300

    300

    #C6C0B0

    oklch(80.8% 0.023 89.8)

  5. Step 400

    400 (this color)

    #AFA68C

    oklch(72.6% 0.038 91.2)

  6. Step 500

    500

    #948968

    oklch(63.1% 0.049 91.8)

  7. Step 600

    600

    #7F7350

    oklch(55.7% 0.052 91.3)

  8. Step 700

    700

    #6B6040

    oklch(49.1% 0.049 91.3)

  9. Step 800

    800

    #574E35

    oklch(42.6% 0.04 90.5)

  10. Step 900

    900

    #48412E

    oklch(37.7% 0.032 90.2)

  11. Step 950

    950

    #2A261B

    oklch(26.9% 0.02 90.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA68C 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)#ACA58A0.006
Deuteranopia (no green cones)#AEA78D0.003
Tritanopia (no blue cones)#B5A29F0.034
Achromatopsia (no color)#A6A6A60.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA68C

    #AFA68C

    oklch(72.6% 0.038 91.2)

  • #9DA6BF

    #9DA6BF

    oklch(72.6% 0.038 269.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA68C

    #AFA68C

    oklch(72.6% 0.038 91.2)

  • #B8A28F

    #B8A28F

    oklch(72.6% 0.037 63)

  • #A2AA90

    #A2AA90

    oklch(72.4% 0.038 121.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFA68C

    #AFA68C

    oklch(72.6% 0.038 91.2)

  • #92AABC

    #92AABC

    oklch(72.6% 0.037 240.5)

  • #AAA1BB

    #AAA1BB

    oklch(72.5% 0.038 301.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA68C

    #AFA68C

    oklch(72.6% 0.038 91.2)

  • #8CADB4

    #8CADB4

    oklch(72.5% 0.037 212)

  • #B59EB1

    #B59EB1

    oklch(72.5% 0.038 331.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA68C

    #AFA68C

    oklch(72.6% 0.038 91.2)

  • #8DAFA8

    #8DAFA8

    oklch(72.7% 0.038 181.3)

  • #9DA6BF

    #9DA6BF

    oklch(72.6% 0.038 269.8)

  • #BC9DA5

    #BC9DA5

    oklch(72.6% 0.038 0.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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