#AF8906

Closest named color: Yellowy Brown (#AE8B0C). oklch(64.8% 0.131 88.7), rgb(175, 137, 6).

Aa

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

About this color

#AF8906 is a medium-light, moderately saturated orange. In OKLCH its lightness is 65%, its chroma 0.131 and its hue 89°. Its hue sits on the warm side of the wheel. The nearest named color is Yellowy Brown (#AE8B0C), ΔE 0.005 away. Black text reads best on it, at 6.40:1.

Hue familyOranges
Lightnessmedium-light (65%)
Chromamoderately saturated (0.131)
Temperaturewarm
Nearest nameYellowy Brown (#AE8B0C)
Black text6.40:1
White text3.27:1

Values

HEX#AF8906
RGBrgb(175, 137, 6)
HSLhsl(47, 93%, 35%)
OKLCHoklch(64.8% 0.131 88.7)

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 #AF8906 3.27:1 AA large text Lc -65.3 Content text, not long reading
Black text on #AF8906 6.40:1 AA Lc 44.2 Non-text elements, placeholder text
#AF8906 text on white 3.27:1 AA large text Lc 59.9 Large or bold text, headings
#AF8906 text on black 6.40:1 AA Lc -41.8 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #F8F5EF

    oklch(97.1% 0.009 84.6)

  2. Step 100

    100

    #EFE9DC

    oklch(93.5% 0.018 86.1)

  3. Step 200

    200

    #E3D8BF

    oklch(88.4% 0.036 87.1)

  4. Step 300

    300

    #D1BF91

    oklch(80.8% 0.064 89.2)

  5. Step 400

    400

    #BB9D50

    oklch(70.7% 0.103 88.3)

  6. Step 500

    500 (this color)

    #AF8906

    oklch(64.8% 0.131 88.7)

  7. Step 600

    600

    #8E6F00

    oklch(55.6% 0.114 89.2)

  8. Step 700

    700

    #785D00

    oklch(49.2% 0.101 88.9)

  9. Step 800

    800

    #624C00

    oklch(42.8% 0.087 89.5)

  10. Step 900

    900

    #523F00

    oklch(37.8% 0.077 89.3)

  11. Step 950

    950

    #312501

    oklch(27.1% 0.054 89.8)

Export this scale for Tailwind in the Tailwind colors tool

#AF8906 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)#9B88000.034
Deuteranopia (no green cones)#A492150.027
Tritanopia (no blue cones)#BF7B740.119
Achromatopsia (no color)#8E8E8E0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8906

    #AF8906

    oklch(64.8% 0.131 88.7)

  • #6D8ADE

    #6D8ADE

    oklch(64.8% 0.13 268.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8906

    #AF8906

    oklch(64.8% 0.131 88.7)

  • #C87830

    #C87830

    oklch(64.7% 0.131 58.7)

  • #87992F

    #87992F

    oklch(64.8% 0.131 118.5)

Open the analogous palette in the generator

Split complementary

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

  • #AF8906

    #AF8906

    oklch(64.8% 0.131 88.7)

  • #2A98D5

    #2A98D5

    oklch(64.8% 0.131 238.8)

  • #9A7BD3

    #9A7BD3

    oklch(64.8% 0.131 298.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8906

    #AF8906

    oklch(64.8% 0.131 88.7)

  • #00A1B3

    #00A1B3

    oklch(64.9% 0.112 208.7)

  • #BA6FB6

    #BA6FB6

    oklch(64.8% 0.132 328.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8906

    #AF8906

    oklch(64.8% 0.131 88.7)

  • #00A68F

    #00A68F

    oklch(64.9% 0.119 178.2)

  • #6D8ADE

    #6D8ADE

    oklch(64.8% 0.13 268.2)

  • #CD6A8D

    #CD6A8D

    oklch(64.9% 0.13 358.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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