#AB9221

Closest named color: Yellowy Brown (#AE8B0C). oklch(66.4% 0.127 95.7), rgb(171, 146, 33).

Aa

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

About this color

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

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

Values

HEX#AB9221
RGBrgb(171, 146, 33)
HSLhsl(49, 68%, 40%)
OKLCHoklch(66.4% 0.127 95.7)

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 #AB9221 3.05:1 AA large text Lc -62.7 Content text, not long reading
Black text on #AB9221 6.86:1 AA Lc 46.8 Large or bold text, headings
#AB9221 text on white 3.05:1 AA large text Lc 57.3 Large or bold text, headings
#AB9221 text on black 6.86:1 AA Lc -44.5 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

    #EDEADD

    oklch(93.6% 0.018 96.1)

  3. Step 200

    200

    #E0D9C0

    oklch(88.4% 0.034 94.1)

  4. Step 300

    300

    #CCC193

    oklch(80.9% 0.062 96.2)

  5. Step 400

    400

    #B3A054

    oklch(70.6% 0.099 95.6)

  6. Step 500

    500 (this color)

    #AB9221

    oklch(66.4% 0.127 95.7)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  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

    #2E2603

    oklch(27% 0.052 96)

Export this scale for Tailwind in the Tailwind colors tool

#AB9221 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)#A28F020.020
Deuteranopia (no green cones)#A897290.013
Tritanopia (no blue cones)#B9867D0.116
Achromatopsia (no color)#9393930.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB9221

    #AB9221

    oklch(66.4% 0.127 95.7)

  • #7E8BE0

    #7E8BE0

    oklch(66.3% 0.127 275.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB9221

    #AB9221

    oklch(66.4% 0.127 95.7)

  • #C78231

    #C78231

    oklch(66.4% 0.126 66.3)

  • #81A144

    #81A144

    oklch(66.5% 0.126 125.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB9221

    #AB9221

    oklch(66.4% 0.127 95.7)

  • #489ADC

    #489ADC

    oklch(66.4% 0.127 245.7)

  • #A67ED1

    #A67ED1

    oklch(66.4% 0.126 305.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB9221

    #AB9221

    oklch(66.4% 0.127 95.7)

  • #00A5C1

    #00A5C1

    oklch(66.5% 0.118 215.5)

  • #C374B1

    #C374B1

    oklch(66.4% 0.126 335.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB9221

    #AB9221

    oklch(66.4% 0.127 95.7)

  • #00AA9D

    #00AA9D

    oklch(66.4% 0.117 185.3)

  • #7E8BE0

    #7E8BE0

    oklch(66.3% 0.127 275.8)

  • #D37088

    #D37088

    oklch(66.4% 0.126 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 #AB9221, closest first.

Similar named colors

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

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