#797B54

Closest named color: Grey Brown (#7F7053). oklch(57.1% 0.056 110.5), rgb(121, 123, 84).

Aa

Black text reads best on this color (4.77:1).

About this color

#797B54 is a medium-dark, muted yellow. In OKLCH its lightness is 57%, its chroma 0.056 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grey Brown (#7F7053), ΔE 0.032 away. Black text reads best on it, at 4.77:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamuted (0.056)
Temperaturein between
Nearest nameGrey Brown (#7F7053)
Black text4.77:1
White text4.39:1

Values

HEX#797B54
RGBrgb(121, 123, 84)
HSLhsl(63, 19%, 41%)
OKLCHoklch(57.1% 0.056 110.5)

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 #797B54 4.39:1 AA large text Lc -76.0 Fine for body text
Black text on #797B54 4.77:1 AA Lc 33.6 Non-text elements, placeholder text
#797B54 text on white 4.39:1 AA large text Lc 70.5 Content text, not long reading
#797B54 text on black 4.77:1 AA Lc -31.2 Non-text elements, placeholder text

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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE5

    oklch(93.6% 0.007 106.5)

  3. Step 200

    200

    #D9DAD0

    oklch(88.5% 0.014 111.3)

  4. Step 300

    300

    #C1C2B0

    oklch(80.8% 0.025 109.5)

  5. Step 400

    400

    #A1A386

    oklch(70.6% 0.041 110.6)

  6. Step 500

    500

    #8B8D68

    oklch(63.2% 0.053 110.4)

  7. Step 600

    600 (this color)

    #797B54

    oklch(57.1% 0.056 110.5)

  8. Step 700

    700

    #626440

    oklch(49.2% 0.053 110.9)

  9. Step 800

    800

    #505135

    oklch(42.6% 0.043 109.8)

  10. Step 900

    900

    #42432E

    oklch(37.6% 0.034 110.2)

  11. Step 950

    950

    #27271B

    oklch(26.9% 0.021 107.7)

Export this scale for Tailwind in the Tailwind colors tool

#797B54 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)#8178510.014
Deuteranopia (no green cones)#8179560.014
Tritanopia (no blue cones)#7E76710.050
Achromatopsia (no color)#7878780.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #797B54

    #797B54

    oklch(57.1% 0.056 110.5)

  • #777297

    #777297

    oklch(57% 0.057 290.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797B54

    #797B54

    oklch(57.1% 0.056 110.5)

  • #897451

    #897451

    oklch(57% 0.056 80)

  • #668061

    #668061

    oklch(57.1% 0.056 140.5)

Open the analogous palette in the generator

Split complementary

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

  • #797B54

    #797B54

    oklch(57.1% 0.056 110.5)

  • #657899

    #657899

    oklch(57% 0.056 261.3)

  • #876D8C

    #876D8C

    oklch(57.1% 0.056 320.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797B54

    #797B54

    oklch(57.1% 0.056 110.5)

  • #547E93

    #547E93

    oklch(57% 0.057 230.7)

  • #926A7C

    #926A7C

    oklch(57.1% 0.057 350.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797B54

    #797B54

    oklch(57.1% 0.056 110.5)

  • #4D8285

    #4D8285

    oklch(57.1% 0.057 200.3)

  • #777297

    #777297

    oklch(57% 0.057 290.7)

  • #966B6A

    #966B6A

    oklch(57.2% 0.055 20.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #797B54 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.