#AFBF8F

Closest named color: Tan Green (#A9BE70). oklch(78% 0.068 122.9), rgb(175, 191, 143).

Aa

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

About this color

#AFBF8F is a medium-light, muted yellow. In OKLCH its lightness is 78%, its chroma 0.068 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Tan Green (#A9BE70), ΔE 0.040 away. Black text reads best on it, at 10.67:1.

Hue familyYellows
Lightnessmedium-light (78%)
Chromamuted (0.068)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text10.67:1
White text1.96:1

Values

HEX#AFBF8F
RGBrgb(175, 191, 143)
HSLhsl(80, 27%, 65%)
OKLCHoklch(78% 0.068 122.9)

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 #AFBF8F 1.96:1 Fails Lc -42.3 Non-text elements, placeholder text
Black text on #AFBF8F 10.67:1 AAA Lc 66.0 Content text, not long reading
#AFBF8F text on white 1.96:1 Fails Lc 37.9 Non-text elements, placeholder text
#AFBF8F text on black 10.67:1 AAA Lc -64.5 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

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E7ECDE

    oklch(93.5% 0.019 122.8)

  3. Step 200

    200

    #D4DEC3

    oklch(88.6% 0.038 123.7)

  4. Step 300

    300 (this color)

    #AFBF8F

    oklch(78% 0.068 122.9)

  5. Step 400

    400

    #94AC5D

    oklch(70.8% 0.109 123)

  6. Step 500

    500

    #7A9626

    oklch(63% 0.138 122.9)

  7. Step 600

    600

    #657F00

    oklch(55.6% 0.136 122.8)

  8. Step 700

    700

    #546B00

    oklch(49.1% 0.121 123.1)

  9. Step 800

    800

    #455700

    oklch(42.6% 0.104 122.4)

  10. Step 900

    900

    #394903

    oklch(37.8% 0.091 122.9)

  11. Step 950

    950

    #212B07

    oklch(27.1% 0.057 123.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFBF8F 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)#C5B98C0.032
Deuteranopia (no green cones)#C3B9910.032
Tritanopia (no blue cones)#B3BAB20.055
Achromatopsia (no color)#B9B9B90.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBF8F

    #AFBF8F

    oklch(78% 0.068 122.9)

  • #C0ADDC

    #C0ADDC

    oklch(77.9% 0.069 303.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBF8F

    #AFBF8F

    oklch(78% 0.068 122.9)

  • #C6B786

    #C6B786

    oklch(78% 0.067 93.1)

  • #97C5A3

    #97C5A3

    oklch(78.1% 0.068 152.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFBF8F

    #AFBF8F

    oklch(78% 0.068 122.9)

  • #A9B5E4

    #A9B5E4

    oklch(78% 0.068 273.6)

  • #D2A8CA

    #D2A8CA

    oklch(78% 0.067 332.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBF8F

    #AFBF8F

    oklch(78% 0.068 122.9)

  • #92BDE0

    #92BDE0

    oklch(78% 0.068 243.3)

  • #DDA6B3

    #DDA6B3

    oklch(78% 0.067 3.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBF8F

    #AFBF8F

    oklch(78% 0.068 122.9)

  • #84C3D1

    #84C3D1

    oklch(77.9% 0.067 213.1)

  • #C0ADDC

    #C0ADDC

    oklch(77.9% 0.069 303.3)

  • #DFA89C

    #DFA89C

    oklch(78% 0.068 32.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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