#AF8A02

Closest named color: Yellowy Brown (#AE8B0C). oklch(65% 0.132 89.5), rgb(175, 138, 2).

Aa

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

About this color

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

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

Values

HEX#AF8A02
RGBrgb(175, 138, 2)
HSLhsl(47, 98%, 35%)
OKLCHoklch(65% 0.132 89.5)

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 #AF8A02 3.25:1 AA large text Lc -65.0 Content text, not long reading
Black text on #AF8A02 6.45:1 AA Lc 44.5 Non-text elements, placeholder text
#AF8A02 text on white 3.25:1 AA large text Lc 59.6 Large or bold text, headings
#AF8A02 text on black 6.45:1 AA Lc -42.1 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

    #EFEADC

    oklch(93.7% 0.019 90.5)

  3. Step 200

    200

    #E2D9BF

    oklch(88.6% 0.036 91.1)

  4. Step 300

    300

    #D1BF91

    oklch(80.8% 0.064 89.2)

  5. Step 400

    400

    #BA9D4F

    oklch(70.6% 0.103 89.2)

  6. Step 500

    500 (this color)

    #AF8A02

    oklch(65% 0.132 89.5)

  7. Step 600

    600

    #8E6F00

    oklch(55.6% 0.114 89.2)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  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

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#AF8A02 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)#9C89000.032
Deuteranopia (no green cones)#A593130.026
Tritanopia (no blue cones)#BF7C750.121
Achromatopsia (no color)#8F8F8F0.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8A02

    #AF8A02

    oklch(65% 0.132 89.5)

  • #6F8AE0

    #6F8AE0

    oklch(65.1% 0.132 269.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8A02

    #AF8A02

    oklch(65% 0.132 89.5)

  • #C9792E

    #C9792E

    oklch(65% 0.132 59.5)

  • #869A2F

    #869A2F

    oklch(65% 0.132 119.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF8A02

    #AF8A02

    oklch(65% 0.132 89.5)

  • #2C98D7

    #2C98D7

    oklch(64.9% 0.133 239.9)

  • #9B7BD4

    #9B7BD4

    oklch(65% 0.133 299.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8A02

    #AF8A02

    oklch(65% 0.132 89.5)

  • #00A1B4

    #00A1B4

    oklch(64.9% 0.112 209.5)

  • #BB6FB6

    #BB6FB6

    oklch(64.9% 0.133 329.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8A02

    #AF8A02

    oklch(65% 0.132 89.5)

  • #00A691

    #00A691

    oklch(64.9% 0.118 179.5)

  • #6F8AE0

    #6F8AE0

    oklch(65.1% 0.132 269.3)

  • #CF6A8C

    #CF6A8C

    oklch(65.1% 0.132 0.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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