#AFB398

Closest named color: Putty (#BEAE8A). oklch(75.6% 0.038 114.1), rgb(175, 179, 152).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (76%)
Chromamuted (0.038)
Temperaturein between
Nearest namePutty (#BEAE8A)
Black text9.72:1
White text2.15:1

Values

HEX#AFB398
RGBrgb(175, 179, 152)
HSLhsl(69, 15%, 65%)
OKLCHoklch(75.6% 0.038 114.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 #AFB398 2.15:1 Fails Lc -47.1 Large or bold text, headings
Black text on #AFB398 9.72:1 AAA Lc 61.5 Content text, not long reading
#AFB398 text on white 2.15:1 Fails Lc 42.4 Non-text elements, placeholder text
#AFB398 text on black 9.72:1 AAA Lc -59.8 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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EAE5

    oklch(93.5% 0.007 115.7)

  3. Step 200

    200

    #D9DAD1

    oklch(88.5% 0.012 111.8)

  4. Step 300

    300

    #C0C3B2

    oklch(81% 0.024 115.1)

  5. Step 400

    400 (this color)

    #AFB398

    oklch(75.6% 0.038 114.1)

  6. Step 500

    500

    #898D6C

    oklch(63.1% 0.047 113.4)

  7. Step 600

    600

    #727753

    oklch(55.5% 0.053 114.6)

  8. Step 700

    700

    #606444

    oklch(49.1% 0.048 114)

  9. Step 800

    800

    #4E5238

    oklch(42.7% 0.041 115.3)

  10. Step 900

    900

    #414430

    oklch(37.8% 0.033 114.9)

  11. Step 950

    950

    #26281C

    oklch(27.1% 0.021 115.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFB398 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)#B7B0960.013
Deuteranopia (no green cones)#B7B1990.012
Tritanopia (no blue cones)#B2B0AB0.031
Achromatopsia (no color)#B0B0B00.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB398

    #AFB398

    oklch(75.6% 0.038 114.1)

  • #B1ACC6

    #B1ACC6

    oklch(75.7% 0.037 294.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB398

    #AFB398

    oklch(75.6% 0.038 114.1)

  • #BBAE95

    #BBAE95

    oklch(75.5% 0.038 83.7)

  • #A2B7A1

    #A2B7A1

    oklch(75.7% 0.039 144)

Open the analogous palette in the generator

Split complementary

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

  • #AFB398

    #AFB398

    oklch(75.6% 0.038 114.1)

  • #A4B0C9

    #A4B0C9

    oklch(75.6% 0.038 265.1)

  • #BCA8BE

    #BCA8BE

    oklch(75.6% 0.038 323.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB398

    #AFB398

    oklch(75.6% 0.038 114.1)

  • #99B4C5

    #99B4C5

    oklch(75.5% 0.038 235.7)

  • #C4A6B1

    #C4A6B1

    oklch(75.5% 0.038 354)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB398

    #AFB398

    oklch(75.6% 0.038 114.1)

  • #95B7BB

    #95B7BB

    oklch(75.6% 0.037 205.2)

  • #B1ACC6

    #B1ACC6

    oklch(75.7% 0.037 294.3)

  • #C7A7A4

    #C7A7A4

    oklch(75.6% 0.038 24.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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