#AFB970

Closest named color: Tan Green (#A9BE70). oklch(76.1% 0.097 115.1), rgb(175, 185, 112).

Aa

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

About this color

#AFB970 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.097 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.015 away. Black text reads best on it, at 9.99:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameTan Green (#A9BE70)
Black text9.99:1
White text2.10:1

Values

HEX#AFB970
RGBrgb(175, 185, 112)
HSLhsl(68, 34%, 58%)
OKLCHoklch(76.1% 0.097 115.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 #AFB970 2.10:1 Fails Lc -45.7 Large or bold text, headings
Black text on #AFB970 9.99:1 AAA Lc 62.8 Content text, not long reading
#AFB970 text on white 2.10:1 Fails Lc 41.1 Non-text elements, placeholder text
#AFB970 text on black 9.99:1 AAA Lc -61.2 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

    #F5F7ED

    oklch(97.2% 0.013 115.8)

  2. Step 100

    100

    #E9ECD8

    oklch(93.5% 0.027 113.8)

  3. Step 200

    200

    #D7DEB6

    oklch(88.5% 0.054 115.6)

  4. Step 300

    300 (this color)

    #AFB970

    oklch(76.1% 0.097 115.1)

  5. Step 400

    400

    #9EAB18

    oklch(70.7% 0.155 115.2)

  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

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4E5500

    oklch(42.8% 0.097 115.1)

  10. Step 900

    900

    #404600

    oklch(37.6% 0.085 115.2)

  11. Step 950

    950

    #262A00

    oklch(27.2% 0.062 115.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFB970 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)#C3B26A0.031
Deuteranopia (no green cones)#C2B4730.030
Tritanopia (no blue cones)#B7B1A70.084
Achromatopsia (no color)#B3B3B30.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB970

    #AFB970

    oklch(76.1% 0.097 115.1)

  • #B6A5E9

    #B6A5E9

    oklch(76.1% 0.098 295.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB970

    #AFB970

    oklch(76.1% 0.097 115.1)

  • #CEAD67

    #CEAD67

    oklch(76.2% 0.097 84.9)

  • #8AC28B

    #8AC28B

    oklch(76.1% 0.097 145)

Open the analogous palette in the generator

Split complementary

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

  • #AFB970

    #AFB970

    oklch(76.1% 0.097 115.1)

  • #93B1F0

    #93B1F0

    oklch(76.2% 0.097 264.6)

  • #D19CD3

    #D19CD3

    oklch(76% 0.097 325.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB970

    #AFB970

    oklch(76.1% 0.097 115.1)

  • #71BBE6

    #71BBE6

    oklch(76% 0.096 235.5)

  • #E398B4

    #E398B4

    oklch(76.2% 0.096 355.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB970

    #AFB970

    oklch(76.1% 0.097 115.1)

  • #5CC3CF

    #5CC3CF

    oklch(76.1% 0.097 205.6)

  • #B6A5E9

    #B6A5E9

    oklch(76.1% 0.098 295.5)

  • #E99992

    #E99992

    oklch(76.1% 0.097 25.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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