#AFAF98

Closest named color: Bland (#AFA88B). oklch(74.8% 0.032 107.1), rgb(175, 175, 152).

Aa

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

About this color

#AFAF98 is a medium-light, muted yellow. In OKLCH its lightness is 75%, its chroma 0.032 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.021 away. Black text reads best on it, at 9.40:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamuted (0.032)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text9.40:1
White text2.23:1

Values

HEX#AFAF98
RGBrgb(175, 175, 152)
HSLhsl(60, 13%, 64%)
OKLCHoklch(74.8% 0.032 107.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 #AFAF98 2.23:1 Fails Lc -48.8 Large or bold text, headings
Black text on #AFAF98 9.40:1 AAA Lc 60.0 Large or bold text, headings
#AFAF98 text on white 2.23:1 Fails Lc 44.0 Non-text elements, placeholder text
#AFAF98 text on black 9.40:1 AAA Lc -58.2 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

    #F5F5F3

    oklch(97% 0.003 106.4)

  2. Step 100

    100

    #EAEAE6

    oklch(93.6% 0.005 106.5)

  3. Step 200

    200

    #DADAD1

    oklch(88.6% 0.012 106.6)

  4. Step 300

    300

    #C2C2B3

    oklch(81% 0.021 106.9)

  5. Step 400

    400 (this color)

    #AFAF98

    oklch(74.8% 0.032 107.1)

  6. Step 500

    500

    #8C8C6F

    oklch(63.2% 0.042 107.5)

  7. Step 600

    600

    #767557

    oklch(55.5% 0.044 106.2)

  8. Step 700

    700

    #636347

    oklch(49.2% 0.042 107.9)

  9. Step 800

    800

    #51513B

    oklch(42.9% 0.034 107.8)

  10. Step 900

    900

    #434332

    oklch(37.8% 0.028 107.7)

  11. Step 950

    950

    #27271E

    oklch(27% 0.016 107.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFAF98 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)#B3AD970.007
Deuteranopia (no green cones)#B4AE990.008
Tritanopia (no blue cones)#B3ACA80.028
Achromatopsia (no color)#ADADAD0.032

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAF98

    #AFAF98

    oklch(74.8% 0.032 107.1)

  • #ABABC1

    #ABABC1

    oklch(74.8% 0.031 285.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAF98

    #AFAF98

    oklch(74.8% 0.032 107.1)

  • #B9AB97

    #B9AB97

    oklch(74.8% 0.032 76.9)

  • #A4B29F

    #A4B29F

    oklch(74.7% 0.031 137.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFAF98

    #AFAF98

    oklch(74.8% 0.032 107.1)

  • #A1AEC2

    #A1AEC2

    oklch(74.7% 0.032 258.9)

  • #B6A7BB

    #B6A7BB

    oklch(74.7% 0.033 317.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAF98

    #AFAF98

    oklch(74.8% 0.032 107.1)

  • #99B2BD

    #99B2BD

    oklch(74.8% 0.032 226.2)

  • #BDA5B1

    #BDA5B1

    oklch(74.6% 0.032 346.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAF98

    #AFAF98

    oklch(74.8% 0.032 107.1)

  • #97B4B4

    #97B4B4

    oklch(74.8% 0.032 196.5)

  • #ABABC1

    #ABABC1

    oklch(74.8% 0.031 285.6)

  • #C1A6A6

    #C1A6A6

    oklch(74.9% 0.032 17.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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