#AFB282

Closest named color: Putty (#BEAE8A). oklch(74.9% 0.065 110.9), rgb(175, 178, 130).

Aa

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

About this color

#AFB282 is a medium-light, muted yellow. In OKLCH its lightness is 75%, its chroma 0.065 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Putty (#BEAE8A), ΔE 0.028 away. Black text reads best on it, at 9.51:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamuted (0.065)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text9.51:1
White text2.20:1

Values

HEX#AFB282
RGBrgb(175, 178, 130)
HSLhsl(64, 24%, 60%)
OKLCHoklch(74.9% 0.065 110.9)

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 #AFB282 2.20:1 Fails Lc -48.2 Large or bold text, headings
Black text on #AFB282 9.51:1 AAA Lc 60.5 Content text, not long reading
#AFB282 text on white 2.20:1 Fails Lc 43.5 Non-text elements, placeholder text
#AFB282 text on black 9.51:1 AAA Lc -58.7 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #D9DBCA

    oklch(88.5% 0.023 112.3)

  4. Step 300

    300

    #C1C4A6

    oklch(81% 0.041 112)

  5. Step 400

    400 (this color)

    #AFB282

    oklch(74.9% 0.065 110.9)

  6. Step 500

    500

    #8C8E51

    oklch(63.1% 0.083 110.2)

  7. Step 600

    600

    #767834

    oklch(55.6% 0.091 110.6)

  8. Step 700

    700

    #636527

    oklch(49.1% 0.084 110.8)

  9. Step 800

    800

    #515221

    oklch(42.6% 0.07 110.1)

  10. Step 900

    900

    #434421

    oklch(37.7% 0.053 110.2)

  11. Step 950

    950

    #272814

    oklch(27% 0.034 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFB282 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)#BAAE7F0.017
Deuteranopia (no green cones)#BAAF840.018
Tritanopia (no blue cones)#B5ACA50.057
Achromatopsia (no color)#AEAEAE0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB282

    #AFB282

    oklch(74.9% 0.065 110.9)

  • #ADA7D5

    #ADA7D5

    oklch(74.9% 0.066 290.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB282

    #AFB282

    oklch(74.9% 0.065 110.9)

  • #C3AA7F

    #C3AA7F

    oklch(74.9% 0.065 80.9)

  • #98B892

    #98B892

    oklch(74.8% 0.064 140.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFB282

    #AFB282

    oklch(74.9% 0.065 110.9)

  • #96AFD8

    #96AFD8

    oklch(75% 0.066 260.2)

  • #C1A1C7

    #C1A1C7

    oklch(75% 0.064 321)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB282

    #AFB282

    oklch(74.9% 0.065 110.9)

  • #83B6D0

    #83B6D0

    oklch(75% 0.065 230.9)

  • #CF9DB3

    #CF9DB3

    oklch(74.9% 0.066 350.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB282

    #AFB282

    oklch(74.9% 0.065 110.9)

  • #7BBBBE

    #7BBBBE

    oklch(75% 0.065 199.6)

  • #ADA7D5

    #ADA7D5

    oklch(74.9% 0.066 290.7)

  • #D49E9C

    #D49E9C

    oklch(75% 0.065 21.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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