#AFA788

Closest named color: Bland (#AFA88B). oklch(72.7% 0.044 95.2), rgb(175, 167, 136).

Aa

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

About this color

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

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

Values

HEX#AFA788
RGBrgb(175, 167, 136)
HSLhsl(48, 20%, 61%)
OKLCHoklch(72.7% 0.044 95.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 #AFA788 2.41:1 Fails Lc -52.5 Large or bold text, headings
Black text on #AFA788 8.70:1 AAA Lc 56.5 Large or bold text, headings
#AFA788 text on white 2.41:1 Fails Lc 47.5 Large or bold text, headings
#AFA788 text on black 8.70:1 AAA Lc -54.5 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

    #EBEAE4

    oklch(93.6% 0.008 98.9)

  3. Step 200

    200

    #DCD9CE

    oklch(88.5% 0.015 94.2)

  4. Step 300

    300

    #C6C1AD

    oklch(81% 0.028 95.4)

  5. Step 400

    400 (this color)

    #AFA788

    oklch(72.7% 0.044 95.2)

  6. Step 500

    500

    #948A63

    oklch(63.2% 0.056 95.5)

  7. Step 600

    600

    #7E7349

    oklch(55.5% 0.061 95.2)

  8. Step 700

    700

    #6B613A

    oklch(49.2% 0.058 95.5)

  9. Step 800

    800

    #574F31

    oklch(42.7% 0.047 95)

  10. Step 900

    900

    #47422B

    oklch(37.8% 0.037 97.4)

  11. Step 950

    950

    #2A2619

    oklch(26.9% 0.023 93)

Export this scale for Tailwind in the Tailwind colors tool

#AFA788 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)#AEA5860.006
Deuteranopia (no green cones)#B0A8890.003
Tritanopia (no blue cones)#B5A29E0.039
Achromatopsia (no color)#A7A7A70.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA788

    #AFA788

    oklch(72.7% 0.044 95.2)

  • #9EA5C3

    #9EA5C3

    oklch(72.6% 0.044 274.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA788

    #AFA788

    oklch(72.7% 0.044 95.2)

  • #BBA28A

    #BBA28A

    oklch(72.8% 0.045 65.9)

  • #A0AC8E

    #A0AC8E

    oklch(72.7% 0.044 125.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA788

    #AFA788

    oklch(72.7% 0.044 95.2)

  • #90AAC1

    #90AAC1

    oklch(72.6% 0.044 245.2)

  • #ADA0BD

    #ADA0BD

    oklch(72.6% 0.044 305.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA788

    #AFA788

    oklch(72.7% 0.044 95.2)

  • #88AEB8

    #88AEB8

    oklch(72.6% 0.044 215.6)

  • #B99DB2

    #B99DB2

    oklch(72.7% 0.044 334.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA788

    #AFA788

    oklch(72.7% 0.044 95.2)

  • #88B0AA

    #88B0AA

    oklch(72.6% 0.044 185)

  • #9EA5C3

    #9EA5C3

    oklch(72.6% 0.044 274.9)

  • #C09CA3

    #C09CA3

    oklch(72.7% 0.044 5.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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