#AFB795

Closest named color: Putty (#BEAE8A). oklch(76.4% 0.048 118.3), rgb(175, 183, 149).

Aa

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

About this color

#AFB795 is a medium-light, muted yellow. In OKLCH its lightness is 76%, its chroma 0.048 and its hue 118°. 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.048)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text10.03:1
White text2.09:1

Values

HEX#AFB795
RGBrgb(175, 183, 149)
HSLhsl(74, 19%, 65%)
OKLCHoklch(76.4% 0.048 118.3)

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

    #D7DCC8

    oklch(88.5% 0.027 118.4)

  4. Step 300

    300 (this color)

    #AFB795

    oklch(76.4% 0.048 118.3)

  5. Step 400

    400

    #9CA871

    oklch(70.8% 0.077 118.4)

  6. Step 500

    500

    #84924A

    oklch(63.2% 0.098 118.4)

  7. Step 600

    600

    #6E7B2B

    oklch(55.5% 0.105 117.8)

  8. Step 700

    700

    #5C681D

    oklch(49.1% 0.099 118.1)

  9. Step 800

    800

    #4B551B

    oklch(42.8% 0.082 118.3)

  10. Step 900

    900

    #3E461C

    oklch(37.6% 0.064 118.5)

  11. Step 950

    950

    #242911

    oklch(26.9% 0.041 118.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFB795 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)#BCB3930.020
Deuteranopia (no green cones)#BBB3960.020
Tritanopia (no blue cones)#B3B3AE0.041
Achromatopsia (no color)#B3B3B30.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB795

    #AFB795

    oklch(76.4% 0.048 118.3)

  • #B6ACCD

    #B6ACCD

    oklch(76.4% 0.048 299.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB795

    #AFB795

    oklch(76.4% 0.048 118.3)

  • #BFB190

    #BFB190

    oklch(76.4% 0.048 87.7)

  • #9EBBA2

    #9EBBA2

    oklch(76.3% 0.047 149)

Open the analogous palette in the generator

Split complementary

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

  • #AFB795

    #AFB795

    oklch(76.4% 0.048 118.3)

  • #A5B2D2

    #A5B2D2

    oklch(76.4% 0.048 267.8)

  • #C4A8C2

    #C4A8C2

    oklch(76.4% 0.048 328.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB795

    #AFB795

    oklch(76.4% 0.048 118.3)

  • #97B7CE

    #97B7CE

    oklch(76.3% 0.048 239.5)

  • #CDA6B2

    #CDA6B2

    oklch(76.4% 0.048 357.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB795

    #AFB795

    oklch(76.4% 0.048 118.3)

  • #8FBBC2

    #8FBBC2

    oklch(76.3% 0.048 208.3)

  • #B6ACCD

    #B6ACCD

    oklch(76.4% 0.048 299.1)

  • #CFA7A1

    #CFA7A1

    oklch(76.3% 0.048 28.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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