#AFAB74

Closest named color: Bland (#AFA88B). oklch(73.1% 0.074 104.5), rgb(175, 171, 116).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (73%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.90:1
White text2.35:1

Values

HEX#AFAB74
RGBrgb(175, 171, 116)
HSLhsl(56, 27%, 57%)
OKLCHoklch(73.1% 0.074 104.5)

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 #AFAB74 2.35:1 Fails Lc -51.4 Large or bold text, headings
Black text on #AFAB74 8.90:1 AAA Lc 57.5 Large or bold text, headings
#AFAB74 text on white 2.35:1 Fails Lc 46.5 Large or bold text, headings
#AFAB74 text on black 8.90:1 AAA Lc -55.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DBDAC7

    oklch(88.4% 0.026 104.5)

  4. Step 300

    300

    #C5C3A1

    oklch(81% 0.046 104.6)

  5. Step 400

    400 (this color)

    #AFAB74

    oklch(73.1% 0.074 104.5)

  6. Step 500

    500

    #928C44

    oklch(63% 0.094 104.5)

  7. Step 600

    600

    #7D7622

    oklch(55.6% 0.103 104.5)

  8. Step 700

    700

    #696314

    oklch(49% 0.096 104.9)

  9. Step 800

    800

    #565114

    oklch(42.7% 0.08 104.6)

  10. Step 900

    900

    #474318

    oklch(37.7% 0.062 104)

  11. Step 950

    950

    #29270F

    oklch(26.8% 0.039 104.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFAB74 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)#B4A7700.012
Deuteranopia (no green cones)#B6AA760.011
Tritanopia (no blue cones)#B7A49D0.067
Achromatopsia (no color)#A9A9A90.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAB74

    #AFAB74

    oklch(73.1% 0.074 104.5)

  • #A2A2D6

    #A2A2D6

    oklch(73.1% 0.075 284.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAB74

    #AFAB74

    oklch(73.1% 0.074 104.5)

  • #C4A273

    #C4A273

    oklch(73.2% 0.075 75.2)

  • #95B384

    #95B384

    oklch(73.2% 0.074 134.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFAB74

    #AFAB74

    oklch(73.1% 0.074 104.5)

  • #88ABD6

    #88ABD6

    oklch(73.1% 0.074 253.9)

  • #BA9AC9

    #BA9AC9

    oklch(73.1% 0.075 314.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAB74

    #AFAB74

    oklch(73.1% 0.074 104.5)

  • #73B2CB

    #73B2CB

    oklch(73% 0.074 225.1)

  • #CA96B3

    #CA96B3

    oklch(73.1% 0.073 344.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAB74

    #AFAB74

    oklch(73.1% 0.074 104.5)

  • #6DB7B6

    #6DB7B6

    oklch(73.1% 0.074 194.5)

  • #A2A2D6

    #A2A2D6

    oklch(73.1% 0.075 284.4)

  • #D29599

    #D29599

    oklch(73% 0.074 14.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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