#AF9002

Closest named color: Yellowy Brown (#AE8B0C). oklch(66.3% 0.135 93.5), rgb(175, 144, 2).

Aa

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

About this color

#AF9002 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.135 and its hue 93°. 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.81:1.

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

Values

HEX#AF9002
RGBrgb(175, 144, 2)
HSLhsl(49, 98%, 35%)
OKLCHoklch(66.3% 0.135 93.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 #AF9002 3.08:1 AA large text Lc -62.9 Content text, not long reading
Black text on #AF9002 6.81:1 AA Lc 46.5 Large or bold text, headings
#AF9002 text on white 3.08:1 AA large text Lc 57.5 Large or bold text, headings
#AF9002 text on black 6.81:1 AA Lc -44.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

    #E1D9BE

    oklch(88.5% 0.037 93.4)

  4. Step 300

    300

    #CFC090

    oklch(80.9% 0.066 92.8)

  5. Step 400

    400

    #B79F4D

    oklch(70.7% 0.106 93.2)

  6. Step 500

    500 (this color)

    #AF9002

    oklch(66.3% 0.135 93.5)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#AF9002 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.024
Deuteranopia (no green cones)#A997150.019
Tritanopia (no blue cones)#BE837A0.124
Achromatopsia (no color)#9393930.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9002

    #AF9002

    oklch(66.3% 0.135 93.5)

  • #798BE5

    #798BE5

    oklch(66.2% 0.135 273.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9002

    #AF9002

    oklch(66.3% 0.135 93.5)

  • #CC7E28

    #CC7E28

    oklch(66.2% 0.136 63.2)

  • #83A037

    #83A037

    oklch(66.2% 0.135 123.3)

Open the analogous palette in the generator

Split complementary

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

  • #AF9002

    #AF9002

    oklch(66.3% 0.135 93.5)

  • #399BDF

    #399BDF

    oklch(66.3% 0.135 243.2)

  • #A57CD6

    #A57CD6

    oklch(66.2% 0.136 303.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9002

    #AF9002

    oklch(66.3% 0.135 93.5)

  • #00A5BE

    #00A5BE

    oklch(66.3% 0.116 213.5)

  • #C471B6

    #C471B6

    oklch(66.3% 0.136 333.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9002

    #AF9002

    oklch(66.3% 0.135 93.5)

  • #00AA9A

    #00AA9A

    oklch(66.3% 0.118 183.2)

  • #798BE5

    #798BE5

    oklch(66.2% 0.135 273.6)

  • #D66C8A

    #D66C8A

    oklch(66.3% 0.136 3.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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