#796F47

Closest named color: Grey Brown (#7F7053). oklch(54.1% 0.058 95.8), rgb(121, 111, 71).

Aa

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

About this color

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

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

Values

HEX#796F47
RGBrgb(121, 111, 71)
HSLhsl(48, 26%, 38%)
OKLCHoklch(54.1% 0.058 95.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 #796F47 5.02:1 AA Lc -80.1 Fine for body text
Black text on #796F47 4.17:1 AA large text Lc 29.3 Dividers and decoration only
#796F47 text on white 5.02:1 AA Lc 74.7 Content text, not long reading
#796F47 text on black 4.17:1 AA large text Lc -27.0 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

    #DCD9CF

    oklch(88.5% 0.014 93)

  4. Step 300

    300

    #C5C1AE

    oklch(80.9% 0.026 97.2)

  5. Step 400

    400

    #A8A183

    oklch(70.7% 0.043 96.4)

  6. Step 500

    500

    #938A64

    oklch(63.2% 0.054 96.4)

  7. Step 600

    600 (this color)

    #796F47

    oklch(54.1% 0.058 95.8)

  8. Step 700

    700

    #6A613C

    oklch(49.2% 0.055 96.1)

  9. Step 800

    800

    #564F32

    oklch(42.7% 0.045 96.2)

  10. Step 900

    900

    #47422C

    oklch(37.8% 0.036 96.9)

  11. Step 950

    950

    #2A261A

    oklch(26.9% 0.022 91.8)

Export this scale for Tailwind in the Tailwind colors tool

#796F47 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)#776D440.007
Deuteranopia (no green cones)#7970480.003
Tritanopia (no blue cones)#8069650.054
Achromatopsia (no color)#6F6F6F0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #796F47

    #796F47

    oklch(54.1% 0.058 95.8)

  • #656C91

    #656C91

    oklch(54% 0.059 276)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #796F47

    #796F47

    oklch(54.1% 0.058 95.8)

  • #87684A

    #87684A

    oklch(54.1% 0.059 65.1)

  • #667550

    #667550

    oklch(54% 0.058 126.2)

Open the analogous palette in the generator

Split complementary

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

  • #796F47

    #796F47

    oklch(54.1% 0.058 95.8)

  • #52738F

    #52738F

    oklch(54.1% 0.058 244.8)

  • #77668A

    #77668A

    oklch(54% 0.059 306)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #796F47

    #796F47

    oklch(54.1% 0.058 95.8)

  • #447885

    #447885

    oklch(54.2% 0.059 215.7)

  • #85627C

    #85627C

    oklch(54.1% 0.059 335.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #796F47

    #796F47

    oklch(54.1% 0.058 95.8)

  • #447A74

    #447A74

    oklch(54% 0.059 186.4)

  • #656C91

    #656C91

    oklch(54% 0.059 276)

  • #8D616A

    #8D616A

    oklch(54.2% 0.058 5.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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