#AF9C4E

Closest named color: Dark Gold (#B59410). oklch(69.3% 0.101 95.9), rgb(175, 156, 78).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (69%)
Chromamoderately saturated (0.101)
Temperaturewarm
Nearest nameDark Gold (#B59410)
Black text7.68:1
White text2.73:1

Values

HEX#AF9C4E
RGBrgb(175, 156, 78)
HSLhsl(48, 38%, 50%)
OKLCHoklch(69.3% 0.101 95.9)

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 #AF9C4E 2.73:1 Fails Lc -58.0 Large or bold text, headings
Black text on #AF9C4E 7.68:1 AAA Lc 51.2 Large or bold text, headings
#AF9C4E text on white 2.73:1 Fails Lc 52.8 Large or bold text, headings
#AF9C4E text on black 7.68:1 AAA Lc -49.1 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 400.

  1. Step 50

    50

    #F7F5EF

    oklch(97% 0.008 91.5)

  2. Step 100

    100

    #EDEADD

    oklch(93.6% 0.018 96.1)

  3. Step 200

    200

    #E0DAC0

    oklch(88.6% 0.035 96.3)

  4. Step 300

    300

    #CDC193

    oklch(80.9% 0.063 95.2)

  5. Step 400

    400 (this color)

    #AF9C4E

    oklch(69.3% 0.101 95.9)

  6. Step 500

    500

    #A18803

    oklch(63.1% 0.129 95.9)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2E2602

    oklch(27% 0.053 96.4)

Export this scale for Tailwind in the Tailwind colors tool

#AF9C4E 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)#AA99470.013
Deuteranopia (no green cones)#AF9F510.008
Tritanopia (no blue cones)#BB928A0.092
Achromatopsia (no color)#9C9C9C0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #AF9C4E

    #AF9C4E

    oklch(69.3% 0.101 95.9)

  • #8B97DB

    #8B97DB

    oklch(69.4% 0.101 275.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AF9C4E

    #AF9C4E

    oklch(69.3% 0.101 95.9)

  • #C78F55

    #C78F55

    oklch(69.3% 0.101 65.8)

  • #8DA861

    #8DA861

    oklch(69.4% 0.101 125.9)

Open the analogous palette in the generator

Split complementary

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

  • #AF9C4E

    #AF9C4E

    oklch(69.3% 0.101 95.9)

  • #65A2D7

    #65A2D7

    oklch(69.2% 0.101 246.1)

  • #AC8CCE

    #AC8CCE

    oklch(69.4% 0.101 306.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AF9C4E

    #AF9C4E

    oklch(69.3% 0.101 95.9)

  • #42ACC4

    #42ACC4

    oklch(69.3% 0.101 215.6)

  • #C484B4

    #C484B4

    oklch(69.3% 0.101 336.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AF9C4E

    #AF9C4E

    oklch(69.3% 0.101 95.9)

  • #41B1A5

    #41B1A5

    oklch(69.4% 0.102 185.2)

  • #8B97DB

    #8B97DB

    oklch(69.4% 0.101 275.8)

  • #D28193

    #D28193

    oklch(69.3% 0.102 5.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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