#798A50

Closest named color: Camo (#7F8F4E). oklch(60.5% 0.084 122.3), rgb(121, 138, 80).

Aa

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

About this color

#798A50 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.084 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.018 away. Black text reads best on it, at 5.56:1.

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

Values

HEX#798A50
RGBrgb(121, 138, 80)
HSLhsl(78, 27%, 43%)
OKLCHoklch(60.5% 0.084 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 #798A50 3.77:1 AA large text Lc -70.8 Content text, not long reading
Black text on #798A50 5.56:1 AA Lc 38.8 Non-text elements, placeholder text
#798A50 text on white 3.77:1 AA large text Lc 65.3 Content text, not long reading
#798A50 text on black 5.56:1 AA Lc -36.4 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

    #D6DCCB

    oklch(88.5% 0.024 122.8)

  4. Step 300

    300

    #BCC5A8

    oklch(80.9% 0.041 121.3)

  5. Step 400

    400

    #99A87A

    oklch(70.8% 0.066 122.8)

  6. Step 500

    500 (this color)

    #798A50

    oklch(60.5% 0.084 122.3)

  7. Step 600

    600

    #6A7C3C

    oklch(55.7% 0.092 122.4)

  8. Step 700

    700

    #58682E

    oklch(49% 0.085 122.4)

  9. Step 800

    800

    #485527

    oklch(42.7% 0.07 122.4)

  10. Step 900

    900

    #3C4624

    oklch(37.6% 0.055 122.5)

  11. Step 950

    950

    #232916

    oklch(26.9% 0.034 123)

Export this scale for Tailwind in the Tailwind colors tool

#798A50 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)#90844C0.035
Deuteranopia (no green cones)#8E83530.037
Tritanopia (no blue cones)#7D857C0.069
Achromatopsia (no color)#8383830.084

Harmonies

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

Complementary

The opposite hue (180°).

  • #798A50

    #798A50

    oklch(60.5% 0.084 122.3)

  • #8B76AC

    #8B76AC

    oklch(60.6% 0.084 301.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798A50

    #798A50

    oklch(60.5% 0.084 122.3)

  • #948044

    #948044

    oklch(60.5% 0.083 91.4)

  • #5A9069

    #5A9069

    oklch(60.4% 0.083 152.1)

Open the analogous palette in the generator

Split complementary

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

  • #798A50

    #798A50

    oklch(60.5% 0.084 122.3)

  • #707FB4

    #707FB4

    oklch(60.6% 0.083 271.6)

  • #A06F98

    #A06F98

    oklch(60.6% 0.084 332.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798A50

    #798A50

    oklch(60.5% 0.084 122.3)

  • #5288B0

    #5288B0

    oklch(60.6% 0.084 242)

  • #AC6C7E

    #AC6C7E

    oklch(60.5% 0.084 1.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798A50

    #798A50

    oklch(60.5% 0.084 122.3)

  • #3B8F9F

    #3B8F9F

    oklch(60.5% 0.083 212.2)

  • #8B76AC

    #8B76AC

    oklch(60.6% 0.084 301.8)

  • #AE6F62

    #AE6F62

    oklch(60.6% 0.083 32.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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