#817A4D

Closest named color: Drab (#828344). oklch(57.5% 0.064 100.5), rgb(129, 122, 77).

Aa

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

About this color

#817A4D is a medium-dark, muted yellow. In OKLCH its lightness is 57%, its chroma 0.064 and its hue 101°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.032 away. Black text reads best on it, at 4.82:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamuted (0.064)
Temperaturewarm
Nearest nameDrab (#828344)
Black text4.82:1
White text4.35:1

Values

HEX#817A4D
RGBrgb(129, 122, 77)
HSLhsl(52, 25%, 40%)
OKLCHoklch(57.5% 0.064 100.5)

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 #817A4D 4.35:1 AA large text Lc -75.6 Fine for body text
Black text on #817A4D 4.82:1 AA Lc 33.9 Non-text elements, placeholder text
#817A4D text on white 4.35:1 AA large text Lc 70.1 Content text, not long reading
#817A4D text on black 4.82:1 AA Lc -31.5 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 600.

  1. Step 50

    50

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EBEAE4

    oklch(93.6% 0.008 98.9)

  3. Step 200

    200

    #DBDACE

    oklch(88.6% 0.016 102.9)

  4. Step 300

    300

    #C4C1AD

    oklch(80.8% 0.028 100)

  5. Step 400

    400

    #A7A281

    oklch(70.8% 0.046 100.3)

  6. Step 500

    500

    #918B61

    oklch(63.1% 0.059 101)

  7. Step 600

    600 (this color)

    #817A4D

    oklch(57.5% 0.064 100.5)

  8. Step 700

    700

    #686239

    oklch(49.1% 0.06 101)

  9. Step 800

    800

    #555030

    oklch(42.8% 0.049 100.5)

  10. Step 900

    900

    #46422A

    oklch(37.6% 0.038 99.9)

  11. Step 950

    950

    #292719

    oklch(27% 0.024 101)

Export this scale for Tailwind in the Tailwind colors tool

#817A4D 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)#82774A0.008
Deuteranopia (no green cones)#847A4F0.006
Tritanopia (no blue cones)#88746F0.058
Achromatopsia (no color)#7979790.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #817A4D

    #817A4D

    oklch(57.5% 0.064 100.5)

  • #71759E

    #71759E

    oklch(57.5% 0.063 279.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817A4D

    #817A4D

    oklch(57.5% 0.064 100.5)

  • #91724E

    #91724E

    oklch(57.4% 0.064 70.2)

  • #6C8159

    #6C8159

    oklch(57.6% 0.064 130.7)

Open the analogous palette in the generator

Split complementary

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

  • #817A4D

    #817A4D

    oklch(57.5% 0.064 100.5)

  • #5C7C9E

    #5C7C9E

    oklch(57.5% 0.064 250.5)

  • #856E95

    #856E95

    oklch(57.4% 0.064 311.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817A4D

    #817A4D

    oklch(57.5% 0.064 100.5)

  • #4B8293

    #4B8293

    oklch(57.5% 0.064 219.9)

  • #936A84

    #936A84

    oklch(57.5% 0.064 340.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817A4D

    #817A4D

    oklch(57.5% 0.064 100.5)

  • #488581

    #488581

    oklch(57.4% 0.064 190)

  • #71759E

    #71759E

    oklch(57.5% 0.063 279.9)

  • #9A6970

    #9A6970

    oklch(57.4% 0.064 9.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #817A4D 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.