#AFA36F

Closest named color: Dust (#B2996E). oklch(71.3% 0.071 96.7), rgb(175, 163, 111).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (71%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameDust (#B2996E)
Black text8.29:1
White text2.53:1

Values

HEX#AFA36F
RGBrgb(175, 163, 111)
HSLhsl(49, 29%, 56%)
OKLCHoklch(71.3% 0.071 96.7)

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 #AFA36F 2.53:1 Fails Lc -54.7 Large or bold text, headings
Black text on #AFA36F 8.29:1 AAA Lc 54.4 Large or bold text, headings
#AFA36F text on white 2.53:1 Fails Lc 49.6 Large or bold text, headings
#AFA36F text on black 8.29:1 AAA Lc -52.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

    #F6F5F1

    oklch(97% 0.005 95.1)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDD9C7

    oklch(88.4% 0.025 96.6)

  4. Step 300

    300

    #C8C1A1

    oklch(80.8% 0.044 97)

  5. Step 400

    400 (this color)

    #AFA36F

    oklch(71.3% 0.071 96.7)

  6. Step 500

    500

    #998A45

    oklch(63.2% 0.091 97.3)

  7. Step 600

    600

    #847324

    oklch(55.6% 0.099 96.8)

  8. Step 700

    700

    #706016

    oklch(49.1% 0.092 96.3)

  9. Step 800

    800

    #5B4F15

    oklch(42.8% 0.077 97.2)

  10. Step 900

    900

    #4B4119

    oklch(37.6% 0.059 95.4)

  11. Step 950

    950

    #2C2610

    oklch(26.9% 0.037 94.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA36F 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)#ADA06B0.009
Deuteranopia (no green cones)#B0A5710.006
Tritanopia (no blue cones)#B89C960.065
Achromatopsia (no color)#A3A3A30.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA36F

    #AFA36F

    oklch(71.3% 0.071 96.7)

  • #979FCF

    #979FCF

    oklch(71.3% 0.071 277.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA36F

    #AFA36F

    oklch(71.3% 0.071 96.7)

  • #C19A72

    #C19A72

    oklch(71.3% 0.072 67)

  • #97AB7B

    #97AB7B

    oklch(71.3% 0.07 126.5)

Open the analogous palette in the generator

Split complementary

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

  • #AFA36F

    #AFA36F

    oklch(71.3% 0.071 96.7)

  • #7EA7CD

    #7EA7CD

    oklch(71.3% 0.071 246.9)

  • #AE97C6

    #AE97C6

    oklch(71.3% 0.072 306.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA36F

    #AFA36F

    oklch(71.3% 0.071 96.7)

  • #6DAEBF

    #6DAEBF

    oklch(71.3% 0.071 216.2)

  • #C092B3

    #C092B3

    oklch(71.4% 0.071 336.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA36F

    #AFA36F

    oklch(71.3% 0.071 96.7)

  • #6CB1AA

    #6CB1AA

    oklch(71.3% 0.071 187.5)

  • #979FCF

    #979FCF

    oklch(71.3% 0.071 277.1)

  • #CA909B

    #CA909B

    oklch(71.3% 0.072 6.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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