#AFBC8B

Closest named color: Dark Khaki (#BDB76B). oklch(77.3% 0.068 120.1), rgb(175, 188, 139).

Aa

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

About this color

#AFBC8B is a medium-light, muted yellow. In OKLCH its lightness is 77%, its chroma 0.068 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.038 away. Black text reads best on it, at 10.38:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromamuted (0.068)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text10.38:1
White text2.02:1

Values

HEX#AFBC8B
RGBrgb(175, 188, 139)
HSLhsl(76, 27%, 64%)
OKLCHoklch(77.3% 0.068 120.1)

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 #AFBC8B 2.02:1 Fails Lc -43.7 Non-text elements, placeholder text
Black text on #AFBC8B 10.38:1 AAA Lc 64.7 Content text, not long reading
#AFBC8B text on white 2.02:1 Fails Lc 39.3 Non-text elements, placeholder text
#AFBC8B text on black 10.38:1 AAA Lc -63.1 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

    #E8ECDE

    oklch(93.6% 0.019 119.8)

  3. Step 200

    200

    #D5DDC2

    oklch(88.4% 0.037 120.6)

  4. Step 300

    300 (this color)

    #AFBC8B

    oklch(77.3% 0.068 120.1)

  5. Step 400

    400

    #98AB59

    oklch(70.8% 0.11 120)

  6. Step 500

    500

    #7F951E

    oklch(63.1% 0.14 120.1)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #596A00

    oklch(49.3% 0.117 120.1)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232A05

    oklch(26.9% 0.057 119.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFBC8B 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)#C2B6880.029
Deuteranopia (no green cones)#C1B68D0.030
Tritanopia (no blue cones)#B3B7AF0.056
Achromatopsia (no color)#B6B6B60.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBC8B

    #AFBC8B

    oklch(77.3% 0.068 120.1)

  • #BBACDB

    #BBACDB

    oklch(77.3% 0.068 299.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBC8B

    #AFBC8B

    oklch(77.3% 0.068 120.1)

  • #C6B483

    #C6B483

    oklch(77.3% 0.068 90.2)

  • #96C29E

    #96C29E

    oklch(77.3% 0.069 150)

Open the analogous palette in the generator

Split complementary

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

  • #AFBC8B

    #AFBC8B

    oklch(77.3% 0.068 120.1)

  • #A4B4E2

    #A4B4E2

    oklch(77.4% 0.068 269.8)

  • #CFA6CA

    #CFA6CA

    oklch(77.3% 0.068 330.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBC8B

    #AFBC8B

    oklch(77.3% 0.068 120.1)

  • #8DBBDD

    #8DBBDD

    oklch(77.1% 0.069 240.8)

  • #DBA3B3

    #DBA3B3

    oklch(77.2% 0.069 0)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBC8B

    #AFBC8B

    oklch(77.3% 0.068 120.1)

  • #80C1CD

    #80C1CD

    oklch(77.1% 0.068 210.4)

  • #BBACDB

    #BBACDB

    oklch(77.3% 0.068 299.4)

  • #DDA59B

    #DDA59B

    oklch(77.2% 0.068 30.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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