#AB982F

Closest named color: Brown Yellow (#B29705). oklch(67.8% 0.123 98.7), rgb(171, 152, 47).

Aa

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

About this color

#AB982F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 68%, its chroma 0.123 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Yellow (#B29705), ΔE 0.017 away. Black text reads best on it, at 7.26:1.

Hue familyYellows
Lightnessmedium-light (68%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameBrown Yellow (#B29705)
Black text7.26:1
White text2.89:1

Values

HEX#AB982F
RGBrgb(171, 152, 47)
HSLhsl(51, 57%, 43%)
OKLCHoklch(67.8% 0.123 98.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 #AB982F 2.89:1 Fails Lc -60.4 Content text, not long reading
Black text on #AB982F 7.26:1 AAA Lc 49.0 Large or bold text, headings
#AB982F text on white 2.89:1 Fails Lc 55.1 Large or bold text, headings
#AB982F text on black 7.26:1 AAA Lc -46.7 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F7F6EE

    oklch(97.2% 0.011 100.8)

  2. Step 100

    100

    #EDEADA

    oklch(93.5% 0.021 98.1)

  3. Step 200

    200

    #E0DABA

    oklch(88.5% 0.043 98.4)

  4. Step 300

    300

    #CDC288

    oklch(80.9% 0.077 98.7)

  5. Step 400

    400 (this color)

    #AB982F

    oklch(67.8% 0.123 98.7)

  6. Step 500

    500

    #9E8900

    oklch(63% 0.13 98.3)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950

    #2D2600

    oklch(26.8% 0.056 98.7)

Export this scale for Tailwind in the Tailwind colors tool

#AB982F 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)#A7941E0.015
Deuteranopia (no green cones)#AC9B350.008
Tritanopia (no blue cones)#B88D830.112
Achromatopsia (no color)#9898980.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB982F

    #AB982F

    oklch(67.8% 0.123 98.7)

  • #878FE2

    #878FE2

    oklch(67.8% 0.122 278.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB982F

    #AB982F

    oklch(67.8% 0.123 98.7)

  • #C88838

    #C88838

    oklch(67.7% 0.122 68.8)

  • #80A64F

    #80A64F

    oklch(67.7% 0.123 128.8)

Open the analogous palette in the generator

Split complementary

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

  • #AB982F

    #AB982F

    oklch(67.8% 0.123 98.7)

  • #559DE0

    #559DE0

    oklch(67.8% 0.123 248.5)

  • #AD82D1

    #AD82D1

    oklch(67.8% 0.122 308.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB982F

    #AB982F

    oklch(67.8% 0.123 98.7)

  • #00A9CA

    #00A9CA

    oklch(67.9% 0.122 218.4)

  • #C878B1

    #C878B1

    oklch(67.7% 0.123 338.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB982F

    #AB982F

    oklch(67.8% 0.123 98.7)

  • #00AEA6

    #00AEA6

    oklch(67.7% 0.117 189)

  • #878FE2

    #878FE2

    oklch(67.8% 0.122 278.4)

  • #D77588

    #D77588

    oklch(67.7% 0.123 8.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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