#AF901D

Closest named color: Yellowy Brown (#AE8B0C). oklch(66.3% 0.128 92.3), rgb(175, 144, 29).

Aa

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

About this color

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

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

Values

HEX#AF901D
RGBrgb(175, 144, 29)
HSLhsl(47, 72%, 40%)
OKLCHoklch(66.3% 0.128 92.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 #AF901D 3.07:1 AA large text Lc -62.9 Content text, not long reading
Black text on #AF901D 6.82:1 AA Lc 46.6 Large or bold text, headings
#AF901D text on white 3.07:1 AA large text Lc 57.5 Large or bold text, headings
#AF901D text on black 6.82:1 AA Lc -44.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

    #F7F5EF

    oklch(97% 0.008 91.5)

  2. Step 100

    100

    #EEEADD

    oklch(93.7% 0.018 92.7)

  3. Step 200

    200

    #E1D9C0

    oklch(88.5% 0.035 92.3)

  4. Step 300

    300

    #CFC093

    oklch(80.9% 0.062 91.8)

  5. Step 400

    400

    #B79F53

    oklch(70.8% 0.1 92.2)

  6. Step 500

    500 (this color)

    #AF901D

    oklch(66.3% 0.128 92.3)

  7. Step 600

    600

    #8B7000

    oklch(55.5% 0.114 92)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302502

    oklch(27% 0.053 91)

Export this scale for Tailwind in the Tailwind colors tool

#AF901D 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)#A18E000.026
Deuteranopia (no green cones)#A997250.019
Tritanopia (no blue cones)#BE837B0.117
Achromatopsia (no color)#9393930.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF901D

    #AF901D

    oklch(66.3% 0.128 92.3)

  • #798DE1

    #798DE1

    oklch(66.4% 0.127 272.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF901D

    #AF901D

    oklch(66.3% 0.128 92.3)

  • #CA7F34

    #CA7F34

    oklch(66.3% 0.128 62)

  • #869F3D

    #869F3D

    oklch(66.3% 0.128 122.1)

Open the analogous palette in the generator

Split complementary

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

  • #AF901D

    #AF901D

    oklch(66.3% 0.128 92.3)

  • #3F9BDB

    #3F9BDB

    oklch(66.3% 0.128 242.7)

  • #A27FD4

    #A27FD4

    oklch(66.3% 0.128 302)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF901D

    #AF901D

    oklch(66.3% 0.128 92.3)

  • #00A5BD

    #00A5BD

    oklch(66.3% 0.116 212.8)

  • #C174B5

    #C174B5

    oklch(66.4% 0.128 332.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF901D

    #AF901D

    oklch(66.3% 0.128 92.3)

  • #00AA99

    #00AA99

    oklch(66.2% 0.118 182.5)

  • #798DE1

    #798DE1

    oklch(66.4% 0.127 272.4)

  • #D26F8D

    #D26F8D

    oklch(66.3% 0.128 1.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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