#AFB480

Closest named color: Putty (#BEAE8A). oklch(75.3% 0.071 112.6), rgb(175, 180, 128).

Aa

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

About this color

#AFB480 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.071 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Putty (#BEAE8A), ΔE 0.033 away. Black text reads best on it, at 9.66:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.071)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text9.66:1
White text2.17:1

Values

HEX#AFB480
RGBrgb(175, 180, 128)
HSLhsl(66, 26%, 60%)
OKLCHoklch(75.3% 0.071 112.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 #AFB480 2.17:1 Fails Lc -47.4 Large or bold text, headings
Black text on #AFB480 9.66:1 AAA Lc 61.2 Content text, not long reading
#AFB480 text on white 2.17:1 Fails Lc 42.7 Non-text elements, placeholder text
#AFB480 text on black 9.66:1 AAA Lc -59.5 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #EAEBE1

    oklch(93.7% 0.013 111.3)

  3. Step 200

    200

    #D9DBC9

    oklch(88.5% 0.024 112)

  4. Step 300

    300

    #C0C4A4

    oklch(80.9% 0.044 113.2)

  5. Step 400

    400 (this color)

    #AFB480

    oklch(75.3% 0.071 112.6)

  6. Step 500

    500

    #8A8F4C

    oklch(63% 0.09 112.5)

  7. Step 600

    600

    #74792E

    oklch(55.6% 0.098 112.7)

  8. Step 700

    700

    #626621

    oklch(49.2% 0.091 112.5)

  9. Step 800

    800

    #50531D

    oklch(42.7% 0.075 112.2)

  10. Step 900

    900

    #42451E

    oklch(37.8% 0.059 112.8)

  11. Step 950

    950

    #272812

    oklch(26.9% 0.037 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFB480 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)#BCAF7D0.021
Deuteranopia (no green cones)#BCB1820.020
Tritanopia (no blue cones)#B5AEA60.061
Achromatopsia (no color)#B0B0B00.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB480

    #AFB480

    oklch(75.3% 0.071 112.6)

  • #B0A7D8

    #B0A7D8

    oklch(75.3% 0.07 293.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB480

    #AFB480

    oklch(75.3% 0.071 112.6)

  • #C5AB7B

    #C5AB7B

    oklch(75.2% 0.071 82.5)

  • #95BB92

    #95BB92

    oklch(75.3% 0.071 143)

Open the analogous palette in the generator

Split complementary

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

  • #AFB480

    #AFB480

    oklch(75.3% 0.071 112.6)

  • #97AFDC

    #97AFDC

    oklch(75.2% 0.07 262.8)

  • #C5A0C9

    #C5A0C9

    oklch(75.2% 0.071 323.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB480

    #AFB480

    oklch(75.3% 0.071 112.6)

  • #81B7D4

    #81B7D4

    oklch(75.2% 0.07 232.4)

  • #D39DB3

    #D39DB3

    oklch(75.3% 0.07 352.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB480

    #AFB480

    oklch(75.3% 0.071 112.6)

  • #77BDC2

    #77BDC2

    oklch(75.4% 0.071 201.6)

  • #B0A7D8

    #B0A7D8

    oklch(75.3% 0.07 293.1)

  • #D89E9A

    #D89E9A

    oklch(75.3% 0.07 23.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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