#797251

Closest named color: Grey Brown (#7F7053). oklch(55% 0.049 97.6), rgb(121, 114, 81).

Aa

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

About this color

#797251 is a medium-dark, muted yellow. In OKLCH its lightness is 55%, its chroma 0.049 and its hue 98°. 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 4.84:1.

Hue familyYellows
Lightnessmedium-dark (55%)
Chromamuted (0.049)
Temperaturewarm
Nearest nameGrey Brown (#7F7053)
Black text4.33:1
White text4.84:1

Values

HEX#797251
RGBrgb(121, 114, 81)
HSLhsl(50, 20%, 40%)
OKLCHoklch(55% 0.049 97.6)

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 #797251 4.84:1 AA Lc -79.0 Fine for body text
Black text on #797251 4.33:1 AA large text Lc 30.5 Non-text elements, placeholder text
#797251 text on white 4.84:1 AA Lc 73.6 Content text, not long reading
#797251 text on black 4.33:1 AA large text Lc -28.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

    #DBD9D0

    oklch(88.4% 0.012 96.4)

  4. Step 300

    300

    #C4C1B1

    oklch(80.9% 0.022 98.2)

  5. Step 400

    400

    #A6A189

    oklch(70.7% 0.034 97.5)

  6. Step 500

    500

    #918A6B

    oklch(63.1% 0.045 96.8)

  7. Step 600

    600 (this color)

    #797251

    oklch(55% 0.049 97.6)

  8. Step 700

    700

    #686143

    oklch(49.1% 0.046 96.6)

  9. Step 800

    800

    #544F38

    oklch(42.6% 0.036 97.3)

  10. Step 900

    900

    #464230

    oklch(37.8% 0.029 97)

  11. Step 950

    950

    #29271C

    oklch(27.1% 0.02 98.9)

Export this scale for Tailwind in the Tailwind colors tool

#797251 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)#78704F0.006
Deuteranopia (no green cones)#7A73520.003
Tritanopia (no blue cones)#7F6D690.044
Achromatopsia (no color)#7272720.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #797251

    #797251

    oklch(55% 0.049 97.6)

  • #6A6F8E

    #6A6F8E

    oklch(54.9% 0.049 277.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797251

    #797251

    oklch(55% 0.049 97.6)

  • #856C53

    #856C53

    oklch(54.9% 0.049 66.5)

  • #697758

    #697758

    oklch(54.9% 0.049 127.7)

Open the analogous palette in the generator

Split complementary

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

  • #797251

    #797251

    oklch(55% 0.049 97.6)

  • #5B748D

    #5B748D

    oklch(54.9% 0.049 248.7)

  • #796A88

    #796A88

    oklch(54.9% 0.049 307.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797251

    #797251

    oklch(55% 0.049 97.6)

  • #507984

    #507984

    oklch(55% 0.049 216.4)

  • #85677C

    #85677C

    oklch(55.1% 0.049 337.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797251

    #797251

    oklch(55% 0.049 97.6)

  • #4F7B76

    #4F7B76

    oklch(54.9% 0.049 186.8)

  • #6A6F8E

    #6A6F8E

    oklch(54.9% 0.049 277.5)

  • #8B666C

    #8B666C

    oklch(55% 0.048 8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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