#797D3D

Closest named color: Drab (#828344). oklch(57.2% 0.087 112), rgb(121, 125, 61).

Aa

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

About this color

#797D3D is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.087 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.023 away. Black text reads best on it, at 4.81:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.087)
Temperaturein between
Nearest nameDrab (#828344)
Black text4.81:1
White text4.36:1

Values

HEX#797D3D
RGBrgb(121, 125, 61)
HSLhsl(64, 34%, 36%)
OKLCHoklch(57.2% 0.087 112)

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 #797D3D 4.36:1 AA large text Lc -75.7 Fine for body text
Black text on #797D3D 4.81:1 AA Lc 33.9 Non-text elements, placeholder text
#797D3D text on white 4.36:1 AA large text Lc 70.2 Content text, not long reading
#797D3D text on black 4.81:1 AA Lc -31.5 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #D9DBCB

    oklch(88.5% 0.022 112.6)

  4. Step 300

    300

    #C1C4A7

    oklch(81% 0.04 112.1)

  5. Step 400

    400

    #A1A578

    oklch(70.7% 0.062 112.1)

  6. Step 500

    500

    #8A8F54

    oklch(63.2% 0.081 112.7)

  7. Step 600

    600 (this color)

    #797D3D

    oklch(57.2% 0.087 112)

  8. Step 700

    700

    #62652B

    oklch(49.1% 0.08 111.7)

  9. Step 800

    800

    #505324

    oklch(42.8% 0.068 112.2)

  10. Step 900

    900

    #424422

    oklch(37.6% 0.052 111.6)

  11. Step 950

    950

    #272815

    oklch(27% 0.032 111)

Export this scale for Tailwind in the Tailwind colors tool

#797D3D 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)#8578370.021
Deuteranopia (no green cones)#857A400.021
Tritanopia (no blue cones)#80766E0.077
Achromatopsia (no color)#7979790.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #797D3D

    #797D3D

    oklch(57.2% 0.087 112)

  • #796EA7

    #796EA7

    oklch(57.1% 0.087 292.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797D3D

    #797D3D

    oklch(57.2% 0.087 112)

  • #917337

    #917337

    oklch(57.2% 0.087 82.8)

  • #598555

    #598555

    oklch(57.2% 0.087 142.4)

Open the analogous palette in the generator

Split complementary

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

  • #797D3D

    #797D3D

    oklch(57.2% 0.087 112)

  • #5B78AB

    #5B78AB

    oklch(57.2% 0.086 261.3)

  • #906696

    #906696

    oklch(57.1% 0.087 322.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797D3D

    #797D3D

    oklch(57.2% 0.087 112)

  • #3B81A2

    #3B81A2

    oklch(57.2% 0.086 231.4)

  • #9F627D

    #9F627D

    oklch(57.1% 0.086 352.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797D3D

    #797D3D

    oklch(57.2% 0.087 112)

  • #25878E

    #25878E

    oklch(57.2% 0.087 202.1)

  • #796EA7

    #796EA7

    oklch(57.1% 0.087 292.3)

  • #A56260

    #A56260

    oklch(57% 0.087 22)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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