#798C39

Closest named color: Khaki Green (#728639). oklch(60.7% 0.111 120.6), rgb(121, 140, 57).

Aa

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

About this color

#798C39 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.111 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.021 away. Black text reads best on it, at 5.62:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text5.62:1
White text3.73:1

Values

HEX#798C39
RGBrgb(121, 140, 57)
HSLhsl(74, 42%, 39%)
OKLCHoklch(60.7% 0.111 120.6)

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 #798C39 3.73:1 AA large text Lc -70.3 Content text, not long reading
Black text on #798C39 5.62:1 AA Lc 39.2 Non-text elements, placeholder text
#798C39 text on white 3.73:1 AA large text Lc 64.8 Content text, not long reading
#798C39 text on black 5.62:1 AA Lc -36.8 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

    #E8ECE0

    oklch(93.7% 0.017 121.8)

  3. Step 200

    200

    #D6DCC7

    oklch(88.4% 0.029 120)

  4. Step 300

    300

    #BBC69F

    oklch(80.8% 0.054 120.4)

  5. Step 400

    400

    #99A96B

    oklch(70.7% 0.086 120.4)

  6. Step 500

    500 (this color)

    #798C39

    oklch(60.7% 0.111 120.6)

  7. Step 600

    600

    #6A7D1C

    oklch(55.6% 0.12 120.4)

  8. Step 700

    700

    #586A0C

    oklch(49.2% 0.113 120.9)

  9. Step 800

    800

    #485610

    oklch(42.7% 0.093 120.6)

  10. Step 900

    900

    #3C4716

    oklch(37.6% 0.073 120.7)

  11. Step 950

    950

    #232A0E

    oklch(27% 0.047 121.3)

Export this scale for Tailwind in the Tailwind colors tool

#798C39 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)#9484300.042
Deuteranopia (no green cones)#92843E0.044
Tritanopia (no blue cones)#7F857A0.094
Achromatopsia (no color)#8484840.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #798C39

    #798C39

    oklch(60.7% 0.111 120.6)

  • #8D72BA

    #8D72BA

    oklch(60.7% 0.11 300.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798C39

    #798C39

    oklch(60.7% 0.111 120.6)

  • #9C7F23

    #9C7F23

    oklch(60.8% 0.112 90.4)

  • #4B955F

    #4B955F

    oklch(60.8% 0.111 150.7)

Open the analogous palette in the generator

Split complementary

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

  • #798C39

    #798C39

    oklch(60.7% 0.111 120.6)

  • #697EC5

    #697EC5

    oklch(60.7% 0.111 270.3)

  • #A868A1

    #A868A1

    oklch(60.6% 0.112 330.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798C39

    #798C39

    oklch(60.7% 0.111 120.6)

  • #398ABE

    #398ABE

    oklch(60.7% 0.111 240.4)

  • #B8647F

    #B8647F

    oklch(60.7% 0.112 0.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798C39

    #798C39

    oklch(60.7% 0.111 120.6)

  • #0093A5

    #0093A5

    oklch(60.8% 0.105 209.9)

  • #8D72BA

    #8D72BA

    oklch(60.7% 0.11 300.4)

  • #BB6759

    #BB6759

    oklch(60.6% 0.111 30.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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