#AB8F01

Closest named color: Yellowy Brown (#AE8B0C). oklch(65.6% 0.135 95), rgb(171, 143, 1).

Aa

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

About this color

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

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

Values

HEX#AB8F01
RGBrgb(171, 143, 1)
HSLhsl(50, 99%, 34%)
OKLCHoklch(65.6% 0.135 95)

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 #AB8F01 3.15:1 AA large text Lc -63.8 Content text, not long reading
Black text on #AB8F01 6.66:1 AA Lc 45.7 Large or bold text, headings
#AB8F01 text on white 3.15:1 AA large text Lc 58.4 Large or bold text, headings
#AB8F01 text on black 6.66:1 AA Lc -43.3 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

    #E0D9BF

    oklch(88.4% 0.036 94.6)

  4. Step 300

    300

    #CEC190

    oklch(81% 0.067 95)

  5. Step 400

    400

    #B5A04E

    oklch(70.7% 0.105 95.2)

  6. Step 500

    500 (this color)

    #AB8F01

    oklch(65.6% 0.135 95)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #735F00

    oklch(49.1% 0.101 94.6)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4F4100

    oklch(37.9% 0.078 95.1)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#AB8F01 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)#A08C000.020
Deuteranopia (no green cones)#A795150.016
Tritanopia (no blue cones)#BA82790.124
Achromatopsia (no color)#9191910.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB8F01

    #AB8F01

    oklch(65.6% 0.135 95)

  • #7A89E2

    #7A89E2

    oklch(65.7% 0.133 274.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB8F01

    #AB8F01

    oklch(65.6% 0.135 95)

  • #C87D24

    #C87D24

    oklch(65.5% 0.134 64.9)

  • #7E9F39

    #7E9F39

    oklch(65.7% 0.135 125.2)

Open the analogous palette in the generator

Split complementary

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

  • #AB8F01

    #AB8F01

    oklch(65.6% 0.135 95)

  • #3C98DD

    #3C98DD

    oklch(65.6% 0.134 244.8)

  • #A47AD3

    #A47AD3

    oklch(65.6% 0.135 304.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB8F01

    #AB8F01

    oklch(65.6% 0.135 95)

  • #00A2BD

    #00A2BD

    oklch(65.6% 0.116 215.2)

  • #C36FB1

    #C36FB1

    oklch(65.7% 0.135 335.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB8F01

    #AB8F01

    oklch(65.6% 0.135 95)

  • #00A79A

    #00A79A

    oklch(65.5% 0.115 185.1)

  • #7A89E2

    #7A89E2

    oklch(65.7% 0.133 274.9)

  • #D46B86

    #D46B86

    oklch(65.7% 0.134 5.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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