#AB9342

Closest named color: Dark Sand (#A88F59). oklch(66.9% 0.105 92.9), rgb(171, 147, 66).

Aa

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

About this color

#AB9342 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 67%, its chroma 0.105 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Sand (#A88F59), ΔE 0.030 away. Black text reads best on it, at 6.98:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameDark Sand (#A88F59)
Black text6.98:1
White text3.00:1

Values

HEX#AB9342
RGBrgb(171, 147, 66)
HSLhsl(46, 44%, 46%)
OKLCHoklch(66.9% 0.105 92.9)

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 #AB9342 3.00:1 AA large text Lc -62.0 Content text, not long reading
Black text on #AB9342 6.98:1 AA Lc 47.4 Large or bold text, headings
#AB9342 text on white 3.00:1 AA large text Lc 56.7 Large or bold text, headings
#AB9342 text on black 6.98:1 AA Lc -45.1 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 500.

  1. Step 50

    50

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #EDEADF

    oklch(93.6% 0.015 94.2)

  3. Step 200

    200

    #DFD9C5

    oklch(88.5% 0.028 93.1)

  4. Step 300

    300

    #CCC09C

    oklch(80.8% 0.05 91.8)

  5. Step 400

    400

    #B2A064

    oklch(70.8% 0.082 93.3)

  6. Step 500

    500 (this color)

    #AB9342

    oklch(66.9% 0.105 92.9)

  7. Step 600

    600

    #8A7101

    oklch(55.6% 0.114 93.4)

  8. Step 700

    700

    #745E00

    oklch(49% 0.1 92.9)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #4E400F

    oklch(37.6% 0.068 92.5)

  11. Step 950

    950

    #2E260B

    oklch(27.1% 0.043 92.8)

Export this scale for Tailwind in the Tailwind colors tool

#AB9342 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)#A1913A0.019
Deuteranopia (no green cones)#A798460.013
Tritanopia (no blue cones)#B888810.096
Achromatopsia (no color)#9595950.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #AB9342

    #AB9342

    oklch(66.9% 0.105 92.9)

  • #7F90D5

    #7F90D5

    oklch(66.8% 0.105 272.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AB9342

    #AB9342

    oklch(66.9% 0.105 92.9)

  • #C2864D

    #C2864D

    oklch(66.9% 0.104 63)

  • #899F54

    #899F54

    oklch(66.8% 0.104 122.7)

Open the analogous palette in the generator

Split complementary

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

  • #AB9342

    #AB9342

    oklch(66.9% 0.105 92.9)

  • #579CD0

    #579CD0

    oklch(66.9% 0.105 243)

  • #A285CA

    #A285CA

    oklch(67% 0.104 303)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AB9342

    #AB9342

    oklch(66.9% 0.105 92.9)

  • #30A5BB

    #30A5BB

    oklch(66.8% 0.105 213.2)

  • #BB7CB1

    #BB7CB1

    oklch(66.8% 0.105 332.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AB9342

    #AB9342

    oklch(66.9% 0.105 92.9)

  • #34AA9B

    #34AA9B

    oklch(67% 0.105 182.9)

  • #7F90D5

    #7F90D5

    oklch(66.8% 0.105 272.7)

  • #CA798F

    #CA798F

    oklch(66.9% 0.104 2.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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