#AC8E02

Closest named color: Yellowy Brown (#AE8B0C). oklch(65.5% 0.134 93.8), rgb(172, 142, 2).

Aa

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

About this color

#AC8E02 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.134 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Yellowy Brown (#AE8B0C), ΔE 0.009 away. Black text reads best on it, at 6.62:1.

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

Values

HEX#AC8E02
RGBrgb(172, 142, 2)
HSLhsl(49, 98%, 34%)
OKLCHoklch(65.5% 0.134 93.8)

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 #AC8E02 3.17:1 AA large text Lc -64.0 Content text, not long reading
Black text on #AC8E02 6.62:1 AA Lc 45.4 Large or bold text, headings
#AC8E02 text on white 3.17:1 AA large text Lc 58.6 Large or bold text, headings
#AC8E02 text on black 6.62:1 AA Lc -43.1 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

    #E1D9BF

    oklch(88.5% 0.036 92.8)

  4. Step 300

    300

    #CEC091

    oklch(80.8% 0.064 93.5)

  5. Step 400

    400

    #B69F4E

    oklch(70.6% 0.105 93.7)

  6. Step 500

    500 (this color)

    #AC8E02

    oklch(65.5% 0.134 93.8)

  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

    #2F2500

    oklch(26.8% 0.055 93.5)

Export this scale for Tailwind in the Tailwind colors tool

#AC8E02 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)#9F8B000.023
Deuteranopia (no green cones)#A794150.016
Tritanopia (no blue cones)#BB81780.122
Achromatopsia (no color)#9191910.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #AC8E02

    #AC8E02

    oklch(65.5% 0.134 93.8)

  • #7889E2

    #7889E2

    oklch(65.6% 0.134 274)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AC8E02

    #AC8E02

    oklch(65.5% 0.134 93.8)

  • #C97D27

    #C97D27

    oklch(65.7% 0.134 63.9)

  • #809E37

    #809E37

    oklch(65.5% 0.134 123.9)

Open the analogous palette in the generator

Split complementary

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

  • #AC8E02

    #AC8E02

    oklch(65.5% 0.134 93.8)

  • #3998DC

    #3998DC

    oklch(65.5% 0.134 243.9)

  • #A27AD3

    #A27AD3

    oklch(65.4% 0.135 303.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AC8E02

    #AC8E02

    oklch(65.5% 0.134 93.8)

  • #00A2BB

    #00A2BB

    oklch(65.5% 0.115 213.8)

  • #C16FB3

    #C16FB3

    oklch(65.5% 0.135 333.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AC8E02

    #AC8E02

    oklch(65.5% 0.134 93.8)

  • #00A798

    #00A798

    oklch(65.4% 0.116 183.7)

  • #7889E2

    #7889E2

    oklch(65.6% 0.134 274)

  • #D36B88

    #D36B88

    oklch(65.7% 0.134 3.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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