#AFBF8D

Closest named color: Tan Green (#A9BE70). oklch(78% 0.07 122.4), rgb(175, 191, 141).

Aa

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

About this color

#AFBF8D is a medium-light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.070 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.037 away. Black text reads best on it, at 10.65:1.

Hue familyYellows
Lightnessmedium-light (78%)
Chromamoderately saturated (0.070)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text10.65:1
White text1.97:1

Values

HEX#AFBF8D
RGBrgb(175, 191, 141)
HSLhsl(79, 28%, 65%)
OKLCHoklch(78% 0.07 122.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 #AFBF8D 1.97:1 Fails Lc -42.4 Non-text elements, placeholder text
Black text on #AFBF8D 10.65:1 AAA Lc 65.9 Content text, not long reading
#AFBF8D text on white 1.97:1 Fails Lc 38.0 Non-text elements, placeholder text
#AFBF8D text on black 10.65:1 AAA Lc -64.4 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

    #F4F7F0

    oklch(97.2% 0.01 125.7)

  2. Step 100

    100

    #E7ECDE

    oklch(93.5% 0.019 122.8)

  3. Step 200

    200

    #D4DEC2

    oklch(88.5% 0.039 123.2)

  4. Step 300

    300 (this color)

    #AFBF8D

    oklch(78% 0.07 122.4)

  5. Step 400

    400

    #94AC59

    oklch(70.7% 0.113 122.6)

  6. Step 500

    500

    #7A961D

    oklch(63% 0.143 122.5)

  7. Step 600

    600

    #667F00

    oklch(55.6% 0.135 122.3)

  8. Step 700

    700

    #556B00

    oklch(49.2% 0.12 122.6)

  9. Step 800

    800

    #455700

    oklch(42.6% 0.104 122.4)

  10. Step 900

    900

    #394900

    oklch(37.8% 0.092 122.7)

  11. Step 950

    950

    #212B05

    oklch(27% 0.06 123.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFBF8D 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)#C5B98A0.032
Deuteranopia (no green cones)#C3B98F0.032
Tritanopia (no blue cones)#B3BAB20.058
Achromatopsia (no color)#B9B9B90.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBF8D

    #AFBF8D

    oklch(78% 0.07 122.4)

  • #C0ADDD

    #C0ADDD

    oklch(78% 0.07 302.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBF8D

    #AFBF8D

    oklch(78% 0.07 122.4)

  • #C7B784

    #C7B784

    oklch(78.1% 0.07 92.7)

  • #96C5A2

    #96C5A2

    oklch(78% 0.07 152.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFBF8D

    #AFBF8D

    oklch(78% 0.07 122.4)

  • #A8B5E5

    #A8B5E5

    oklch(78% 0.07 272.9)

  • #D3A7CB

    #D3A7CB

    oklch(77.9% 0.07 332.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBF8D

    #AFBF8D

    oklch(78% 0.07 122.4)

  • #90BDE1

    #90BDE1

    oklch(77.9% 0.07 242.9)

  • #DFA5B3

    #DFA5B3

    oklch(78% 0.071 2.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBF8D

    #AFBF8D

    oklch(78% 0.07 122.4)

  • #81C4D2

    #81C4D2

    oklch(78% 0.071 212.2)

  • #C0ADDD

    #C0ADDD

    oklch(78% 0.07 302.9)

  • #E0A79B

    #E0A79B

    oklch(77.8% 0.07 32.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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