#AB921F

Closest named color: Yellowy Brown (#AE8B0C). oklch(66.4% 0.128 95.8), rgb(171, 146, 31).

Aa

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

About this color

#AB921F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 66%, its chroma 0.128 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.128)
Temperaturewarm
Nearest nameYellowy Brown (#AE8B0C)
Black text6.86:1
White text3.05:1

Values

HEX#AB921F
RGBrgb(171, 146, 31)
HSLhsl(49, 69%, 40%)
OKLCHoklch(66.4% 0.128 95.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 #AB921F 3.05:1 AA large text Lc -62.7 Content text, not long reading
Black text on #AB921F 6.86:1 AA Lc 46.7 Large or bold text, headings
#AB921F text on white 3.05:1 AA large text Lc 57.3 Large or bold text, headings
#AB921F 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)

    #AB921F

    oklch(66.4% 0.128 95.8)

  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

    #5E4E00

    oklch(42.8% 0.088 95.4)

  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

#AB921F 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)#A28F000.020
Deuteranopia (no green cones)#A897280.013
Tritanopia (no blue cones)#B9867D0.117
Achromatopsia (no color)#9393930.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB921F

    #AB921F

    oklch(66.4% 0.128 95.8)

  • #7E8BE1

    #7E8BE1

    oklch(66.3% 0.128 275.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB921F

    #AB921F

    oklch(66.4% 0.128 95.8)

  • #C88130

    #C88130

    oklch(66.3% 0.128 65.3)

  • #80A143

    #80A143

    oklch(66.4% 0.128 125.9)

Open the analogous palette in the generator

Split complementary

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

  • #AB921F

    #AB921F

    oklch(66.4% 0.128 95.8)

  • #479ADC

    #479ADC

    oklch(66.4% 0.127 245.5)

  • #A67DD1

    #A67DD1

    oklch(66.2% 0.128 305.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB921F

    #AB921F

    oklch(66.4% 0.128 95.8)

  • #00A5C1

    #00A5C1

    oklch(66.5% 0.118 215.5)

  • #C373B1

    #C373B1

    oklch(66.3% 0.128 335.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB921F

    #AB921F

    oklch(66.4% 0.128 95.8)

  • #00AA9E

    #00AA9E

    oklch(66.4% 0.116 186)

  • #7E8BE1

    #7E8BE1

    oklch(66.3% 0.128 275.8)

  • #D36F88

    #D36F88

    oklch(66.3% 0.128 5.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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