#96842E

Closest named color: Drab (#828344). oklch(61.3% 0.107 97.2), rgb(150, 132, 46).

Aa

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

About this color

#96842E is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.107 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.035 away. Black text reads best on it, at 5.63:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.107)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.63:1
White text3.72:1

Values

HEX#96842E
RGBrgb(150, 132, 46)
HSLhsl(50, 53%, 38%)
OKLCHoklch(61.3% 0.107 97.2)

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 #96842E 3.72:1 AA large text Lc -70.2 Content text, not long reading
Black text on #96842E 5.63:1 AA Lc 39.4 Non-text elements, placeholder text
#96842E text on white 3.72:1 AA large text Lc 64.7 Content text, not long reading
#96842E text on black 5.63:1 AA Lc -36.9 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

    #F7F5F0

    oklch(97% 0.007 88.6)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DEDAC4

    oklch(88.6% 0.03 98.5)

  4. Step 300

    300

    #CAC19B

    oklch(80.9% 0.052 96.3)

  5. Step 400

    400

    #AFA163

    oklch(70.7% 0.083 97)

  6. Step 500

    500 (this color)

    #96842E

    oklch(61.3% 0.107 97.2)

  7. Step 600

    600

    #867300

    oklch(55.7% 0.115 97.6)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4C410E

    oklch(37.6% 0.069 96.5)

  11. Step 950

    950

    #2C260A

    oklch(26.8% 0.044 97.2)

Export this scale for Tailwind in the Tailwind colors tool

#96842E 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)#9181230.014
Deuteranopia (no green cones)#9687330.008
Tritanopia (no blue cones)#A27A720.098
Achromatopsia (no color)#8484840.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #96842E

    #96842E

    oklch(61.3% 0.107 97.2)

  • #747DC3

    #747DC3

    oklch(61.2% 0.106 277.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #96842E

    #96842E

    oklch(61.3% 0.107 97.2)

  • #AE7736

    #AE7736

    oklch(61.3% 0.106 67.9)

  • #729046

    #729046

    oklch(61.3% 0.107 127.5)

Open the analogous palette in the generator

Split complementary

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

  • #96842E

    #96842E

    oklch(61.3% 0.107 97.2)

  • #4B89C1

    #4B89C1

    oklch(61.3% 0.107 247.7)

  • #9572B6

    #9572B6

    oklch(61.3% 0.107 307.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #96842E

    #96842E

    oklch(61.3% 0.107 97.2)

  • #1293AE

    #1293AE

    oklch(61.3% 0.107 217.5)

  • #AD6A9B

    #AD6A9B

    oklch(61.3% 0.107 337.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #96842E

    #96842E

    oklch(61.3% 0.107 97.2)

  • #03988F

    #03988F

    oklch(61.2% 0.106 187.4)

  • #747DC3

    #747DC3

    oklch(61.2% 0.106 277.2)

  • #BA6779

    #BA6779

    oklch(61.3% 0.108 6.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #96842E 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.