#AB982D

Closest named color: Brown Yellow (#B29705). oklch(67.7% 0.124 98.8), rgb(171, 152, 45).

Aa

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

About this color

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

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

Values

HEX#AB982D
RGBrgb(171, 152, 45)
HSLhsl(51, 58%, 42%)
OKLCHoklch(67.7% 0.124 98.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 #AB982D 2.89:1 Fails Lc -60.4 Content text, not long reading
Black text on #AB982D 7.26:1 AAA Lc 49.0 Large or bold text, headings
#AB982D text on white 2.89:1 Fails Lc 55.1 Large or bold text, headings
#AB982D 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

    #CDC287

    oklch(80.9% 0.078 98.9)

  5. Step 400

    400 (this color)

    #AB982D

    oklch(67.7% 0.124 98.8)

  6. Step 500

    500

    #9E8A00

    oklch(63.2% 0.131 99)

  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

#AB982D 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)#A7941B0.015
Deuteranopia (no green cones)#AC9B340.009
Tritanopia (no blue cones)#B98C830.115
Achromatopsia (no color)#9898980.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB982D

    #AB982D

    oklch(67.7% 0.124 98.8)

  • #878EE3

    #878EE3

    oklch(67.7% 0.125 278.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB982D

    #AB982D

    oklch(67.7% 0.124 98.8)

  • #C98836

    #C98836

    oklch(67.8% 0.124 68.8)

  • #80A64E

    #80A64E

    oklch(67.7% 0.124 128.6)

Open the analogous palette in the generator

Split complementary

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

  • #AB982D

    #AB982D

    oklch(67.7% 0.124 98.8)

  • #559DE0

    #559DE0

    oklch(67.8% 0.123 248.5)

  • #AE81D2

    #AE81D2

    oklch(67.8% 0.125 308.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB982D

    #AB982D

    oklch(67.7% 0.124 98.8)

  • #00A9CA

    #00A9CA

    oklch(67.9% 0.122 218.4)

  • #C978B1

    #C978B1

    oklch(67.8% 0.124 338.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB982D

    #AB982D

    oklch(67.7% 0.124 98.8)

  • #00AEA6

    #00AEA6

    oklch(67.7% 0.117 189)

  • #878EE3

    #878EE3

    oklch(67.7% 0.125 278.9)

  • #D87588

    #D87588

    oklch(67.8% 0.125 8.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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