#796F42

Closest named color: Grey Brown (#7F7053). oklch(54% 0.065 97.2), rgb(121, 111, 66).

Aa

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

About this color

#796F42 is a medium-dark, muted yellow. In OKLCH its lightness is 54%, its chroma 0.065 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Grey Brown (#7F7053), ΔE 0.025 away. White text reads best on it, at 5.04:1.

Hue familyYellows
Lightnessmedium-dark (54%)
Chromamuted (0.065)
Temperaturewarm
Nearest nameGrey Brown (#7F7053)
Black text4.16:1
White text5.04:1

Values

HEX#796F42
RGBrgb(121, 111, 66)
HSLhsl(49, 29%, 37%)
OKLCHoklch(54% 0.065 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 #796F42 5.04:1 AA Lc -80.2 Fine for body text
Black text on #796F42 4.16:1 AA large text Lc 29.3 Dividers and decoration only
#796F42 text on white 5.04:1 AA Lc 74.8 Content text, not long reading
#796F42 text on black 4.16:1 AA large text Lc -26.9 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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EBEAE4

    oklch(93.6% 0.008 98.9)

  3. Step 200

    200

    #DCD9CE

    oklch(88.5% 0.015 94.2)

  4. Step 300

    300

    #C5C1AC

    oklch(80.8% 0.029 98.1)

  5. Step 400

    400

    #A8A180

    oklch(70.6% 0.047 97.4)

  6. Step 500

    500

    #938A60

    oklch(63.1% 0.06 97.5)

  7. Step 600

    600 (this color)

    #796F42

    oklch(54% 0.065 97.2)

  8. Step 700

    700

    #6A6138

    oklch(49.1% 0.06 97.3)

  9. Step 800

    800

    #564F2F

    oklch(42.6% 0.049 97.3)

  10. Step 900

    900

    #47422A

    oklch(37.7% 0.038 97.8)

  11. Step 950

    950

    #2A2719

    oklch(27.2% 0.025 97.5)

Export this scale for Tailwind in the Tailwind colors tool

#796F42 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)#776D3E0.008
Deuteranopia (no green cones)#7A70440.004
Tritanopia (no blue cones)#8169640.059
Achromatopsia (no color)#6F6F6F0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #796F42

    #796F42

    oklch(54% 0.065 97.2)

  • #656B94

    #656B94

    oklch(53.9% 0.065 277.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796F42

    #796F42

    oklch(54% 0.065 97.2)

  • #886745

    #886745

    oklch(53.9% 0.064 66.6)

  • #64764D

    #64764D

    oklch(54% 0.064 127.7)

Open the analogous palette in the generator

Split complementary

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

  • #796F42

    #796F42

    oklch(54% 0.065 97.2)

  • #4F7293

    #4F7293

    oklch(53.9% 0.066 247.7)

  • #79658C

    #79658C

    oklch(54.1% 0.064 307.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796F42

    #796F42

    oklch(54% 0.065 97.2)

  • #3F7887

    #3F7887

    oklch(54% 0.064 217)

  • #87607C

    #87607C

    oklch(53.9% 0.064 337.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796F42

    #796F42

    oklch(54% 0.065 97.2)

  • #3E7B75

    #3E7B75

    oklch(54% 0.064 187.1)

  • #656B94

    #656B94

    oklch(53.9% 0.065 277.6)

  • #8F5F68

    #8F5F68

    oklch(54% 0.064 7.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #796F42 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.