#AFAC71

Closest named color: Bland (#AFA88B). oklch(73.3% 0.079 105.7), rgb(175, 172, 113).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (73%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.96:1
White text2.34:1

Values

HEX#AFAC71
RGBrgb(175, 172, 113)
HSLhsl(57, 28%, 56%)
OKLCHoklch(73.3% 0.079 105.7)

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 #AFAC71 2.34:1 Fails Lc -51.1 Large or bold text, headings
Black text on #AFAC71 8.96:1 AAA Lc 57.8 Large or bold text, headings
#AFAC71 text on white 2.34:1 Fails Lc 46.2 Large or bold text, headings
#AFAC71 text on black 8.96:1 AAA Lc -55.9 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEBE0

    oklch(93.7% 0.015 106.7)

  3. Step 200

    200

    #DBDBC6

    oklch(88.6% 0.028 107)

  4. Step 300

    300

    #C4C39F

    oklch(80.9% 0.049 106.1)

  5. Step 400

    400 (this color)

    #AFAC71

    oklch(73.3% 0.079 105.7)

  6. Step 500

    500

    #928D3F

    oklch(63.1% 0.1 105.6)

  7. Step 600

    600

    #7C7719

    oklch(55.7% 0.11 106.3)

  8. Step 700

    700

    #696307

    oklch(49% 0.101 105.3)

  9. Step 800

    800

    #56510D

    oklch(42.7% 0.084 105)

  10. Step 900

    900

    #464315

    oklch(37.5% 0.065 105.6)

  11. Step 950

    950

    #29280E

    oklch(27.1% 0.042 106.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFAC71 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)#B6A86D0.013
Deuteranopia (no green cones)#B7AB730.013
Tritanopia (no blue cones)#B8A59D0.070
Achromatopsia (no color)#A9A9A90.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAC71

    #AFAC71

    oklch(73.3% 0.079 105.7)

  • #A4A2D9

    #A4A2D9

    oklch(73.4% 0.079 285.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAC71

    #AFAC71

    oklch(73.3% 0.079 105.7)

  • #C6A270

    #C6A270

    oklch(73.3% 0.079 75.2)

  • #93B482

    #93B482

    oklch(73.2% 0.079 135.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFAC71

    #AFAC71

    oklch(73.3% 0.079 105.7)

  • #88ABDA

    #88ABDA

    oklch(73.3% 0.079 255.9)

  • #BC9ACB

    #BC9ACB

    oklch(73.3% 0.079 315.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAC71

    #AFAC71

    oklch(73.3% 0.079 105.7)

  • #70B3CE

    #70B3CE

    oklch(73.2% 0.078 225.7)

  • #CE95B3

    #CE95B3

    oklch(73.4% 0.079 346.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAC71

    #AFAC71

    oklch(73.3% 0.079 105.7)

  • #68B8B8

    #68B8B8

    oklch(73.2% 0.079 195.6)

  • #A4A2D9

    #A4A2D9

    oklch(73.4% 0.079 285.9)

  • #D69598

    #D69598

    oklch(73.4% 0.079 16.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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