#798B56

Closest named color: Camo (#7F8F4E). oklch(60.9% 0.078 124), rgb(121, 139, 86).

Aa

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

About this color

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

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

Values

HEX#798B56
RGBrgb(121, 139, 86)
HSLhsl(80, 24%, 44%)
OKLCHoklch(60.9% 0.078 124)

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 #798B56 3.72:1 AA large text Lc -70.3 Content text, not long reading
Black text on #798B56 5.64:1 AA Lc 39.3 Non-text elements, placeholder text
#798B56 text on white 3.72:1 AA large text Lc 64.8 Content text, not long reading
#798B56 text on black 5.64:1 AA Lc -36.9 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

    #E8EBE3

    oklch(93.6% 0.011 123.5)

  3. Step 200

    200

    #D6DCCD

    oklch(88.6% 0.021 124.7)

  4. Step 300

    300

    #BBC5AB

    oklch(80.9% 0.037 124.4)

  5. Step 400

    400

    #98A77E

    oklch(70.6% 0.06 124.2)

  6. Step 500

    500 (this color)

    #798B56

    oklch(60.9% 0.078 124)

  7. Step 600

    600

    #697C42

    oklch(55.7% 0.085 124)

  8. Step 700

    700

    #576834

    oklch(49% 0.078 124.1)

  9. Step 800

    800

    #47552B

    oklch(42.6% 0.066 124.3)

  10. Step 900

    900

    #3C4627

    oklch(37.6% 0.051 123.4)

  11. Step 950

    950

    #232917

    oklch(26.9% 0.033 123.6)

Export this scale for Tailwind in the Tailwind colors tool

#798B56 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)#9185520.037
Deuteranopia (no green cones)#8E84590.037
Tritanopia (no blue cones)#7D867E0.064
Achromatopsia (no color)#8484840.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #798B56

    #798B56

    oklch(60.9% 0.078 124)

  • #8D77A9

    #8D77A9

    oklch(60.8% 0.078 304.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798B56

    #798B56

    oklch(60.9% 0.078 124)

  • #92824A

    #92824A

    oklch(60.8% 0.078 93.9)

  • #5C916D

    #5C916D

    oklch(60.9% 0.079 153.8)

Open the analogous palette in the generator

Split complementary

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

  • #798B56

    #798B56

    oklch(60.9% 0.078 124)

  • #7480B2

    #7480B2

    oklch(61% 0.077 273.5)

  • #A07196

    #A07196

    oklch(60.9% 0.078 334.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798B56

    #798B56

    oklch(60.9% 0.078 124)

  • #5988AE

    #5988AE

    oklch(60.8% 0.077 243.9)

  • #AB6F7D

    #AB6F7D

    oklch(60.9% 0.078 4.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798B56

    #798B56

    oklch(60.9% 0.078 124)

  • #448F9F

    #448F9F

    oklch(60.9% 0.078 213.6)

  • #8D77A9

    #8D77A9

    oklch(60.8% 0.078 304.3)

  • #AC7264

    #AC7264

    oklch(60.9% 0.077 34.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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