#AFA165

Closest named color: Dust (#B2996E). oklch(70.7% 0.081 96.6), rgb(175, 161, 101).

Aa

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

About this color

#AFA165 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 71%, its chroma 0.081 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Dust (#B2996E), ΔE 0.028 away. Black text reads best on it, at 8.10:1.

Hue familyYellows
Lightnessmedium-light (71%)
Chromamoderately saturated (0.081)
Temperaturewarm
Nearest nameDust (#B2996E)
Black text8.10:1
White text2.58:1

Values

HEX#AFA165
RGBrgb(175, 161, 101)
HSLhsl(49, 32%, 54%)
OKLCHoklch(70.7% 0.081 96.6)

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 #AFA165 2.58:1 Fails Lc -55.7 Large or bold text, headings
Black text on #AFA165 8.10:1 AAA Lc 53.4 Large or bold text, headings
#AFA165 text on white 2.58:1 Fails Lc 50.6 Large or bold text, headings
#AFA165 text on black 8.10:1 AAA Lc -51.3 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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DEDAC5

    oklch(88.6% 0.028 98.1)

  4. Step 300

    300

    #CAC19C

    oklch(80.9% 0.051 95.9)

  5. Step 400

    400 (this color)

    #AFA165

    oklch(70.7% 0.081 96.6)

  6. Step 500

    500

    #9C8937

    oklch(63.1% 0.104 96.2)

  7. Step 600

    600

    #867206

    oklch(55.5% 0.113 96.6)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E02

    oklch(42.6% 0.087 96.1)

  10. Step 900

    900

    #4C4110

    oklch(37.6% 0.067 96.2)

  11. Step 950

    950

    #2C260B

    oklch(26.9% 0.043 96.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFA165 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)#AC9E600.010
Deuteranopia (no green cones)#B0A3670.006
Tritanopia (no blue cones)#B999920.073
Achromatopsia (no color)#A1A1A10.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA165

    #AFA165

    oklch(70.7% 0.081 96.6)

  • #939CD3

    #939CD3

    oklch(70.6% 0.081 276.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA165

    #AFA165

    oklch(70.7% 0.081 96.6)

  • #C39769

    #C39769

    oklch(70.7% 0.081 67.1)

  • #93AA73

    #93AA73

    oklch(70.6% 0.08 126.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA165

    #AFA165

    oklch(70.7% 0.081 96.6)

  • #76A6D1

    #76A6D1

    oklch(70.7% 0.082 246.3)

  • #AE94C9

    #AE94C9

    oklch(70.8% 0.081 306.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA165

    #AFA165

    oklch(70.7% 0.081 96.6)

  • #61ADC1

    #61ADC1

    oklch(70.6% 0.081 216.8)

  • #C28DB3

    #C28DB3

    oklch(70.7% 0.082 337.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA165

    #AFA165

    oklch(70.7% 0.081 96.6)

  • #60B1A9

    #60B1A9

    oklch(70.7% 0.081 187.2)

  • #939CD3

    #939CD3

    oklch(70.6% 0.081 276.9)

  • #CD8C98

    #CD8C98

    oklch(70.8% 0.081 7.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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