#AFBA85

Closest named color: Dark Khaki (#BDB76B). oklch(76.7% 0.073 117.7), rgb(175, 186, 133).

Aa

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

About this color

#AFBA85 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 77%, its chroma 0.073 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.032 away. Black text reads best on it, at 10.18:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text10.18:1
White text2.06:1

Values

HEX#AFBA85
RGBrgb(175, 186, 133)
HSLhsl(72, 28%, 63%)
OKLCHoklch(76.7% 0.073 117.7)

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 #AFBA85 2.06:1 Fails Lc -44.8 Non-text elements, placeholder text
Black text on #AFBA85 10.18:1 AAA Lc 63.7 Content text, not long reading
#AFBA85 text on white 2.06:1 Fails Lc 40.2 Non-text elements, placeholder text
#AFBA85 text on black 10.18:1 AAA Lc -62.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

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #E8ECDC

    oklch(93.6% 0.022 118.2)

  3. Step 200

    200

    #D6DDBF

    oklch(88.4% 0.041 117.9)

  4. Step 300

    300 (this color)

    #AFBA85

    oklch(76.7% 0.073 117.7)

  5. Step 400

    400

    #9BAA51

    oklch(70.7% 0.116 117.4)

  6. Step 500

    500

    #839400

    oklch(63.1% 0.146 117.6)

  7. Step 600

    600

    #6E7C00

    oklch(55.5% 0.128 117.3)

  8. Step 700

    700

    #5C6800

    oklch(49% 0.113 117.4)

  9. Step 800

    800

    #4B5500

    oklch(42.6% 0.098 117.3)

  10. Step 900

    900

    #3E4700

    oklch(37.7% 0.087 117.6)

  11. Step 950

    950

    #242A01

    oklch(27% 0.061 117.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFBA85 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)#C1B4820.028
Deuteranopia (no green cones)#C0B5870.027
Tritanopia (no blue cones)#B4B4AC0.062
Achromatopsia (no color)#B5B5B50.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFBA85

    #AFBA85

    oklch(76.7% 0.073 117.7)

  • #B8AADC

    #B8AADC

    oklch(76.7% 0.072 297.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFBA85

    #AFBA85

    oklch(76.7% 0.073 117.7)

  • #C7B17D

    #C7B17D

    oklch(76.7% 0.073 87.6)

  • #94C199

    #94C199

    oklch(76.8% 0.074 147.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFBA85

    #AFBA85

    oklch(76.7% 0.073 117.7)

  • #9FB2E3

    #9FB2E3

    oklch(76.6% 0.074 268.2)

  • #CDA3CB

    #CDA3CB

    oklch(76.6% 0.073 327.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFBA85

    #AFBA85

    oklch(76.7% 0.073 117.7)

  • #87BBDC

    #87BBDC

    oklch(76.8% 0.072 236.8)

  • #DAA0B3

    #DAA0B3

    oklch(76.6% 0.073 357.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFBA85

    #AFBA85

    oklch(76.7% 0.073 117.7)

  • #7AC1CB

    #7AC1CB

    oklch(76.8% 0.073 207.1)

  • #B8AADC

    #B8AADC

    oklch(76.7% 0.072 297.5)

  • #DEA29A

    #DEA29A

    oklch(76.7% 0.073 27.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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