#AFB796

Closest named color: Putty (#BEAE8A). oklch(76.4% 0.046 118.6), rgb(175, 183, 150).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (76%)
Chromamuted (0.046)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text10.03:1
White text2.09:1

Values

HEX#AFB796
RGBrgb(175, 183, 150)
HSLhsl(75, 19%, 65%)
OKLCHoklch(76.4% 0.046 118.6)

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 #AFB796 2.09:1 Fails Lc -45.5 Large or bold text, headings
Black text on #AFB796 10.03:1 AAA Lc 63.0 Content text, not long reading
#AFB796 text on white 2.09:1 Fails Lc 40.9 Non-text elements, placeholder text
#AFB796 text on black 10.03:1 AAA Lc -61.3 Content text, not long reading

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 300.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D7DCC9

    oklch(88.5% 0.026 118.9)

  4. Step 300

    300 (this color)

    #AFB796

    oklch(76.4% 0.046 118.6)

  5. Step 400

    400

    #9CA772

    oklch(70.6% 0.074 117.9)

  6. Step 500

    500

    #84914D

    oklch(63% 0.093 118.1)

  7. Step 600

    600

    #6D7B2E

    oklch(55.5% 0.103 118.6)

  8. Step 700

    700

    #5B6821

    oklch(49.1% 0.096 119)

  9. Step 800

    800

    #4B551D

    oklch(42.8% 0.08 118.5)

  10. Step 900

    900

    #3E461E

    oklch(37.7% 0.062 118.8)

  11. Step 950

    950

    #242912

    oklch(26.9% 0.039 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFB796 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)#BCB3940.020
Deuteranopia (no green cones)#BBB3970.020
Tritanopia (no blue cones)#B2B3AE0.039
Achromatopsia (no color)#B3B3B30.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB796

    #AFB796

    oklch(76.4% 0.046 118.6)

  • #B6ADCD

    #B6ADCD

    oklch(76.6% 0.046 298.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB796

    #AFB796

    oklch(76.4% 0.046 118.6)

  • #BEB191

    #BEB191

    oklch(76.3% 0.046 88.5)

  • #9FBBA2

    #9FBBA2

    oklch(76.4% 0.047 148.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFB796

    #AFB796

    oklch(76.4% 0.046 118.6)

  • #A6B2D1

    #A6B2D1

    oklch(76.5% 0.046 268.6)

  • #C4A8C1

    #C4A8C1

    oklch(76.4% 0.047 329.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB796

    #AFB796

    oklch(76.4% 0.046 118.6)

  • #98B7CD

    #98B7CD

    oklch(76.4% 0.046 239.1)

  • #CCA7B2

    #CCA7B2

    oklch(76.5% 0.046 358.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB796

    #AFB796

    oklch(76.4% 0.046 118.6)

  • #91BBC2

    #91BBC2

    oklch(76.4% 0.046 208.8)

  • #B6ADCD

    #B6ADCD

    oklch(76.6% 0.046 298.2)

  • #CEA8A2

    #CEA8A2

    oklch(76.4% 0.046 28.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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