#AFA66A

Closest named color: Camel (#C69F59). oklch(71.9% 0.08 100.8), rgb(175, 166, 106).

Aa

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

About this color

#AFA66A is a medium-light, moderately saturated yellow. In OKLCH its lightness is 72%, its chroma 0.080 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Camel (#C69F59), ΔE 0.037 away. Black text reads best on it, at 8.48:1.

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.080)
Temperaturewarm
Nearest nameCamel (#C69F59)
Black text8.48:1
White text2.47:1

Values

HEX#AFA66A
RGBrgb(175, 166, 106)
HSLhsl(52, 30%, 55%)
OKLCHoklch(71.9% 0.08 100.8)

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 #AFA66A 2.47:1 Fails Lc -53.7 Large or bold text, headings
Black text on #AFA66A 8.48:1 AAA Lc 55.4 Large or bold text, headings
#AFA66A text on white 2.47:1 Fails Lc 48.6 Large or bold text, headings
#AFA66A text on black 8.48:1 AAA Lc -53.4 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

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DDDAC5

    oklch(88.5% 0.028 100.3)

  4. Step 300

    300

    #C7C29D

    oklch(80.9% 0.05 101)

  5. Step 400

    400 (this color)

    #AFA66A

    oklch(71.9% 0.08 100.8)

  6. Step 500

    500

    #978B3A

    oklch(63.1% 0.103 100.9)

  7. Step 600

    600

    #82740E

    oklch(55.5% 0.112 100.5)

  8. Step 700

    700

    #6E6200

    oklch(49.2% 0.103 101)

  9. Step 800

    800

    #5A5006

    oklch(42.8% 0.086 100.7)

  10. Step 900

    900

    #494212

    oklch(37.6% 0.066 100.9)

  11. Step 950

    950

    #2B270C

    oklch(27% 0.043 101)

Export this scale for Tailwind in the Tailwind colors tool

#AFA66A 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)#B1A2660.010
Deuteranopia (no green cones)#B3A66C0.007
Tritanopia (no blue cones)#B99E970.073
Achromatopsia (no color)#A5A5A50.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA66A

    #AFA66A

    oklch(71.9% 0.08 100.8)

  • #9B9FD6

    #9B9FD6

    oklch(71.9% 0.08 281)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA66A

    #AFA66A

    oklch(71.9% 0.08 100.8)

  • #C49C6C

    #C49C6C

    oklch(71.9% 0.08 71.1)

  • #93AF7A

    #93AF7A

    oklch(71.9% 0.08 130.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFA66A

    #AFA66A

    oklch(71.9% 0.08 100.8)

  • #7EA8D5

    #7EA8D5

    oklch(71.8% 0.08 250.7)

  • #B496CA

    #B496CA

    oklch(71.8% 0.081 310.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA66A

    #AFA66A

    oklch(71.9% 0.08 100.8)

  • #67B0C8

    #67B0C8

    oklch(71.8% 0.081 221.2)

  • #C791B3

    #C791B3

    oklch(71.9% 0.079 341.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA66A

    #AFA66A

    oklch(71.9% 0.08 100.8)

  • #63B5B0

    #63B5B0

    oklch(72% 0.081 190.4)

  • #9B9FD6

    #9B9FD6

    oklch(71.9% 0.08 281)

  • #D18F98

    #D18F98

    oklch(71.8% 0.081 10.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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