#AFA561

Closest named color: Camel (#C69F59). oklch(71.5% 0.09 101), rgb(175, 165, 97).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (72%)
Chromamoderately saturated (0.090)
Temperaturewarm
Nearest nameCamel (#C69F59)
Black text8.37:1
White text2.50:1

Values

HEX#AFA561
RGBrgb(175, 165, 97)
HSLhsl(52, 33%, 53%)
OKLCHoklch(71.5% 0.09 101)

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 #AFA561 2.50:1 Fails Lc -54.2 Large or bold text, headings
Black text on #AFA561 8.37:1 AAA Lc 54.8 Large or bold text, headings
#AFA561 text on white 2.50:1 Fails Lc 49.2 Large or bold text, headings
#AFA561 text on black 8.37:1 AAA Lc -52.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

    #ECEADE

    oklch(93.5% 0.016 99)

  3. Step 200

    200

    #DDDAC3

    oklch(88.5% 0.031 100.9)

  4. Step 300

    300

    #C8C299

    oklch(80.9% 0.055 100.6)

  5. Step 400

    400 (this color)

    #AFA561

    oklch(71.5% 0.09 101)

  6. Step 500

    500

    #998B2B

    oklch(63.1% 0.115 100.8)

  7. Step 600

    600

    #827400

    oklch(55.5% 0.116 101)

  8. Step 700

    700

    #6E6200

    oklch(49.2% 0.103 101)

  9. Step 800

    800

    #5A5000

    oklch(42.8% 0.089 101.1)

  10. Step 900

    900

    #4A4206

    oklch(37.6% 0.075 101.1)

  11. Step 950

    950

    #2B2708

    oklch(27% 0.047 101.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFA561 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)#B0A15C0.010
Deuteranopia (no green cones)#B4A5640.009
Tritanopia (no blue cones)#B99C950.083
Achromatopsia (no color)#A4A4A40.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA561

    #AFA561

    oklch(71.5% 0.09 101)

  • #999DDA

    #999DDA

    oklch(71.6% 0.089 281)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA561

    #AFA561

    oklch(71.5% 0.09 101)

  • #C79A63

    #C79A63

    oklch(71.6% 0.09 71.2)

  • #8FAF73

    #8FAF73

    oklch(71.5% 0.09 131.2)

Open the analogous palette in the generator

Split complementary

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

  • #AFA561

    #AFA561

    oklch(71.5% 0.09 101)

  • #78A7DA

    #78A7DA

    oklch(71.5% 0.09 251.1)

  • #B593CD

    #B593CD

    oklch(71.5% 0.09 310.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA561

    #AFA561

    oklch(71.5% 0.09 101)

  • #5DB0CB

    #5DB0CB

    oklch(71.5% 0.09 221.5)

  • #CA8DB4

    #CA8DB4

    oklch(71.5% 0.09 340.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA561

    #AFA561

    oklch(71.5% 0.09 101)

  • #57B5B0

    #57B5B0

    oklch(71.5% 0.09 190.7)

  • #999DDA

    #999DDA

    oklch(71.6% 0.089 281)

  • #D58C95

    #D58C95

    oklch(71.6% 0.09 11.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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