#797209

Closest named color: Brown Green (#706C11). oklch(54.1% 0.112 105.2), rgb(121, 114, 9).

Aa

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

About this color

#797209 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 54%, its chroma 0.112 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Green (#706C11), ΔE 0.024 away. White text reads best on it, at 4.97:1.

Hue familyYellows
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.112)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text4.22:1
White text4.97:1

Values

HEX#797209
RGBrgb(121, 114, 9)
HSLhsl(56, 86%, 25%)
OKLCHoklch(54.1% 0.112 105.2)

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 #797209 4.97:1 AA Lc -79.7 Fine for body text
Black text on #797209 4.22:1 AA large text Lc 29.8 Dividers and decoration only
#797209 text on white 4.97:1 AA Lc 74.3 Content text, not long reading
#797209 text on black 4.22:1 AA large text Lc -27.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEBE0

    oklch(93.7% 0.015 106.7)

  3. Step 200

    200

    #DBDBC6

    oklch(88.6% 0.028 107)

  4. Step 300

    300

    #C5C39E

    oklch(80.9% 0.05 104.9)

  5. Step 400

    400

    #A8A467

    oklch(70.8% 0.082 105.1)

  6. Step 500

    500

    #938D3C

    oklch(63.2% 0.103 105)

  7. Step 600

    600 (this color)

    #797209

    oklch(54.1% 0.112 105.2)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #565109

    oklch(42.7% 0.086 105.2)

  10. Step 900

    900

    #474313

    oklch(37.6% 0.067 104.5)

  11. Step 950

    950

    #29280D

    oklch(27.1% 0.043 107)

Export this scale for Tailwind in the Tailwind colors tool

#797209 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)#7D6E000.012
Deuteranopia (no green cones)#8072150.013
Tritanopia (no blue cones)#8369600.102
Achromatopsia (no color)#7070700.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #797209

    #797209

    oklch(54.1% 0.112 105.2)

  • #6964AD

    #6964AD

    oklch(54.1% 0.112 285.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797209

    #797209

    oklch(54.1% 0.112 105.2)

  • #946406

    #946406

    oklch(54.1% 0.112 75.5)

  • #517D37

    #517D37

    oklch(54.1% 0.111 135.2)

Open the analogous palette in the generator

Split complementary

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

  • #797209

    #797209

    oklch(54.1% 0.112 105.2)

  • #3F70AF

    #3F70AF

    oklch(54.1% 0.113 255.5)

  • #88599B

    #88599B

    oklch(54.1% 0.112 315.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797209

    #797209

    oklch(54.1% 0.112 105.2)

  • #007B9C

    #007B9C

    oklch(54.2% 0.103 225)

  • #9C527E

    #9C527E

    oklch(54.1% 0.112 344.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797209

    #797209

    oklch(54.1% 0.112 105.2)

  • #007F80

    #007F80

    oklch(54% 0.092 195.7)

  • #6964AD

    #6964AD

    oklch(54.1% 0.112 285.1)

  • #A65159

    #A65159

    oklch(54.2% 0.112 15.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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