#AF8D09

Closest named color: Yellowy Brown (#AE8B0C). oklch(65.6% 0.132 91.3), rgb(175, 141, 9).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (66%)
Chromamoderately saturated (0.132)
Temperaturewarm
Nearest nameYellowy Brown (#AE8B0C)
Black text6.63:1
White text3.16:1

Values

HEX#AF8D09
RGBrgb(175, 141, 9)
HSLhsl(48, 90%, 36%)
OKLCHoklch(65.6% 0.132 91.3)

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 #AF8D09 3.16:1 AA large text Lc -64.0 Content text, not long reading
Black text on #AF8D09 6.63:1 AA Lc 45.5 Large or bold text, headings
#AF8D09 text on white 3.16:1 AA large text Lc 58.6 Large or bold text, headings
#AF8D09 text on black 6.63:1 AA Lc -43.2 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

    #F7F5EF

    oklch(97% 0.008 91.5)

  2. Step 100

    100

    #EEEADC

    oklch(93.6% 0.019 93.7)

  3. Step 200

    200

    #E2D9BF

    oklch(88.6% 0.036 91.1)

  4. Step 300

    300

    #D0C091

    oklch(81% 0.065 91.5)

  5. Step 400

    400

    #B89E4F

    oklch(70.6% 0.103 91.4)

  6. Step 500

    500 (this color)

    #AF8D09

    oklch(65.6% 0.132 91.3)

  7. Step 600

    600

    #8C7000

    oklch(55.6% 0.114 91.4)

  8. Step 700

    700

    #765E00

    oklch(49.2% 0.101 91.4)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF8D09 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)#9F8B000.028
Deuteranopia (no green cones)#A795180.023
Tritanopia (no blue cones)#BE80780.121
Achromatopsia (no color)#9191910.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF8D09

    #AF8D09

    oklch(65.6% 0.132 91.3)

  • #748BE2

    #748BE2

    oklch(65.7% 0.132 271.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF8D09

    #AF8D09

    oklch(65.6% 0.132 91.3)

  • #CA7C2D

    #CA7C2D

    oklch(65.7% 0.132 61.5)

  • #859D35

    #859D35

    oklch(65.7% 0.132 121.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF8D09

    #AF8D09

    oklch(65.6% 0.132 91.3)

  • #349ADA

    #349ADA

    oklch(65.7% 0.132 241)

  • #A07CD5

    #A07CD5

    oklch(65.7% 0.133 301.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF8D09

    #AF8D09

    oklch(65.6% 0.132 91.3)

  • #00A3B9

    #00A3B9

    oklch(65.6% 0.114 211.5)

  • #BF71B6

    #BF71B6

    oklch(65.7% 0.132 331.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF8D09

    #AF8D09

    oklch(65.6% 0.132 91.3)

  • #00A896

    #00A896

    oklch(65.6% 0.118 181.7)

  • #748BE2

    #748BE2

    oklch(65.7% 0.132 271.2)

  • #D16C8C

    #D16C8C

    oklch(65.7% 0.131 1.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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