#AFAA6C

Closest named color: Camel (#C69F59). oklch(72.8% 0.082 104.3), rgb(175, 170, 108).

Aa

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

About this color

#AFAA6C is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.082 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Camel (#C69F59), ΔE 0.041 away. Black text reads best on it, at 8.78:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameCamel (#C69F59)
Black text8.78:1
White text2.38:1

Values

HEX#AFAA6C
RGBrgb(175, 170, 108)
HSLhsl(56, 30%, 55%)
OKLCHoklch(72.8% 0.082 104.3)

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 #AFAA6C 2.38:1 Fails Lc -52.0 Large or bold text, headings
Black text on #AFAA6C 8.78:1 AAA Lc 56.9 Large or bold text, headings
#AFAA6C text on white 2.38:1 Fails Lc 47.1 Large or bold text, headings
#AFAA6C text on black 8.78:1 AAA Lc -55.0 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

    #EBEBDF

    oklch(93.7% 0.016 106.7)

  3. Step 200

    200

    #DCDAC5

    oklch(88.4% 0.028 102.5)

  4. Step 300

    300

    #C5C39D

    oklch(80.9% 0.051 105)

  5. Step 400

    400 (this color)

    #AFAA6C

    oklch(72.8% 0.082 104.3)

  6. Step 500

    500

    #948C39

    oklch(63% 0.105 103.8)

  7. Step 600

    600

    #7F760A

    oklch(55.7% 0.115 104)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #575104

    oklch(42.7% 0.088 104.5)

  10. Step 900

    900

    #484311

    oklch(37.7% 0.068 103.6)

  11. Step 950

    950

    #2A270C

    oklch(26.9% 0.043 103)

Export this scale for Tailwind in the Tailwind colors tool

#AFAA6C 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)#B4A6670.012
Deuteranopia (no green cones)#B6A96F0.012
Tritanopia (no blue cones)#B8A29B0.076
Achromatopsia (no color)#A8A8A80.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAA6C

    #AFAA6C

    oklch(72.8% 0.082 104.3)

  • #A0A0D9

    #A0A0D9

    oklch(72.7% 0.082 284.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAA6C

    #AFAA6C

    oklch(72.8% 0.082 104.3)

  • #C6A06C

    #C6A06C

    oklch(72.9% 0.082 74.6)

  • #91B37E

    #91B37E

    oklch(72.8% 0.083 134.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFAA6C

    #AFAA6C

    oklch(72.8% 0.082 104.3)

  • #83AADA

    #83AADA

    oklch(72.8% 0.082 254)

  • #BA98CB

    #BA98CB

    oklch(72.8% 0.081 314.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAA6C

    #AFAA6C

    oklch(72.8% 0.082 104.3)

  • #6AB2CE

    #6AB2CE

    oklch(72.7% 0.083 225.1)

  • #CD92B3

    #CD92B3

    oklch(72.7% 0.083 344.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAA6C

    #AFAA6C

    oklch(72.8% 0.082 104.3)

  • #63B7B6

    #63B7B6

    oklch(72.7% 0.082 194.5)

  • #A0A0D9

    #A0A0D9

    oklch(72.7% 0.082 284.2)

  • #D69297

    #D69297

    oklch(72.9% 0.083 14.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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