#AFB976

Closest named color: Tan Green (#A9BE70). oklch(76.2% 0.09 115.5), rgb(175, 185, 118).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text10.02:1
White text2.09:1

Values

HEX#AFB976
RGBrgb(175, 185, 118)
HSLhsl(69, 32%, 59%)
OKLCHoklch(76.2% 0.09 115.5)

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 #AFB976 2.09:1 Fails Lc -45.6 Large or bold text, headings
Black text on #AFB976 10.02:1 AAA Lc 63.0 Content text, not long reading
#AFB976 text on white 2.09:1 Fails Lc 41.0 Non-text elements, placeholder text
#AFB976 text on black 10.02:1 AAA Lc -61.3 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

    #F5F7EE

    oklch(97.2% 0.012 116.8)

  2. Step 100

    100

    #E9ECD9

    oklch(93.6% 0.025 114.2)

  3. Step 200

    200

    #D7DEB9

    oklch(88.6% 0.05 116.1)

  4. Step 300

    300 (this color)

    #AFB976

    oklch(76.2% 0.09 115.5)

  5. Step 400

    400

    #9DAB2F

    oklch(70.8% 0.144 115.8)

  6. Step 500

    500

    #879300

    oklch(63.2% 0.144 115.4)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5F6800

    oklch(49.3% 0.112 115.5)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404600

    oklch(37.6% 0.085 115.2)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFB976 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)#C2B3710.029
Deuteranopia (no green cones)#C1B4790.029
Tritanopia (no blue cones)#B6B2A80.077
Achromatopsia (no color)#B3B3B30.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB976

    #AFB976

    oklch(76.2% 0.09 115.5)

  • #B6A6E5

    #B6A6E5

    oklch(76.1% 0.09 295.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB976

    #AFB976

    oklch(76.2% 0.09 115.5)

  • #CCAE6E

    #CCAE6E

    oklch(76.3% 0.09 85.3)

  • #8DC18F

    #8DC18F

    oklch(76.1% 0.089 145.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFB976

    #AFB976

    oklch(76.2% 0.09 115.5)

  • #96B1EC

    #96B1EC

    oklch(76.2% 0.09 265.3)

  • #D09ED1

    #D09ED1

    oklch(76.2% 0.09 325.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB976

    #AFB976

    oklch(76.2% 0.09 115.5)

  • #77BBE3

    #77BBE3

    oklch(76.2% 0.09 235.5)

  • #E09AB4

    #E09AB4

    oklch(76.2% 0.09 355.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB976

    #AFB976

    oklch(76.2% 0.09 115.5)

  • #65C2CD

    #65C2CD

    oklch(76.1% 0.09 205.6)

  • #B6A6E5

    #B6A6E5

    oklch(76.1% 0.09 295.8)

  • #E59C94

    #E59C94

    oklch(76.2% 0.089 26.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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