#798A45

Closest named color: Camo (#7F8F4E). oklch(60.4% 0.096 120.8), rgb(121, 138, 69).

Aa

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

About this color

#798A45 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.096 and its hue 121°. 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.53:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.53:1
White text3.79:1

Values

HEX#798A45
RGBrgb(121, 138, 69)
HSLhsl(75, 33%, 41%)
OKLCHoklch(60.4% 0.096 120.8)

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 #798A45 3.79:1 AA large text Lc -70.9 Content text, not long reading
Black text on #798A45 5.53:1 AA Lc 38.7 Non-text elements, placeholder text
#798A45 text on white 3.79:1 AA large text Lc 65.4 Content text, not long reading
#798A45 text on black 5.53:1 AA Lc -36.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 500.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D6DCC9

    oklch(88.5% 0.026 121.2)

  4. Step 300

    300

    #BCC6A4

    oklch(81% 0.048 120.8)

  5. Step 400

    400

    #9AA873

    oklch(70.7% 0.075 120.4)

  6. Step 500

    500 (this color)

    #798A45

    oklch(60.4% 0.096 120.8)

  7. Step 600

    600

    #6B7C2F

    oklch(55.6% 0.104 120.4)

  8. Step 700

    700

    #596922

    oklch(49.2% 0.097 120.9)

  9. Step 800

    800

    #49551E

    oklch(42.6% 0.08 120.3)

  10. Step 900

    900

    #3D471E

    oklch(37.8% 0.064 120.9)

  11. Step 950

    950

    #242912

    oklch(26.9% 0.039 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#798A45 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)#91833F0.038
Deuteranopia (no green cones)#8F83490.039
Tritanopia (no blue cones)#7E847A0.080
Achromatopsia (no color)#8383830.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #798A45

    #798A45

    oklch(60.4% 0.096 120.8)

  • #8B73B2

    #8B73B2

    oklch(60.3% 0.097 301.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798A45

    #798A45

    oklch(60.4% 0.096 120.8)

  • #977F36

    #977F36

    oklch(60.4% 0.097 91)

  • #539263

    #539263

    oklch(60.4% 0.097 150.8)

Open the analogous palette in the generator

Split complementary

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

  • #798A45

    #798A45

    oklch(60.4% 0.096 120.8)

  • #6C7EBB

    #6C7EBB

    oklch(60.4% 0.096 270.8)

  • #A26B9C

    #A26B9C

    oklch(60.2% 0.097 330.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798A45

    #798A45

    oklch(60.4% 0.096 120.8)

  • #4688B5

    #4688B5

    oklch(60.3% 0.096 240.7)

  • #B0687E

    #B0687E

    oklch(60.3% 0.096 0.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798A45

    #798A45

    oklch(60.4% 0.096 120.8)

  • #2390A2

    #2390A2

    oklch(60.3% 0.096 211.5)

  • #8B73B2

    #8B73B2

    oklch(60.3% 0.097 301.1)

  • #B46B5E

    #B46B5E

    oklch(60.5% 0.096 30.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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