#AFBF97

Closest named color: Ash Gray (#BFC8AD). oklch(78.2% 0.058 125.4), rgb(175, 191, 151).

Aa

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

About this color

#AFBF97 is a light, muted green. In OKLCH its lightness is 78%, its chroma 0.058 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.042 away. Black text reads best on it, at 10.72:1.

Hue familyGreens
Lightnesslight (78%)
Chromamuted (0.058)
Temperaturein between
Nearest nameAsh Gray (#BFC8AD)
Black text10.72:1
White text1.95:1

Values

HEX#AFBF97
RGBrgb(175, 191, 151)
HSLhsl(84, 24%, 67%)
OKLCHoklch(78.2% 0.058 125.4)

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 #AFBF97 1.95:1 Fails Lc -42.1 Non-text elements, placeholder text
Black text on #AFBF97 10.72:1 AAA Lc 66.2 Content text, not long reading
#AFBF97 text on white 1.95:1 Fails Lc 37.7 Non-text elements, placeholder text
#AFBF97 text on black 10.72: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

    #D4DDC7

    oklch(88.5% 0.031 125.2)

  4. Step 300

    300 (this color)

    #AFBF97

    oklch(78.2% 0.058 125.4)

  5. Step 400

    400

    #93AB6B

    oklch(70.7% 0.092 125.4)

  6. Step 500

    500

    #789640

    oklch(63.1% 0.119 125.7)

  7. Step 600

    600

    #61801C

    oklch(55.6% 0.129 125.8)

  8. Step 700

    700

    #516C0B

    oklch(49.2% 0.119 125.4)

  9. Step 800

    800

    #425810

    oklch(42.7% 0.099 125.6)

  10. Step 900

    900

    #384816

    oklch(37.6% 0.076 125)

  11. Step 950

    950

    #212B0E

    oklch(27.2% 0.05 125.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFBF97 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)#C4BA950.030
Deuteranopia (no green cones)#C1B9990.029
Tritanopia (no blue cones)#B2BBB40.046
Achromatopsia (no color)#B9B9B90.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBF97

    #AFBF97

    oklch(78.2% 0.058 125.4)

  • #C1AFD6

    #C1AFD6

    oklch(78.2% 0.058 306)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBF97

    #AFBF97

    oklch(78.2% 0.058 125.4)

  • #C3B88E

    #C3B88E

    oklch(78.1% 0.058 95.1)

  • #9BC3A8

    #9BC3A8

    oklch(78.1% 0.057 155.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFBF97

    #AFBF97

    oklch(78.2% 0.058 125.4)

  • #ADB6DE

    #ADB6DE

    oklch(78.3% 0.058 275.1)

  • #D0ABC6

    #D0ABC6

    oklch(78.2% 0.056 335.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBF97

    #AFBF97

    oklch(78.2% 0.058 125.4)

  • #9ABCDB

    #9ABCDB

    oklch(78.1% 0.058 246.1)

  • #D9A9B3

    #D9A9B3

    oklch(78.1% 0.058 4.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBF97

    #AFBF97

    oklch(78.2% 0.058 125.4)

  • #8EC2CF

    #8EC2CF

    oklch(78.2% 0.057 214.9)

  • #C1AFD6

    #C1AFD6

    oklch(78.2% 0.058 306)

  • #DAAC9F

    #DAAC9F

    oklch(78.3% 0.057 36.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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