#AFA78D

Closest named color: Bland (#AFA88B). oklch(72.8% 0.037 92.9), rgb(175, 167, 141).

Aa

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

About this color

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

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

Values

HEX#AFA78D
RGBrgb(175, 167, 141)
HSLhsl(46, 18%, 62%)
OKLCHoklch(72.8% 0.037 92.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 #AFA78D 2.40:1 Fails Lc -52.4 Large or bold text, headings
Black text on #AFA78D 8.73:1 AAA Lc 56.6 Large or bold text, headings
#AFA78D text on white 2.40:1 Fails Lc 47.4 Large or bold text, headings
#AFA78D text on black 8.73:1 AAA Lc -54.7 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

    #C6C1B0

    oklch(81% 0.024 93.4)

  5. Step 400

    400 (this color)

    #AFA78D

    oklch(72.8% 0.037 92.9)

  6. Step 500

    500

    #938969

    oklch(63% 0.047 92.8)

  7. Step 600

    600

    #7E7350

    oklch(55.7% 0.052 92.7)

  8. Step 700

    700

    #6A6041

    oklch(49% 0.048 92.3)

  9. Step 800

    800

    #564F36

    oklch(42.7% 0.04 94.3)

  10. Step 900

    900

    #47412F

    oklch(37.6% 0.03 91.8)

  11. Step 950

    950

    #2A261B

    oklch(26.9% 0.02 90.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFA78D 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)#ADA68B0.005
Deuteranopia (no green cones)#AFA88E0.003
Tritanopia (no blue cones)#B5A3A00.034
Achromatopsia (no color)#A7A7A70.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA78D

    #AFA78D

    oklch(72.8% 0.037 92.9)

  • #9FA6BF

    #9FA6BF

    oklch(72.8% 0.037 273.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA78D

    #AFA78D

    oklch(72.8% 0.037 92.9)

  • #B9A38F

    #B9A38F

    oklch(72.9% 0.038 64.5)

  • #A2AB92

    #A2AB92

    oklch(72.7% 0.037 123.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFA78D

    #AFA78D

    oklch(72.8% 0.037 92.9)

  • #94AABD

    #94AABD

    oklch(72.7% 0.037 244.4)

  • #ACA2BB

    #ACA2BB

    oklch(72.9% 0.037 303.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA78D

    #AFA78D

    oklch(72.8% 0.037 92.9)

  • #8DAEB5

    #8DAEB5

    oklch(72.9% 0.037 212)

  • #B69FB1

    #B69FB1

    oklch(72.8% 0.037 333.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA78D

    #AFA78D

    oklch(72.8% 0.037 92.9)

  • #8EAFA9

    #8EAFA9

    oklch(72.8% 0.037 183)

  • #9FA6BF

    #9FA6BF

    oklch(72.8% 0.037 273.1)

  • #BC9EA5

    #BC9EA5

    oklch(72.8% 0.037 2.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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