#AFAE6E

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

Aa

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

About this color

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

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

Values

HEX#AFAE6E
RGBrgb(175, 174, 110)
HSLhsl(59, 29%, 56%)
OKLCHoklch(73.7% 0.085 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 #AFAE6E 2.30:1 Fails Lc -50.4 Large or bold text, headings
Black text on #AFAE6E 9.10:1 AAA Lc 58.5 Large or bold text, headings
#AFAE6E text on white 2.30:1 Fails Lc 45.5 Large or bold text, headings
#AFAE6E text on black 9.10:1 AAA Lc -56.6 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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDF

    oklch(93.7% 0.016 106.7)

  3. Step 200

    200

    #DBDBC5

    oklch(88.6% 0.029 107)

  4. Step 300

    300

    #C4C49C

    oklch(81% 0.054 107.5)

  5. Step 400

    400 (this color)

    #AFAE6E

    oklch(73.7% 0.085 107.5)

  6. Step 500

    500

    #908E37

    oklch(63.1% 0.109 107.9)

  7. Step 600

    600

    #7B7706

    oklch(55.5% 0.117 107.3)

  8. Step 700

    700

    #676400

    oklch(49% 0.105 107.7)

  9. Step 800

    800

    #555202

    oklch(42.8% 0.091 107.2)

  10. Step 900

    900

    #464410

    oklch(37.7% 0.071 107.2)

  11. Step 950

    950

    #29280B

    oklch(27.1% 0.045 107.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFAE6E 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)#B8A9690.017
Deuteranopia (no green cones)#B9AC710.016
Tritanopia (no blue cones)#B8A69E0.077
Achromatopsia (no color)#ABABAB0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAE6E

    #AFAE6E

    oklch(73.7% 0.085 107.5)

  • #A6A2DD

    #A6A2DD

    oklch(73.7% 0.085 287.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAE6E

    #AFAE6E

    oklch(73.7% 0.085 107.5)

  • #C8A36B

    #C8A36B

    oklch(73.6% 0.085 77.2)

  • #90B782

    #90B782

    oklch(73.7% 0.085 137.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFAE6E

    #AFAE6E

    oklch(73.7% 0.085 107.5)

  • #88ACDF

    #88ACDF

    oklch(73.7% 0.084 257.1)

  • #C099CD

    #C099CD

    oklch(73.6% 0.085 317.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAE6E

    #AFAE6E

    oklch(73.7% 0.085 107.5)

  • #6DB5D4

    #6DB5D4

    oklch(73.7% 0.085 227.5)

  • #D294B4

    #D294B4

    oklch(73.6% 0.085 347.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAE6E

    #AFAE6E

    oklch(73.7% 0.085 107.5)

  • #62BABD

    #62BABD

    oklch(73.6% 0.085 198.4)

  • #A6A2DD

    #A6A2DD

    oklch(73.7% 0.085 287.2)

  • #DA9496

    #DA9496

    oklch(73.6% 0.085 17.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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