#798B2D

Closest named color: Khaki Green (#728639). oklch(60.3% 0.12 119.5), rgb(121, 139, 45).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text5.54:1
White text3.78:1

Values

HEX#798B2D
RGBrgb(121, 139, 45)
HSLhsl(71, 51%, 36%)
OKLCHoklch(60.3% 0.12 119.5)

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 #798B2D 3.78:1 AA large text Lc -70.8 Content text, not long reading
Black text on #798B2D 5.54:1 AA Lc 38.8 Non-text elements, placeholder text
#798B2D text on white 3.78:1 AA large text Lc 65.3 Content text, not long reading
#798B2D text on black 5.54:1 AA Lc -36.3 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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D6DDC5

    oklch(88.6% 0.033 120.3)

  4. Step 300

    300

    #BCC79C

    oklch(81% 0.059 119.4)

  5. Step 400

    400

    #99A965

    oklch(70.6% 0.093 119.7)

  6. Step 500

    500 (this color)

    #798B2D

    oklch(60.3% 0.12 119.5)

  7. Step 600

    600

    #6B7D02

    oklch(55.5% 0.13 119.3)

  8. Step 700

    700

    #596900

    oklch(49% 0.116 119.6)

  9. Step 800

    800

    #495601

    oklch(42.7% 0.1 119.3)

  10. Step 900

    900

    #3D470F

    oklch(37.7% 0.078 119.2)

  11. Step 950

    950

    #242A0B

    oklch(27.1% 0.05 119.1)

Export this scale for Tailwind in the Tailwind colors tool

#798B2D 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)#9483200.042
Deuteranopia (no green cones)#9283340.045
Tritanopia (no blue cones)#8084780.102
Achromatopsia (no color)#8383830.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #798B2D

    #798B2D

    oklch(60.3% 0.12 119.5)

  • #8C6FBE

    #8C6FBE

    oklch(60.2% 0.12 299.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798B2D

    #798B2D

    oklch(60.3% 0.12 119.5)

  • #9E7D0D

    #9E7D0D

    oklch(60.5% 0.12 89.5)

  • #459559

    #459559

    oklch(60.4% 0.12 149.7)

Open the analogous palette in the generator

Split complementary

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

  • #798B2D

    #798B2D

    oklch(60.3% 0.12 119.5)

  • #657CC9

    #657CC9

    oklch(60.3% 0.121 269.9)

  • #A865A4

    #A865A4

    oklch(60.3% 0.12 329.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798B2D

    #798B2D

    oklch(60.3% 0.12 119.5)

  • #2B8AC1

    #2B8AC1

    oklch(60.4% 0.12 239.2)

  • #BA607F

    #BA607F

    oklch(60.4% 0.12 359.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798B2D

    #798B2D

    oklch(60.3% 0.12 119.5)

  • #0092A3

    #0092A3

    oklch(60.4% 0.104 209.2)

  • #8C6FBE

    #8C6FBE

    oklch(60.2% 0.12 299.7)

  • #BE6356

    #BE6356

    oklch(60.3% 0.119 29.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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