#AFBE97

Closest named color: Ash Gray (#BFC8AD). oklch(78% 0.056 124.8), rgb(175, 190, 151).

Aa

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

About this color

#AFBE97 is a medium-light, muted yellow. In OKLCH its lightness is 78%, its chroma 0.056 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.63:1.

Hue familyYellows
Lightnessmedium-light (78%)
Chromamuted (0.056)
Temperaturein between
Nearest nameAsh Gray (#BFC8AD)
Black text10.63:1
White text1.97:1

Values

HEX#AFBE97
RGBrgb(175, 190, 151)
HSLhsl(83, 23%, 67%)
OKLCHoklch(78% 0.056 124.8)

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 #AFBE97 1.97:1 Fails Lc -42.5 Non-text elements, placeholder text
Black text on #AFBE97 10.63:1 AAA Lc 65.8 Content text, not long reading
#AFBE97 text on white 1.97:1 Fails Lc 38.1 Non-text elements, placeholder text
#AFBE97 text on black 10.63:1 AAA Lc -64.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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D4DDC7

    oklch(88.5% 0.031 125.2)

  4. Step 300

    300 (this color)

    #AFBE97

    oklch(78% 0.056 124.8)

  5. Step 400

    400

    #94AB6C

    oklch(70.8% 0.09 125)

  6. Step 500

    500

    #7A9542

    oklch(63.1% 0.115 124.6)

  7. Step 600

    600

    #637F1F

    oklch(55.6% 0.124 124.7)

  8. Step 700

    700

    #526B10

    oklch(49% 0.116 124.7)

  9. Step 800

    800

    #435712

    oklch(42.5% 0.095 124.7)

  10. Step 900

    900

    #394817

    oklch(37.7% 0.075 124.3)

  11. Step 950

    950

    #212A0F

    oklch(26.9% 0.047 124.7)

Export this scale for Tailwind in the Tailwind colors tool

#AFBE97 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)#C3B9950.029
Deuteranopia (no green cones)#C0B8990.028
Tritanopia (no blue cones)#B2BAB30.044
Achromatopsia (no color)#B8B8B80.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBE97

    #AFBE97

    oklch(78% 0.056 124.8)

  • #BFAFD5

    #BFAFD5

    oklch(78% 0.056 304.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBE97

    #AFBE97

    oklch(78% 0.056 124.8)

  • #C2B78F

    #C2B78F

    oklch(77.8% 0.055 94.5)

  • #9CC2A8

    #9CC2A8

    oklch(77.9% 0.055 155.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFBE97

    #AFBE97

    oklch(78% 0.056 124.8)

  • #ACB5DC

    #ACB5DC

    oklch(77.9% 0.057 274.8)

  • #CFAAC6

    #CFAAC6

    oklch(77.9% 0.057 334.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBE97

    #AFBE97

    oklch(78% 0.056 124.8)

  • #9ABCD9

    #9ABCD9

    oklch(78% 0.055 244.3)

  • #D8A9B2

    #D8A9B2

    oklch(78% 0.056 5.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBE97

    #AFBE97

    oklch(78% 0.056 124.8)

  • #8EC1CE

    #8EC1CE

    oklch(78% 0.056 215.2)

  • #BFAFD5

    #BFAFD5

    oklch(78% 0.056 304.2)

  • #D8AB9F

    #D8AB9F

    oklch(77.9% 0.056 35.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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