#AFB288

Closest named color: Putty (#BEAE8A). oklch(75% 0.058 111.1), rgb(175, 178, 136).

Aa

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

About this color

#AFB288 is a medium-light, muted yellow. In OKLCH its lightness is 75%, its chroma 0.058 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.024 away. Black text reads best on it, at 9.54:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamuted (0.058)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text9.54:1
White text2.19:1

Values

HEX#AFB288
RGBrgb(175, 178, 136)
HSLhsl(64, 21%, 62%)
OKLCHoklch(75% 0.058 111.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 #AFB288 2.19:1 Fails Lc -48.1 Large or bold text, headings
Black text on #AFB288 9.54:1 AAA Lc 60.7 Content text, not long reading
#AFB288 text on white 2.19:1 Fails Lc 43.3 Non-text elements, placeholder text
#AFB288 text on black 9.54:1 AAA Lc -58.9 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

    #EAEBE3

    oklch(93.7% 0.011 112.4)

  3. Step 200

    200

    #D9DBCC

    oklch(88.6% 0.02 113)

  4. Step 300

    300

    #C1C3A9

    oklch(80.9% 0.036 110.8)

  5. Step 400

    400 (this color)

    #AFB288

    oklch(75% 0.058 111.1)

  6. Step 500

    500

    #8B8E59

    oklch(63.1% 0.073 111.1)

  7. Step 600

    600

    #75783E

    oklch(55.6% 0.08 111.3)

  8. Step 700

    700

    #626530

    oklch(49.1% 0.075 111.7)

  9. Step 800

    800

    #505228

    oklch(42.6% 0.062 111.2)

  10. Step 900

    900

    #424425

    oklch(37.6% 0.048 111.7)

  11. Step 950

    950

    #272816

    oklch(27% 0.031 111)

Export this scale for Tailwind in the Tailwind colors tool

#AFB288 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)#B9AE850.016
Deuteranopia (no green cones)#B9AF8A0.017
Tritanopia (no blue cones)#B5ADA70.051
Achromatopsia (no color)#AFAFAF0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB288

    #AFB288

    oklch(75% 0.058 111.1)

  • #AEA8D0

    #AEA8D0

    oklch(75% 0.057 291.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB288

    #AFB288

    oklch(75% 0.058 111.1)

  • #C1AB85

    #C1AB85

    oklch(75.1% 0.058 81.2)

  • #9BB896

    #9BB896

    oklch(75.1% 0.057 141)

Open the analogous palette in the generator

Split complementary

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

  • #AFB288

    #AFB288

    oklch(75% 0.058 111.1)

  • #9AAFD3

    #9AAFD3

    oklch(75% 0.057 261.2)

  • #BFA3C5

    #BFA3C5

    oklch(75.1% 0.057 320.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB288

    #AFB288

    oklch(75% 0.058 111.1)

  • #89B5CC

    #89B5CC

    oklch(75% 0.057 231.2)

  • #CCA0B2

    #CCA0B2

    oklch(75.1% 0.057 352.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB288

    #AFB288

    oklch(75% 0.058 111.1)

  • #82B9BD

    #82B9BD

    oklch(74.9% 0.058 201.7)

  • #AEA8D0

    #AEA8D0

    oklch(75% 0.057 291.8)

  • #D0A09E

    #D0A09E

    oklch(75% 0.057 21.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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