#AFAE7C

Closest named color: Bland (#AFA88B). oklch(73.9% 0.068 107), rgb(175, 174, 124).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (74%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text9.16:1
White text2.29:1

Values

HEX#AFAE7C
RGBrgb(175, 174, 124)
HSLhsl(59, 24%, 59%)
OKLCHoklch(73.9% 0.068 107)

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 #AFAE7C 2.29:1 Fails Lc -50.0 Large or bold text, headings
Black text on #AFAE7C 9.16:1 AAA Lc 58.8 Large or bold text, headings
#AFAE7C text on white 2.29:1 Fails Lc 45.2 Large or bold text, headings
#AFAE7C text on black 9.16:1 AAA Lc -56.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EAEBE1

    oklch(93.7% 0.013 111.3)

  3. Step 200

    200

    #DADAC9

    oklch(88.4% 0.023 106.9)

  4. Step 300

    300

    #C3C3A4

    oklch(80.9% 0.042 107.3)

  5. Step 400

    400 (this color)

    #AFAE7C

    oklch(73.9% 0.068 107)

  6. Step 500

    500

    #8F8D4D

    oklch(63% 0.086 107)

  7. Step 600

    600

    #7A772F

    oklch(55.7% 0.094 106.8)

  8. Step 700

    700

    #676421

    oklch(49.2% 0.088 106.7)

  9. Step 800

    800

    #54521D

    oklch(42.9% 0.073 107.1)

  10. Step 900

    900

    #45441E

    oklch(37.8% 0.057 107.5)

  11. Step 950

    950

    #282812

    oklch(27.1% 0.037 108.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFAE7C 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)#B6AA790.013
Deuteranopia (no green cones)#B7AC7E0.013
Tritanopia (no blue cones)#B6A8A10.060
Achromatopsia (no color)#ABABAB0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAE7C

    #AFAE7C

    oklch(73.9% 0.068 107)

  • #A7A5D4

    #A7A5D4

    oklch(74% 0.067 286.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAE7C

    #AFAE7C

    oklch(73.9% 0.068 107)

  • #C3A67A

    #C3A67A

    oklch(74% 0.068 77.8)

  • #97B58B

    #97B58B

    oklch(73.9% 0.068 136.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFAE7C

    #AFAE7C

    oklch(73.9% 0.068 107)

  • #90ADD6

    #90ADD6

    oklch(74.1% 0.068 257.1)

  • #BC9EC7

    #BC9EC7

    oklch(73.9% 0.067 316.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAE7C

    #AFAE7C

    oklch(73.9% 0.068 107)

  • #7CB4CC

    #7CB4CC

    oklch(74% 0.068 226.6)

  • #CB9AB3

    #CB9AB3

    oklch(74% 0.067 346.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAE7C

    #AFAE7C

    oklch(73.9% 0.068 107)

  • #76B8B9

    #76B8B9

    oklch(73.9% 0.067 197)

  • #A7A5D4

    #A7A5D4

    oklch(74% 0.067 286.6)

  • #D29A9B

    #D29A9B

    oklch(74% 0.067 17.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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