#AC8F2A

Closest named color: Yellowy Brown (#AE8B0C). oklch(65.9% 0.12 92.2), rgb(172, 143, 42).

Aa

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

About this color

#AC8F2A is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.120 and its hue 92°. 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.71:1.

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

Values

HEX#AC8F2A
RGBrgb(172, 143, 42)
HSLhsl(47, 61%, 42%)
OKLCHoklch(65.9% 0.12 92.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 #AC8F2A 3.12:1 AA large text Lc -63.6 Content text, not long reading
Black text on #AC8F2A 6.71:1 AA Lc 45.9 Large or bold text, headings
#AC8F2A text on white 3.12:1 AA large text Lc 58.2 Large or bold text, headings
#AC8F2A text on black 6.71:1 AA Lc -43.6 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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EEEADD

    oklch(93.7% 0.018 92.7)

  3. Step 200

    200

    #E1D9C1

    oklch(88.5% 0.033 91.7)

  4. Step 300

    300

    #CEC096

    oklch(80.9% 0.058 91.8)

  5. Step 400

    400

    #B59F59

    oklch(70.7% 0.094 92.4)

  6. Step 500

    500 (this color)

    #AC8F2A

    oklch(65.9% 0.12 92.2)

  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

    #2F2505

    oklch(26.9% 0.049 91.2)

Export this scale for Tailwind in the Tailwind colors tool

#AC8F2A 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)#9F8D190.025
Deuteranopia (no green cones)#A695300.017
Tritanopia (no blue cones)#BA837B0.109
Achromatopsia (no color)#9292920.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC8F2A

    #AC8F2A

    oklch(65.9% 0.12 92.2)

  • #798CDB

    #798CDB

    oklch(65.9% 0.12 272.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC8F2A

    #AC8F2A

    oklch(65.9% 0.12 92.2)

  • #C6803B

    #C6803B

    oklch(66% 0.121 62.4)

  • #859D43

    #859D43

    oklch(65.8% 0.12 122.2)

Open the analogous palette in the generator

Split complementary

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

  • #AC8F2A

    #AC8F2A

    oklch(65.9% 0.12 92.2)

  • #459AD5

    #459AD5

    oklch(66% 0.12 242.1)

  • #A07FCF

    #A07FCF

    oklch(65.9% 0.121 302.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC8F2A

    #AC8F2A

    oklch(65.9% 0.12 92.2)

  • #00A4BB

    #00A4BB

    oklch(66% 0.115 212.1)

  • #BD75B2

    #BD75B2

    oklch(65.9% 0.12 332.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC8F2A

    #AC8F2A

    oklch(65.9% 0.12 92.2)

  • #00A998

    #00A998

    oklch(65.9% 0.118 182.4)

  • #798CDB

    #798CDB

    oklch(65.9% 0.12 272.5)

  • #CD718C

    #CD718C

    oklch(65.9% 0.119 2.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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