#AFB38D

Closest named color: Putty (#BEAE8A). oklch(75.4% 0.052 112.5), rgb(175, 179, 141).

Aa

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

About this color

#AFB38D is a medium-light, muted yellow. In OKLCH its lightness is 75%, its chroma 0.052 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Putty (#BEAE8A), ΔE 0.023 away. Black text reads best on it, at 9.65:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamuted (0.052)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text9.65:1
White text2.17:1

Values

HEX#AFB38D
RGBrgb(175, 179, 141)
HSLhsl(66, 20%, 63%)
OKLCHoklch(75.4% 0.052 112.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 #AFB38D 2.17:1 Fails Lc -47.5 Large or bold text, headings
Black text on #AFB38D 9.65:1 AAA Lc 61.2 Content text, not long reading
#AFB38D text on white 2.17:1 Fails Lc 42.8 Non-text elements, placeholder text
#AFB38D text on black 9.65:1 AAA Lc -59.4 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE3

    oklch(93.7% 0.011 112.4)

  3. Step 200

    200

    #D9DBCD

    oklch(88.6% 0.019 113.4)

  4. Step 300

    300

    #C0C3AB

    oklch(80.8% 0.033 112.9)

  5. Step 400

    400 (this color)

    #AFB38D

    oklch(75.4% 0.052 112.5)

  6. Step 500

    500

    #8A8E5E

    oklch(63.1% 0.067 112.2)

  7. Step 600

    600

    #747844

    oklch(55.7% 0.073 112.4)

  8. Step 700

    700

    #616536

    oklch(49.2% 0.068 112.9)

  9. Step 800

    800

    #4F522D

    oklch(42.6% 0.056 112.5)

  10. Step 900

    900

    #424429

    oklch(37.7% 0.043 111.9)

  11. Step 950

    950

    #262818

    oklch(27% 0.028 114.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFB38D 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)#B9AF8B0.016
Deuteranopia (no green cones)#B9B08E0.016
Tritanopia (no blue cones)#B4AEA90.047
Achromatopsia (no color)#B0B0B00.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB38D

    #AFB38D

    oklch(75.4% 0.052 112.5)

  • #AFAACE

    #AFAACE

    oklch(75.4% 0.051 291.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB38D

    #AFB38D

    oklch(75.4% 0.052 112.5)

  • #C0AD8A

    #C0AD8A

    oklch(75.5% 0.053 82.7)

  • #9CB89A

    #9CB89A

    oklch(75.3% 0.052 143.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFB38D

    #AFB38D

    oklch(75.4% 0.052 112.5)

  • #9DB0D1

    #9DB0D1

    oklch(75.4% 0.052 261.5)

  • #C0A4C3

    #C0A4C3

    oklch(75.3% 0.054 323)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB38D

    #AFB38D

    oklch(75.4% 0.052 112.5)

  • #8EB5CB

    #8EB5CB

    oklch(75.2% 0.053 233.1)

  • #CBA2B2

    #CBA2B2

    oklch(75.4% 0.053 353.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB38D

    #AFB38D

    oklch(75.4% 0.052 112.5)

  • #88B9BE

    #88B9BE

    oklch(75.3% 0.052 204)

  • #AFAACE

    #AFAACE

    oklch(75.4% 0.051 291.5)

  • #CFA3A0

    #CFA3A0

    oklch(75.5% 0.053 22.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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