#AF9D2D

Closest named color: Brown Yellow (#B29705). oklch(69.2% 0.128 99.8), rgb(175, 157, 45).

Aa

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

About this color

#AF9D2D is a medium-light, moderately saturated yellow. In OKLCH its lightness is 69%, its chroma 0.128 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Yellow (#B29705), ΔE 0.018 away. Black text reads best on it, at 7.68:1.

Hue familyYellows
Lightnessmedium-light (69%)
Chromamoderately saturated (0.128)
Temperaturewarm
Nearest nameBrown Yellow (#B29705)
Black text7.68:1
White text2.73:1

Values

HEX#AF9D2D
RGBrgb(175, 157, 45)
HSLhsl(52, 59%, 43%)
OKLCHoklch(69.2% 0.128 99.8)

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 #AF9D2D 2.73:1 Fails Lc -58.0 Large or bold text, headings
Black text on #AF9D2D 7.68:1 AAA Lc 51.3 Large or bold text, headings
#AF9D2D text on white 2.73:1 Fails Lc 52.8 Large or bold text, headings
#AF9D2D text on black 7.68:1 AAA Lc -49.1 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

    #F7F6EE

    oklch(97.2% 0.011 100.8)

  2. Step 100

    100

    #EDEBD9

    oklch(93.7% 0.024 101.7)

  3. Step 200

    200

    #E0DAB9

    oklch(88.5% 0.044 98.7)

  4. Step 300

    300

    #CCC286

    oklch(80.8% 0.079 99.9)

  5. Step 400

    400 (this color)

    #AF9D2D

    oklch(69.2% 0.128 99.8)

  6. Step 500

    500

    #9D8A00

    oklch(63.1% 0.131 99.5)

  7. Step 600

    600

    #847400

    oklch(55.7% 0.116 99.7)

  8. Step 700

    700

    #6F6100

    oklch(49.1% 0.102 99.4)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950

    #2D2700

    oklch(27.1% 0.056 100.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF9D2D 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)#AC99190.014
Deuteranopia (no green cones)#B19F340.007
Tritanopia (no blue cones)#BD91870.118
Achromatopsia (no color)#9C9C9C0.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9D2D

    #AF9D2D

    oklch(69.2% 0.128 99.8)

  • #8D92EA

    #8D92EA

    oklch(69.3% 0.129 280)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9D2D

    #AF9D2D

    oklch(69.2% 0.128 99.8)

  • #CE8C35

    #CE8C35

    oklch(69.1% 0.128 69.7)

  • #82AB51

    #82AB51

    oklch(69.1% 0.128 129.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF9D2D

    #AF9D2D

    oklch(69.2% 0.128 99.8)

  • #58A1E8

    #58A1E8

    oklch(69.2% 0.128 249.6)

  • #B484D7

    #B484D7

    oklch(69.1% 0.128 309.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9D2D

    #AF9D2D

    oklch(69.2% 0.128 99.8)

  • #00ADD1

    #00ADD1

    oklch(69.1% 0.126 219.8)

  • #D07BB5

    #D07BB5

    oklch(69.3% 0.128 339.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9D2D

    #AF9D2D

    oklch(69.2% 0.128 99.8)

  • #00B3AC

    #00B3AC

    oklch(69.2% 0.12 189.8)

  • #8D92EA

    #8D92EA

    oklch(69.3% 0.129 280)

  • #DF788A

    #DF788A

    oklch(69.3% 0.129 9.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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