#AFBF95

Closest named color: Ash Gray (#BFC8AD). oklch(78.1% 0.06 124.7), rgb(175, 191, 149).

Aa

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

About this color

#AFBF95 is a light, muted yellow. In OKLCH its lightness is 78%, its chroma 0.060 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.043 away. Black text reads best on it, at 10.70:1.

Hue familyYellows
Lightnesslight (78%)
Chromamuted (0.060)
Temperaturein between
Nearest nameAsh Gray (#BFC8AD)
Black text10.70:1
White text1.96:1

Values

HEX#AFBF95
RGBrgb(175, 191, 149)
HSLhsl(83, 25%, 67%)
OKLCHoklch(78.1% 0.06 124.7)

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 #AFBF95 1.96:1 Fails Lc -42.1 Non-text elements, placeholder text
Black text on #AFBF95 10.70:1 AAA Lc 66.1 Content text, not long reading
#AFBF95 text on white 1.96:1 Fails Lc 37.8 Non-text elements, placeholder text
#AFBF95 text on black 10.70:1 AAA Lc -64.7 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D4DDC6

    oklch(88.4% 0.032 124.5)

  4. Step 300

    300 (this color)

    #AFBF95

    oklch(78.1% 0.06 124.7)

  5. Step 400

    400

    #93AB67

    oklch(70.6% 0.096 124.7)

  6. Step 500

    500

    #79963B

    oklch(63.1% 0.123 124.7)

  7. Step 600

    600

    #628010

    oklch(55.7% 0.134 124.8)

  8. Step 700

    700

    #516C00

    oklch(49.2% 0.123 125)

  9. Step 800

    800

    #425807

    oklch(42.7% 0.103 125)

  10. Step 900

    900

    #384912

    oklch(37.8% 0.081 125)

  11. Step 950

    950

    #212B0D

    oklch(27.1% 0.051 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFBF95 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)#C4BA920.030
Deuteranopia (no green cones)#C2B9970.030
Tritanopia (no blue cones)#B2BBB30.047
Achromatopsia (no color)#B9B9B90.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBF95

    #AFBF95

    oklch(78.1% 0.06 124.7)

  • #C0AFD7

    #C0AFD7

    oklch(78.1% 0.059 304.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBF95

    #AFBF95

    oklch(78.1% 0.06 124.7)

  • #C4B88C

    #C4B88C

    oklch(78.2% 0.061 94.6)

  • #9AC4A7

    #9AC4A7

    oklch(78.2% 0.061 154.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFBF95

    #AFBF95

    oklch(78.1% 0.06 124.7)

  • #ACB5DF

    #ACB5DF

    oklch(78% 0.061 275.4)

  • #D1AAC7

    #D1AAC7

    oklch(78.2% 0.06 335.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBF95

    #AFBF95

    oklch(78.1% 0.06 124.7)

  • #98BDDC

    #98BDDC

    oklch(78.2% 0.06 243.9)

  • #DAA8B3

    #DAA8B3

    oklch(78.1% 0.06 3.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBF95

    #AFBF95

    oklch(78.1% 0.06 124.7)

  • #8BC2D0

    #8BC2D0

    oklch(78.1% 0.06 215.3)

  • #C0AFD7

    #C0AFD7

    oklch(78.1% 0.059 304.4)

  • #DBAB9E

    #DBAB9E

    oklch(78.2% 0.06 35.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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