#AFAA68

Closest named color: Camel (#C69F59). oklch(72.7% 0.087 104.6), rgb(175, 170, 104).

Aa

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

About this color

#AFAA68 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.087 and its hue 105°. 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.77:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamoderately saturated (0.087)
Temperaturewarm
Nearest nameCamel (#C69F59)
Black text8.77:1
White text2.39:1

Values

HEX#AFAA68
RGBrgb(175, 170, 104)
HSLhsl(56, 31%, 55%)
OKLCHoklch(72.7% 0.087 104.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 #AFAA68 2.39:1 Fails Lc -52.1 Large or bold text, headings
Black text on #AFAA68 8.77:1 AAA Lc 56.9 Large or bold text, headings
#AFAA68 text on white 2.39:1 Fails Lc 47.1 Large or bold text, headings
#AFAA68 text on black 8.77:1 AAA Lc -54.9 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

    #DCDBC4

    oklch(88.6% 0.031 105)

  4. Step 300

    300

    #C6C39B

    oklch(80.9% 0.054 104)

  5. Step 400

    400 (this color)

    #AFAA68

    oklch(72.7% 0.087 104.6)

  6. Step 500

    500

    #948D32

    oklch(63.2% 0.112 104.9)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #48430C

    oklch(37.7% 0.072 104)

  11. Step 950

    950

    #2A270A

    oklch(26.9% 0.045 103.4)

Export this scale for Tailwind in the Tailwind colors tool

#AFAA68 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)#B5A6630.012
Deuteranopia (no green cones)#B7A96B0.013
Tritanopia (no blue cones)#B9A29A0.079
Achromatopsia (no color)#A7A7A70.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAA68

    #AFAA68

    oklch(72.7% 0.087 104.6)

  • #A09FDC

    #A09FDC

    oklch(72.6% 0.088 284.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAA68

    #AFAA68

    oklch(72.7% 0.087 104.6)

  • #C79F67

    #C79F67

    oklch(72.7% 0.087 75)

  • #90B37B

    #90B37B

    oklch(72.6% 0.087 134.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFAA68

    #AFAA68

    oklch(72.7% 0.087 104.6)

  • #81AADD

    #81AADD

    oklch(72.8% 0.087 254.3)

  • #BB96CD

    #BB96CD

    oklch(72.6% 0.088 314.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAA68

    #AFAA68

    oklch(72.7% 0.087 104.6)

  • #65B3D0

    #65B3D0

    oklch(72.8% 0.088 224.3)

  • #CF91B4

    #CF91B4

    oklch(72.8% 0.087 344.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAA68

    #AFAA68

    oklch(72.7% 0.087 104.6)

  • #5DB8B7

    #5DB8B7

    oklch(72.7% 0.087 194.5)

  • #A09FDC

    #A09FDC

    oklch(72.6% 0.088 284.7)

  • #D89095

    #D89095

    oklch(72.7% 0.088 14.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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