#798B4D

Closest named color: Camo (#7F8F4E). oklch(60.7% 0.089 122.3), rgb(121, 139, 77).

Aa

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

About this color

#798B4D is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.089 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.015 away. Black text reads best on it, at 5.61:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.089)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.61:1
White text3.74:1

Values

HEX#798B4D
RGBrgb(121, 139, 77)
HSLhsl(77, 29%, 42%)
OKLCHoklch(60.7% 0.089 122.3)

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 #798B4D 3.74:1 AA large text Lc -70.4 Content text, not long reading
Black text on #798B4D 5.61:1 AA Lc 39.1 Non-text elements, placeholder text
#798B4D text on white 3.74:1 AA large text Lc 64.9 Content text, not long reading
#798B4D text on black 5.61:1 AA Lc -36.7 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 500.

  1. Step 50

    50

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D6DCCB

    oklch(88.5% 0.024 122.8)

  4. Step 300

    300

    #BBC6A7

    oklch(81% 0.044 123.3)

  5. Step 400

    400

    #99A877

    oklch(70.7% 0.07 122)

  6. Step 500

    500 (this color)

    #798B4D

    oklch(60.7% 0.089 122.3)

  7. Step 600

    600

    #697C38

    oklch(55.5% 0.096 122.5)

  8. Step 700

    700

    #58692A

    oklch(49.2% 0.09 122.4)

  9. Step 800

    800

    #485524

    oklch(42.6% 0.074 121.9)

  10. Step 900

    900

    #3C4622

    oklch(37.5% 0.057 121.9)

  11. Step 950

    950

    #232915

    oklch(26.9% 0.036 122.4)

Export this scale for Tailwind in the Tailwind colors tool

#798B4D 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)#9284480.039
Deuteranopia (no green cones)#8F84500.038
Tritanopia (no blue cones)#7E857C0.074
Achromatopsia (no color)#8484840.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #798B4D

    #798B4D

    oklch(60.7% 0.089 122.3)

  • #8C75AF

    #8C75AF

    oklch(60.6% 0.09 302)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798B4D

    #798B4D

    oklch(60.7% 0.089 122.3)

  • #95813F

    #95813F

    oklch(60.8% 0.089 92.7)

  • #579268

    #579268

    oklch(60.8% 0.089 152.2)

Open the analogous palette in the generator

Split complementary

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

  • #798B4D

    #798B4D

    oklch(60.7% 0.089 122.3)

  • #707FB8

    #707FB8

    oklch(60.8% 0.089 272.3)

  • #A26E9A

    #A26E9A

    oklch(60.7% 0.089 332.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798B4D

    #798B4D

    oklch(60.7% 0.089 122.3)

  • #4F89B3

    #4F89B3

    oklch(60.8% 0.088 241.7)

  • #AF6B7E

    #AF6B7E

    oklch(60.7% 0.09 2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798B4D

    #798B4D

    oklch(60.7% 0.089 122.3)

  • #3490A1

    #3490A1

    oklch(60.7% 0.088 212.2)

  • #8C75AF

    #8C75AF

    oklch(60.6% 0.09 302)

  • #B16E60

    #B16E60

    oklch(60.7% 0.089 32.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #798B4D 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.