#AF8A28

Closest named color: Yellowy Brown (#AE8B0C). oklch(65.2% 0.119 86.9), rgb(175, 138, 40).

Aa

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

About this color

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

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

Values

HEX#AF8A28
RGBrgb(175, 138, 40)
HSLhsl(44, 63%, 42%)
OKLCHoklch(65.2% 0.119 86.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 #AF8A28 3.23:1 AA large text Lc -64.9 Content text, not long reading
Black text on #AF8A28 6.48:1 AA Lc 44.6 Non-text elements, placeholder text
#AF8A28 text on white 3.23:1 AA large text Lc 59.5 Large or bold text, headings
#AF8A28 text on black 6.48:1 AA Lc -42.3 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

    #F8F5F0

    oklch(97.1% 0.007 80.7)

  2. Step 100

    100

    #EFE9DD

    oklch(93.5% 0.017 84.6)

  3. Step 200

    200

    #E2D8C1

    oklch(88.4% 0.033 87.3)

  4. Step 300

    300

    #D1BF96

    oklch(80.9% 0.058 87.1)

  5. Step 400

    400

    #BA9D59

    oklch(70.7% 0.094 86.9)

  6. Step 500

    500 (this color)

    #AF8A28

    oklch(65.2% 0.119 86.9)

  7. Step 600

    600

    #906E00

    oklch(55.7% 0.114 87.1)

  8. Step 700

    700

    #795C00

    oklch(49.1% 0.1 87.1)

  9. Step 800

    800

    #644B00

    oklch(42.8% 0.087 86.6)

  10. Step 900

    900

    #533E00

    oklch(37.6% 0.077 86.9)

  11. Step 950

    950

    #312505

    oklch(27.1% 0.05 87.7)

Export this scale for Tailwind in the Tailwind colors tool

#AF8A28 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)#9B89170.036
Deuteranopia (no green cones)#A4932D0.028
Tritanopia (no blue cones)#BE7D770.108
Achromatopsia (no color)#8F8F8F0.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8A28

    #AF8A28

    oklch(65.2% 0.119 86.9)

  • #6F8CD9

    #6F8CD9

    oklch(65.1% 0.12 267.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8A28

    #AF8A28

    oklch(65.2% 0.119 86.9)

  • #C67B40

    #C67B40

    oklch(65.2% 0.119 56.7)

  • #8B993B

    #8B993B

    oklch(65.2% 0.12 117)

Open the analogous palette in the generator

Split complementary

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

  • #AF8A28

    #AF8A28

    oklch(65.2% 0.119 86.9)

  • #389ACF

    #389ACF

    oklch(65.3% 0.119 236.6)

  • #977FCF

    #977FCF

    oklch(65.1% 0.119 296.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8A28

    #AF8A28

    oklch(65.2% 0.119 86.9)

  • #00A2B2

    #00A2B2

    oklch(65.1% 0.112 207.2)

  • #B674B6

    #B674B6

    oklch(65.1% 0.121 326.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8A28

    #AF8A28

    oklch(65.2% 0.119 86.9)

  • #0BA78E

    #0BA78E

    oklch(65.2% 0.12 176.8)

  • #6F8CD9

    #6F8CD9

    oklch(65.1% 0.12 267.4)

  • #C96F91

    #C96F91

    oklch(65.2% 0.12 356.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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