#798F39

Closest named color: Drab Green (#749551). oklch(61.4% 0.115 121.9), rgb(121, 143, 57).

Aa

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

About this color

#798F39 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.115 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab Green (#749551), ΔE 0.025 away. Black text reads best on it, at 5.80:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameDrab Green (#749551)
Black text5.80:1
White text3.62:1

Values

HEX#798F39
RGBrgb(121, 143, 57)
HSLhsl(75, 43%, 39%)
OKLCHoklch(61.4% 0.115 121.9)

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 #798F39 3.62:1 AA large text Lc -69.2 Content text, not long reading
Black text on #798F39 5.80:1 AA Lc 40.4 Non-text elements, placeholder text
#798F39 text on white 3.62:1 AA large text Lc 63.7 Content text, not long reading
#798F39 text on black 5.80:1 AA Lc -38.0 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECE0

    oklch(93.7% 0.017 121.8)

  3. Step 200

    200

    #D5DDC6

    oklch(88.5% 0.032 122.7)

  4. Step 300

    300

    #BAC79F

    oklch(80.9% 0.056 122.3)

  5. Step 400

    400

    #97AA69

    oklch(70.7% 0.091 122)

  6. Step 500

    500 (this color)

    #798F39

    oklch(61.4% 0.115 121.9)

  7. Step 600

    600

    #677E18

    oklch(55.6% 0.125 122.1)

  8. Step 700

    700

    #566A06

    oklch(49% 0.116 121.8)

  9. Step 800

    800

    #46570D

    oklch(42.8% 0.097 122.4)

  10. Step 900

    900

    #3B4815

    oklch(37.8% 0.075 122.3)

  11. Step 950

    950

    #232A0E

    oklch(27% 0.047 121.3)

Export this scale for Tailwind in the Tailwind colors tool

#798F39 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)#9787300.046
Deuteranopia (no green cones)#94863F0.048
Tritanopia (no blue cones)#7F887C0.096
Achromatopsia (no color)#8686860.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #798F39

    #798F39

    oklch(61.4% 0.115 121.9)

  • #9173BE

    #9173BE

    oklch(61.5% 0.115 301.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798F39

    #798F39

    oklch(61.4% 0.115 121.9)

  • #9D811F

    #9D811F

    oklch(61.3% 0.115 91.8)

  • #479861

    #479861

    oklch(61.4% 0.116 152)

Open the analogous palette in the generator

Split complementary

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

  • #798F39

    #798F39

    oklch(61.4% 0.115 121.9)

  • #6C7FCA

    #6C7FCA

    oklch(61.4% 0.116 271.8)

  • #AC69A3

    #AC69A3

    oklch(61.4% 0.115 331.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798F39

    #798F39

    oklch(61.4% 0.115 121.9)

  • #3A8CC3

    #3A8CC3

    oklch(61.4% 0.115 241.6)

  • #BC657F

    #BC657F

    oklch(61.4% 0.115 1.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798F39

    #798F39

    oklch(61.4% 0.115 121.9)

  • #0095AA

    #0095AA

    oklch(61.5% 0.107 212.1)

  • #9173BE

    #9173BE

    oklch(61.5% 0.115 301.5)

  • #C06857

    #C06857

    oklch(61.4% 0.116 32.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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