#817342

Closest named color: Dirt (#8A6E45). oklch(55.7% 0.07 93.9), rgb(129, 115, 66).

Aa

White text reads best on this color (4.70:1).

About this color

#817342 is a medium-dark, muted yellow. In OKLCH its lightness is 56%, its chroma 0.070 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt (#8A6E45), ΔE 0.021 away. White text reads best on it, at 4.70:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamuted (0.070)
Temperaturewarm
Nearest nameDirt (#8A6E45)
Black text4.46:1
White text4.70:1

Values

HEX#817342
RGBrgb(129, 115, 66)
HSLhsl(47, 32%, 38%)
OKLCHoklch(55.7% 0.07 93.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 #817342 4.70:1 AA Lc -78.1 Fine for body text
Black text on #817342 4.46:1 AA large text Lc 31.4 Non-text elements, placeholder text
#817342 text on white 4.70:1 AA Lc 72.6 Content text, not long reading
#817342 text on black 4.46:1 AA large text Lc -29.1 Dividers and decoration only

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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE3

    oklch(93.7% 0.01 93.6)

  3. Step 200

    200

    #DDD9CC

    oklch(88.5% 0.018 92.7)

  4. Step 300

    300

    #C7C1AA

    oklch(81% 0.032 95)

  5. Step 400

    400

    #ABA17D

    oklch(70.8% 0.051 94.4)

  6. Step 500

    500

    #96895C

    oklch(63.1% 0.064 93.9)

  7. Step 600

    600 (this color)

    #817342

    oklch(55.7% 0.07 93.9)

  8. Step 700

    700

    #6D6033

    oklch(49.1% 0.066 93.7)

  9. Step 800

    800

    #594F2B

    oklch(42.8% 0.055 94.3)

  10. Step 900

    900

    #494127

    oklch(37.6% 0.042 92.9)

  11. Step 950

    950

    #2B2617

    oklch(27% 0.027 91.8)

Export this scale for Tailwind in the Tailwind colors tool

#817342 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)#7C713E0.011
Deuteranopia (no green cones)#8075440.005
Tritanopia (no blue cones)#8A6C670.064
Achromatopsia (no color)#7474740.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #817342

    #817342

    oklch(55.7% 0.07 93.9)

  • #67719D

    #67719D

    oklch(55.8% 0.07 274.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #817342

    #817342

    oklch(55.7% 0.07 93.9)

  • #916B47

    #916B47

    oklch(55.8% 0.07 64)

  • #6B7B4C

    #6B7B4C

    oklch(55.8% 0.071 124)

Open the analogous palette in the generator

Split complementary

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

  • #817342

    #817342

    oklch(55.7% 0.07 93.9)

  • #4F789A

    #4F789A

    oklch(55.6% 0.07 244.5)

  • #7C6995

    #7C6995

    oklch(55.6% 0.07 304)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #817342

    #817342

    oklch(55.7% 0.07 93.9)

  • #3D7E8D

    #3D7E8D

    oklch(55.7% 0.07 214.8)

  • #8D6485

    #8D6485

    oklch(55.7% 0.07 333.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #817342

    #817342

    oklch(55.7% 0.07 93.9)

  • #3E8178

    #3E8178

    oklch(55.7% 0.07 183.9)

  • #67719D

    #67719D

    oklch(55.8% 0.07 274.1)

  • #97626F

    #97626F

    oklch(55.7% 0.071 3.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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