#797808

Closest named color: Murky Green (#6C7A0E). oklch(55.6% 0.118 109.1), rgb(121, 120, 8).

Aa

White text reads best on this color (4.66:1).

About this color

#797808 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.118 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Murky Green (#6C7A0E), ΔE 0.019 away. White text reads best on it, at 4.66:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.118)
Temperaturewarm
Nearest nameMurky Green (#6C7A0E)
Black text4.50:1
White text4.66:1

Values

HEX#797808
RGBrgb(121, 120, 8)
HSLhsl(59, 88%, 25%)
OKLCHoklch(55.6% 0.118 109.1)

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 #797808 4.66:1 AA Lc -77.7 Fine for body text
Black text on #797808 4.50:1 AA Lc 31.8 Non-text elements, placeholder text
#797808 text on white 4.66:1 AA Lc 72.2 Content text, not long reading
#797808 text on black 4.50:1 AA Lc -29.4 Dividers and decoration only

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 600.

  1. Step 50

    50

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EAEBDF

    oklch(93.6% 0.016 110.6)

  3. Step 200

    200

    #DADBC5

    oklch(88.5% 0.03 109.1)

  4. Step 300

    300

    #C3C49D

    oklch(80.9% 0.053 108.7)

  5. Step 400

    400

    #A4A566

    oklch(70.6% 0.084 109.2)

  6. Step 500

    500

    #8F8F38

    oklch(63.2% 0.109 109.2)

  7. Step 600

    600 (this color)

    #797808

    oklch(55.6% 0.118 109.1)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535203

    oklch(42.6% 0.091 108.9)

  10. Step 900

    900

    #454410

    oklch(37.6% 0.071 108.3)

  11. Step 950

    950

    #28280C

    oklch(27% 0.044 109)

Export this scale for Tailwind in the Tailwind colors tool

#797808 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)#8372000.022
Deuteranopia (no green cones)#8476160.020
Tritanopia (no blue cones)#836F650.107
Achromatopsia (no color)#7474740.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #797808

    #797808

    oklch(55.6% 0.118 109.1)

  • #7266B3

    #7266B3

    oklch(55.6% 0.117 289.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797808

    #797808

    oklch(55.6% 0.118 109.1)

  • #976A00

    #976A00

    oklch(55.7% 0.116 79.3)

  • #4C833D

    #4C833D

    oklch(55.5% 0.117 139.3)

Open the analogous palette in the generator

Split complementary

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

  • #797808

    #797808

    oklch(55.6% 0.118 109.1)

  • #4773B8

    #4773B8

    oklch(55.6% 0.118 259.1)

  • #915B9F

    #915B9F

    oklch(55.7% 0.118 319.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797808

    #797808

    oklch(55.6% 0.118 109.1)

  • #007EA6

    #007EA6

    oklch(55.5% 0.11 229.3)

  • #A5547E

    #A5547E

    oklch(55.6% 0.118 349.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797808

    #797808

    oklch(55.6% 0.118 109.1)

  • #008388

    #008388

    oklch(55.4% 0.094 199.5)

  • #7266B3

    #7266B3

    oklch(55.6% 0.117 289.2)

  • #AD5357

    #AD5357

    oklch(55.4% 0.118 18.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #797808.

Similar named colors

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

Use #797808 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.