#AFAA63

Closest named color: Camel (#C69F59). oklch(72.6% 0.093 105), rgb(175, 170, 99).

Aa

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

About this color

#AFAA63 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 73%, its chroma 0.093 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.093)
Temperaturewarm
Nearest nameCamel (#C69F59)
Black text8.75:1
White text2.39:1

Values

HEX#AFAA63
RGBrgb(175, 170, 99)
HSLhsl(56, 32%, 54%)
OKLCHoklch(72.6% 0.093 105)

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

    #C6C398

    oklch(80.9% 0.058 104.3)

  5. Step 400

    400 (this color)

    #AFAA63

    oklch(72.6% 0.093 105)

  6. Step 500

    500

    #958D28

    oklch(63.2% 0.119 104.8)

  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

    #484304

    oklch(37.6% 0.077 104.5)

  11. Step 950

    950

    #2A2807

    oklch(27.1% 0.05 105.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFAA63 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)#B5A55D0.014
Deuteranopia (no green cones)#B7A9660.013
Tritanopia (no blue cones)#B9A2990.083
Achromatopsia (no color)#A7A7A70.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAA63

    #AFAA63

    oklch(72.6% 0.093 105)

  • #A09EDF

    #A09EDF

    oklch(72.5% 0.094 285.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAA63

    #AFAA63

    oklch(72.6% 0.093 105)

  • #C99E62

    #C99E62

    oklch(72.6% 0.093 74.7)

  • #8DB478

    #8DB478

    oklch(72.6% 0.094 135)

Open the analogous palette in the generator

Split complementary

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

  • #AFAA63

    #AFAA63

    oklch(72.6% 0.093 105)

  • #7FA9E0

    #7FA9E0

    oklch(72.6% 0.093 255.4)

  • #BD95CF

    #BD95CF

    oklch(72.7% 0.093 315.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAA63

    #AFAA63

    oklch(72.6% 0.093 105)

  • #60B3D2

    #60B3D2

    oklch(72.6% 0.092 224.7)

  • #D18FB4

    #D18FB4

    oklch(72.7% 0.093 345)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAA63

    #AFAA63

    oklch(72.6% 0.093 105)

  • #55B9B8

    #55B9B8

    oklch(72.6% 0.093 194.4)

  • #A09EDF

    #A09EDF

    oklch(72.5% 0.094 285.2)

  • #DA8E94

    #DA8E94

    oklch(72.5% 0.093 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 #AFAA63, closest first.

Similar named colors

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

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