#AFAE70

Closest named color: Dark Khaki (#BDB76B). oklch(73.7% 0.082 107.5), rgb(175, 174, 112).

Aa

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

About this color

#AFAE70 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.082 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.035 away. Black text reads best on it, at 9.11:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text9.11:1
White text2.30:1

Values

HEX#AFAE70
RGBrgb(175, 174, 112)
HSLhsl(59, 28%, 56%)
OKLCHoklch(73.7% 0.082 107.5)

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 #AFAE70 2.30:1 Fails Lc -50.3 Large or bold text, headings
Black text on #AFAE70 9.11:1 AAA Lc 58.5 Large or bold text, headings
#AFAE70 text on white 2.30:1 Fails Lc 45.4 Large or bold text, headings
#AFAE70 text on black 9.11:1 AAA Lc -56.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEBE0

    oklch(93.7% 0.015 106.7)

  3. Step 200

    200

    #DBDBC5

    oklch(88.6% 0.029 107)

  4. Step 300

    300

    #C4C49D

    oklch(81% 0.053 107.5)

  5. Step 400

    400 (this color)

    #AFAE70

    oklch(73.7% 0.082 107.5)

  6. Step 500

    500

    #908E3B

    oklch(63.1% 0.105 107.8)

  7. Step 600

    600

    #7B7710

    oklch(55.5% 0.114 107.1)

  8. Step 700

    700

    #676400

    oklch(49% 0.105 107.7)

  9. Step 800

    800

    #545207

    oklch(42.7% 0.089 107.9)

  10. Step 900

    900

    #464412

    oklch(37.8% 0.069 107)

  11. Step 950

    950

    #29280C

    oklch(27.1% 0.044 107.1)

Export this scale for Tailwind in the Tailwind colors tool

#AFAE70 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)#B8A96B0.017
Deuteranopia (no green cones)#B9AC730.016
Tritanopia (no blue cones)#B8A79E0.073
Achromatopsia (no color)#ABABAB0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAE70

    #AFAE70

    oklch(73.7% 0.082 107.5)

  • #A6A2DC

    #A6A2DC

    oklch(73.7% 0.083 287.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAE70

    #AFAE70

    oklch(73.7% 0.082 107.5)

  • #C7A46D

    #C7A46D

    oklch(73.8% 0.083 78.2)

  • #91B783

    #91B783

    oklch(73.8% 0.084 137.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFAE70

    #AFAE70

    oklch(73.7% 0.082 107.5)

  • #89ACDE

    #89ACDE

    oklch(73.7% 0.082 257.3)

  • #C09ACC

    #C09ACC

    oklch(73.8% 0.082 318)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAE70

    #AFAE70

    oklch(73.7% 0.082 107.5)

  • #6FB5D3

    #6FB5D3

    oklch(73.8% 0.083 227.3)

  • #D195B4

    #D195B4

    oklch(73.7% 0.082 347)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAE70

    #AFAE70

    oklch(73.7% 0.082 107.5)

  • #65BABC

    #65BABC

    oklch(73.6% 0.083 197.5)

  • #A6A2DC

    #A6A2DC

    oklch(73.7% 0.083 287.3)

  • #D99597

    #D99597

    oklch(73.7% 0.082 17.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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