#AFB978

Closest named color: Tan Green (#A9BE70). oklch(76.2% 0.087 115.6), rgb(175, 185, 120).

Aa

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

About this color

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

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

Values

HEX#AFB978
RGBrgb(175, 185, 120)
HSLhsl(69, 32%, 60%)
OKLCHoklch(76.2% 0.087 115.6)

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 #AFB978 2.09:1 Fails Lc -45.5 Large or bold text, headings
Black text on #AFB978 10.03:1 AAA Lc 63.0 Content text, not long reading
#AFB978 text on white 2.09:1 Fails Lc 40.9 Non-text elements, placeholder text
#AFB978 text on black 10.03: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

    #D7DEBA

    oklch(88.6% 0.049 116.3)

  4. Step 300

    300 (this color)

    #AFB978

    oklch(76.2% 0.087 115.6)

  5. Step 400

    400

    #9DAB35

    oklch(70.8% 0.14 115.9)

  6. Step 500

    500

    #869300

    oklch(63.1% 0.144 115.9)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404700

    oklch(37.8% 0.086 116)

  11. Step 950

    950

    #252A00

    oklch(27.1% 0.062 116.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFB978 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)#C2B3730.029
Deuteranopia (no green cones)#C1B47B0.029
Tritanopia (no blue cones)#B6B2A90.076
Achromatopsia (no color)#B3B3B30.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB978

    #AFB978

    oklch(76.2% 0.087 115.6)

  • #B6A7E4

    #B6A7E4

    oklch(76.3% 0.088 295.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB978

    #AFB978

    oklch(76.2% 0.087 115.6)

  • #CBAE70

    #CBAE70

    oklch(76.2% 0.087 85.4)

  • #8EC190

    #8EC190

    oklch(76.2% 0.088 145.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFB978

    #AFB978

    oklch(76.2% 0.087 115.6)

  • #97B1EA

    #97B1EA

    oklch(76.2% 0.087 265.4)

  • #CF9FD0

    #CF9FD0

    oklch(76.3% 0.087 325.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB978

    #AFB978

    oklch(76.2% 0.087 115.6)

  • #79BBE2

    #79BBE2

    oklch(76.2% 0.088 235.5)

  • #DF9BB4

    #DF9BB4

    oklch(76.3% 0.087 355.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB978

    #AFB978

    oklch(76.2% 0.087 115.6)

  • #68C2CD

    #68C2CD

    oklch(76.2% 0.088 205.9)

  • #B6A7E4

    #B6A7E4

    oklch(76.3% 0.088 295.5)

  • #E49C95

    #E49C95

    oklch(76.1% 0.087 25.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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