#AFAA64

Closest named color: Camel (#C69F59). oklch(72.6% 0.092 104.9), rgb(175, 170, 100).

Aa

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

About this color

#AFAA64 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.092 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.75:1.

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

Values

HEX#AFAA64
RGBrgb(175, 170, 100)
HSLhsl(56, 32%, 54%)
OKLCHoklch(72.6% 0.092 104.9)

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 #AFAA64 2.39:1 Fails Lc -52.2 Large or bold text, headings
Black text on #AFAA64 8.75:1 AAA Lc 56.8 Large or bold text, headings
#AFAA64 text on white 2.39:1 Fails Lc 47.2 Large or bold text, headings
#AFAA64 text on black 8.75:1 AAA Lc -54.8 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

    #EBEBDE

    oklch(93.7% 0.017 106.7)

  3. Step 200

    200

    #DCDBC3

    oklch(88.6% 0.032 105.1)

  4. Step 300

    300

    #C6C399

    oklch(80.9% 0.056 104.2)

  5. Step 400

    400 (this color)

    #AFAA64

    oklch(72.6% 0.092 104.9)

  6. Step 500

    500

    #948D2A

    oklch(63.1% 0.118 105.3)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  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

    #484306

    oklch(37.6% 0.076 104.4)

  11. Step 950

    950

    #2A2808

    oklch(27.1% 0.048 105.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFAA64 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)#B5A55E0.014
Deuteranopia (no green cones)#B7A9670.013
Tritanopia (no blue cones)#B9A2990.082
Achromatopsia (no color)#A7A7A70.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAA64

    #AFAA64

    oklch(72.6% 0.092 104.9)

  • #A09FDE

    #A09FDE

    oklch(72.7% 0.091 284.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAA64

    #AFAA64

    oklch(72.6% 0.092 104.9)

  • #C99E63

    #C99E63

    oklch(72.6% 0.092 74.3)

  • #8EB479

    #8EB479

    oklch(72.7% 0.092 134.8)

Open the analogous palette in the generator

Split complementary

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

  • #AFAA64

    #AFAA64

    oklch(72.6% 0.092 104.9)

  • #7FA9E0

    #7FA9E0

    oklch(72.6% 0.093 255.4)

  • #BC95CF

    #BC95CF

    oklch(72.6% 0.092 314.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAA64

    #AFAA64

    oklch(72.6% 0.092 104.9)

  • #61B3D2

    #61B3D2

    oklch(72.7% 0.092 224.9)

  • #D08FB4

    #D08FB4

    oklch(72.5% 0.092 344.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAA64

    #AFAA64

    oklch(72.6% 0.092 104.9)

  • #57B9B8

    #57B9B8

    oklch(72.7% 0.092 194.4)

  • #A09FDE

    #A09FDE

    oklch(72.7% 0.091 284.6)

  • #DA8F94

    #DA8F94

    oklch(72.7% 0.091 15.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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