#AFA141

Closest named color: Ocher (#BF9B0C). oklch(70.2% 0.117 101), rgb(175, 161, 65).

Aa

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

About this color

#AFA141 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 70%, its chroma 0.117 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Ocher (#BF9B0C), ΔE 0.032 away. Black text reads best on it, at 7.99:1.

Hue familyYellows
Lightnessmedium-light (70%)
Chromamoderately saturated (0.117)
Temperaturewarm
Nearest nameOcher (#BF9B0C)
Black text7.99:1
White text2.62:1

Values

HEX#AFA141
RGBrgb(175, 161, 65)
HSLhsl(52, 46%, 47%)
OKLCHoklch(70.2% 0.117 101)

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 #AFA141 2.62:1 Fails Lc -56.3 Large or bold text, headings
Black text on #AFA141 7.99:1 AAA Lc 52.9 Large or bold text, headings
#AFA141 text on white 2.62:1 Fails Lc 51.1 Large or bold text, headings
#AFA141 text on black 7.99:1 AAA Lc -50.8 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

    #F7F6EE

    oklch(97.2% 0.011 100.8)

  2. Step 100

    100

    #EDEBDB

    oklch(93.7% 0.021 101)

  3. Step 200

    200

    #DEDABC

    oklch(88.4% 0.04 100.9)

  4. Step 300

    300

    #CAC38B

    oklch(80.9% 0.074 101.9)

  5. Step 400

    400 (this color)

    #AFA141

    oklch(70.2% 0.117 101)

  6. Step 500

    500

    #9B8B00

    oklch(63.1% 0.132 101.2)

  7. Step 600

    600

    #827400

    oklch(55.5% 0.116 101)

  8. Step 700

    700

    #6E6200

    oklch(49.2% 0.103 101)

  9. Step 800

    800

    #5A5000

    oklch(42.8% 0.089 101.1)

  10. Step 900

    900

    #4B4200

    oklch(37.7% 0.078 100.6)

  11. Step 950

    950

    #2D2700

    oklch(27.1% 0.056 100.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFA141 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)#AF9C360.014
Deuteranopia (no green cones)#B3A2460.008
Tritanopia (no blue cones)#BC968D0.108
Achromatopsia (no color)#A0A0A00.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFA141

    #AFA141

    oklch(70.2% 0.117 101)

  • #9296E6

    #9296E6

    oklch(70.2% 0.117 280.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFA141

    #AFA141

    oklch(70.2% 0.117 101)

  • #CD9245

    #CD9245

    oklch(70.3% 0.117 71)

  • #85AE5E

    #85AE5E

    oklch(70.2% 0.117 131.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFA141

    #AFA141

    oklch(70.2% 0.117 101)

  • #65A3E6

    #65A3E6

    oklch(70.2% 0.118 251.6)

  • #B78AD5

    #B78AD5

    oklch(70.4% 0.117 311.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFA141

    #AFA141

    oklch(70.2% 0.117 101)

  • #2FAFD2

    #2FAFD2

    oklch(70.2% 0.117 221)

  • #D081B5

    #D081B5

    oklch(70.2% 0.117 340.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFA141

    #AFA141

    oklch(70.2% 0.117 101)

  • #19B6B1

    #19B6B1

    oklch(70.3% 0.117 191.3)

  • #9296E6

    #9296E6

    oklch(70.2% 0.117 280.8)

  • #DD7F8D

    #DD7F8D

    oklch(70.2% 0.117 11)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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