#AF9306

Closest named color: Dark Gold (#B59410). oklch(66.9% 0.136 95.2), rgb(175, 147, 6).

Aa

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

About this color

#AF9306 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 67%, its chroma 0.136 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Gold (#B59410), ΔE 0.011 away. Black text reads best on it, at 6.99:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromamoderately saturated (0.136)
Temperaturewarm
Nearest nameDark Gold (#B59410)
Black text6.99:1
White text3.00:1

Values

HEX#AF9306
RGBrgb(175, 147, 6)
HSLhsl(50, 93%, 35%)
OKLCHoklch(66.9% 0.136 95.2)

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 #AF9306 3.00:1 AA large text Lc -61.8 Content text, not long reading
Black text on #AF9306 6.99:1 AA Lc 47.6 Large or bold text, headings
#AF9306 text on white 3.00:1 AA large text Lc 56.5 Large or bold text, headings
#AF9306 text on black 6.99:1 AA Lc -45.3 Large or bold text, headings

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

    #E0D9BE

    oklch(88.4% 0.037 95)

  4. Step 300

    300

    #CEC190

    oklch(81% 0.067 95)

  5. Step 400

    400

    #B5A04D

    oklch(70.7% 0.106 95.3)

  6. Step 500

    500 (this color)

    #AF9306

    oklch(66.9% 0.136 95.2)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #735F00

    oklch(49.1% 0.101 94.6)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#AF9306 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)#A490000.020
Deuteranopia (no green cones)#AB99180.016
Tritanopia (no blue cones)#BE867D0.125
Achromatopsia (no color)#9595950.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9306

    #AF9306

    oklch(66.9% 0.136 95.2)

  • #7E8CE8

    #7E8CE8

    oklch(66.9% 0.137 275.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9306

    #AF9306

    oklch(66.9% 0.136 95.2)

  • #CD8126

    #CD8126

    oklch(66.9% 0.136 65.2)

  • #81A33C

    #81A33C

    oklch(66.9% 0.136 125.4)

Open the analogous palette in the generator

Split complementary

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

  • #AF9306

    #AF9306

    oklch(66.9% 0.136 95.2)

  • #409CE3

    #409CE3

    oklch(67% 0.136 245.3)

  • #A97DD7

    #A97DD7

    oklch(66.8% 0.137 305.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9306

    #AF9306

    oklch(66.9% 0.136 95.2)

  • #00A6C2

    #00A6C2

    oklch(66.8% 0.118 215.4)

  • #C772B6

    #C772B6

    oklch(66.8% 0.137 334.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9306

    #AF9306

    oklch(66.9% 0.136 95.2)

  • #00AC9F

    #00AC9F

    oklch(67% 0.118 185.4)

  • #7E8CE8

    #7E8CE8

    oklch(66.9% 0.137 275.5)

  • #D96E89

    #D96E89

    oklch(66.9% 0.136 5.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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