#AFBF98

Closest named color: Ash Gray (#BFC8AD). oklch(78.2% 0.056 125.8), rgb(175, 191, 152).

Aa

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

About this color

#AFBF98 is a light, muted green. In OKLCH its lightness is 78%, its chroma 0.056 and its hue 126°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.041 away. Black text reads best on it, at 10.72:1.

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

Values

HEX#AFBF98
RGBrgb(175, 191, 152)
HSLhsl(85, 23%, 67%)
OKLCHoklch(78.2% 0.056 125.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 #AFBF98 1.95:1 Fails Lc -42.1 Non-text elements, placeholder text
Black text on #AFBF98 10.72:1 AAA Lc 66.2 Content text, not long reading
#AFBF98 text on white 1.95:1 Fails Lc 37.7 Non-text elements, placeholder text
#AFBF98 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)

    #AFBF98

    oklch(78.2% 0.056 125.8)

  5. Step 400

    400

    #93AB6C

    oklch(70.7% 0.09 125.6)

  6. Step 500

    500

    #789643

    oklch(63.2% 0.116 126.1)

  7. Step 600

    600

    #618020

    oklch(55.7% 0.126 126)

  8. Step 700

    700

    #506C11

    oklch(49.2% 0.117 126.1)

  9. Step 800

    800

    #425813

    oklch(42.8% 0.097 125.9)

  10. Step 900

    900

    #384818

    oklch(37.6% 0.074 125.4)

  11. Step 950

    950

    #212B0F

    oklch(27.2% 0.049 125.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFBF98 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)#C4BA960.030
Deuteranopia (no green cones)#C1B99A0.029
Tritanopia (no blue cones)#B1BBB40.044
Achromatopsia (no color)#B9B9B90.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBF98

    #AFBF98

    oklch(78.2% 0.056 125.8)

  • #C1AFD5

    #C1AFD5

    oklch(78.2% 0.057 306.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBF98

    #AFBF98

    oklch(78.2% 0.056 125.8)

  • #C3B88F

    #C3B88F

    oklch(78.1% 0.057 94.8)

  • #9CC3A9

    #9CC3A9

    oklch(78.2% 0.056 155.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFBF98

    #AFBF98

    oklch(78.2% 0.056 125.8)

  • #AEB6DD

    #AEB6DD

    oklch(78.3% 0.056 275.9)

  • #D0ABC6

    #D0ABC6

    oklch(78.2% 0.056 335.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBF98

    #AFBF98

    oklch(78.2% 0.056 125.8)

  • #9BBCDB

    #9BBCDB

    oklch(78.2% 0.057 246.9)

  • #D9AAB2

    #D9AAB2

    oklch(78.3% 0.056 7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBF98

    #AFBF98

    oklch(78.2% 0.056 125.8)

  • #8FC2CF

    #8FC2CF

    oklch(78.3% 0.056 215.2)

  • #C1AFD5

    #C1AFD5

    oklch(78.2% 0.057 306.5)

  • #D9AC9F

    #D9AC9F

    oklch(78.2% 0.056 36.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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