#AFAB82

Closest named color: Bland (#AFA88B). oklch(73.4% 0.056 103), rgb(175, 171, 130).

Aa

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

About this color

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

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

Values

HEX#AFAB82
RGBrgb(175, 171, 130)
HSLhsl(55, 22%, 60%)
OKLCHoklch(73.4% 0.056 103)

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

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DBDACB

    oklch(88.5% 0.02 103.7)

  4. Step 300

    300

    #C4C2A8

    oklch(80.9% 0.036 103.6)

  5. Step 400

    400 (this color)

    #AFAB82

    oklch(73.4% 0.056 103)

  6. Step 500

    500

    #918C57

    oklch(63.2% 0.073 103.6)

  7. Step 600

    600

    #7C753C

    oklch(55.6% 0.078 102.3)

  8. Step 700

    700

    #68622E

    oklch(49% 0.073 102.7)

  9. Step 800

    800

    #555027

    oklch(42.6% 0.06 102.4)

  10. Step 900

    900

    #464324

    oklch(37.8% 0.048 103.6)

  11. Step 950

    950

    #292716

    oklch(27% 0.029 102.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFAB82 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)#B3A87F0.009
Deuteranopia (no green cones)#B4AA830.008
Tritanopia (no blue cones)#B6A5A00.051
Achromatopsia (no color)#A9A9A90.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAB82

    #AFAB82

    oklch(73.4% 0.056 103)

  • #A3A5CC

    #A3A5CC

    oklch(73.4% 0.056 282.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAB82

    #AFAB82

    oklch(73.4% 0.056 103)

  • #BFA482

    #BFA482

    oklch(73.4% 0.056 73.2)

  • #9BB18D

    #9BB18D

    oklch(73.4% 0.056 133.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFAB82

    #AFAB82

    oklch(73.4% 0.056 103)

  • #90ACCC

    #90ACCC

    oklch(73.4% 0.056 252)

  • #B69FC3

    #B69FC3

    oklch(73.4% 0.057 313.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAB82

    #AFAB82

    oklch(73.4% 0.056 103)

  • #82B1C3

    #82B1C3

    oklch(73.3% 0.056 223.6)

  • #C39BB2

    #C39BB2

    oklch(73.3% 0.057 343.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAB82

    #AFAB82

    oklch(73.4% 0.056 103)

  • #7FB5B3

    #7FB5B3

    oklch(73.5% 0.057 193.1)

  • #A3A5CC

    #A3A5CC

    oklch(73.4% 0.056 282.6)

  • #CA9B9F

    #CA9B9F

    oklch(73.4% 0.056 12.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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