#796F4F

Closest named color: Grey Brown (#7F7053). oklch(54.2% 0.048 92.8), rgb(121, 111, 79).

Aa

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

About this color

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

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

Values

HEX#796F4F
RGBrgb(121, 111, 79)
HSLhsl(46, 21%, 39%)
OKLCHoklch(54.2% 0.048 92.8)

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 #796F4F 5.00:1 AA Lc -80.0 Fine for body text
Black text on #796F4F 4.19:1 AA large text Lc 29.5 Dividers and decoration only
#796F4F text on white 5.00:1 AA Lc 74.6 Content text, not long reading
#796F4F text on black 4.19:1 AA large text Lc -27.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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EBEAE5

    oklch(93.6% 0.007 97.4)

  3. Step 200

    200

    #DCD9D0

    oklch(88.5% 0.013 91.5)

  4. Step 300

    300

    #C5C1B1

    oklch(81% 0.022 95.3)

  5. Step 400

    400

    #A8A089

    oklch(70.6% 0.034 91.1)

  6. Step 500

    500

    #93896B

    oklch(63.1% 0.044 91.8)

  7. Step 600

    600 (this color)

    #796F4F

    oklch(54.2% 0.048 92.8)

  8. Step 700

    700

    #696043

    oklch(49% 0.045 92.9)

  9. Step 800

    800

    #564F38

    oklch(42.8% 0.037 93.2)

  10. Step 900

    900

    #474130

    oklch(37.6% 0.029 90.9)

  11. Step 950

    950

    #29261C

    oklch(26.9% 0.018 93.3)

Export this scale for Tailwind in the Tailwind colors tool

#796F4F 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)#766E4D0.006
Deuteranopia (no green cones)#7871500.006
Tritanopia (no blue cones)#7F6A670.044
Achromatopsia (no color)#6F6F6F0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #796F4F

    #796F4F

    oklch(54.2% 0.048 92.8)

  • #666E8C

    #666E8C

    oklch(54.3% 0.048 273.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796F4F

    #796F4F

    oklch(54.2% 0.048 92.8)

  • #846A52

    #846A52

    oklch(54.3% 0.049 64.2)

  • #6A7455

    #6A7455

    oklch(54.2% 0.048 122.5)

Open the analogous palette in the generator

Split complementary

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

  • #796F4F

    #796F4F

    oklch(54.2% 0.048 92.8)

  • #57738A

    #57738A

    oklch(54.3% 0.049 243.6)

  • #756987

    #756987

    oklch(54.3% 0.048 303.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796F4F

    #796F4F

    oklch(54.2% 0.048 92.8)

  • #4E7780

    #4E7780

    oklch(54.2% 0.048 213)

  • #81657C

    #81657C

    oklch(54.2% 0.049 332.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796F4F

    #796F4F

    oklch(54.2% 0.048 92.8)

  • #4F7972

    #4F7972

    oklch(54.3% 0.048 182.9)

  • #666E8C

    #666E8C

    oklch(54.3% 0.048 273.1)

  • #88646D

    #88646D

    oklch(54.3% 0.048 2.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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