#AFA78C

Closest named color: Bland (#AFA88B). oklch(72.8% 0.039 93.4), rgb(175, 167, 140).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.039)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.72:1
White text2.40:1

Values

HEX#AFA78C
RGBrgb(175, 167, 140)
HSLhsl(46, 18%, 62%)
OKLCHoklch(72.8% 0.039 93.4)

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 #AFA78C 2.40:1 Fails Lc -52.4 Large or bold text, headings
Black text on #AFA78C 8.72:1 AAA Lc 56.6 Large or bold text, headings
#AFA78C text on white 2.40:1 Fails Lc 47.4 Large or bold text, headings
#AFA78C text on black 8.72:1 AAA Lc -54.6 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

    #DCD9CF

    oklch(88.5% 0.014 93)

  4. Step 300

    300

    #C6C1AF

    oklch(81% 0.025 94.1)

  5. Step 400

    400 (this color)

    #AFA78C

    oklch(72.8% 0.039 93.4)

  6. Step 500

    500

    #938967

    oklch(63% 0.05 93.6)

  7. Step 600

    600

    #7E734F

    oklch(55.6% 0.053 93.1)

  8. Step 700

    700

    #6A6040

    oklch(49% 0.049 92.8)

  9. Step 800

    800

    #574F35

    oklch(42.8% 0.041 93)

  10. Step 900

    900

    #47412E

    oklch(37.6% 0.032 92.6)

  11. Step 950

    950

    #2A261B

    oklch(26.9% 0.02 90.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA78C 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)#ADA68A0.005
Deuteranopia (no green cones)#AFA88D0.003
Tritanopia (no blue cones)#B5A39F0.034
Achromatopsia (no color)#A7A7A70.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA78C

    #AFA78C

    oklch(72.8% 0.039 93.4)

  • #9FA6C0

    #9FA6C0

    oklch(72.8% 0.038 273.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA78C

    #AFA78C

    oklch(72.8% 0.039 93.4)

  • #B9A28E

    #B9A28E

    oklch(72.7% 0.039 63.2)

  • #A2AB91

    #A2AB91

    oklch(72.7% 0.038 122.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFA78C

    #AFA78C

    oklch(72.8% 0.039 93.4)

  • #93AABE

    #93AABE

    oklch(72.7% 0.039 244.6)

  • #ACA2BB

    #ACA2BB

    oklch(72.9% 0.037 303.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA78C

    #AFA78C

    oklch(72.8% 0.039 93.4)

  • #8CAEB6

    #8CAEB6

    oklch(72.8% 0.039 213.6)

  • #B79EB1

    #B79EB1

    oklch(72.7% 0.039 334.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA78C

    #AFA78C

    oklch(72.8% 0.039 93.4)

  • #8DAFA9

    #8DAFA9

    oklch(72.7% 0.038 183.3)

  • #9FA6C0

    #9FA6C0

    oklch(72.8% 0.038 273.5)

  • #BD9DA4

    #BD9DA4

    oklch(72.7% 0.039 3.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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