#797313

Closest named color: Brown Green (#706C11). oklch(54.4% 0.109 105.7), rgb(121, 115, 19).

Aa

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

About this color

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

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

Values

HEX#797313
RGBrgb(121, 115, 19)
HSLhsl(56, 73%, 27%)
OKLCHoklch(54.4% 0.109 105.7)

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 #797313 4.91:1 AA Lc -79.3 Fine for body text
Black text on #797313 4.27:1 AA large text Lc 30.2 Non-text elements, placeholder text
#797313 text on white 4.91:1 AA Lc 73.9 Content text, not long reading
#797313 text on black 4.27:1 AA large text Lc -27.8 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

    #C4C39F

    oklch(80.9% 0.049 106.1)

  5. Step 400

    400

    #A7A469

    oklch(70.7% 0.079 105.8)

  6. Step 500

    500

    #928D3F

    oklch(63.1% 0.1 105.6)

  7. Step 600

    600 (this color)

    #797313

    oklch(54.4% 0.109 105.7)

  8. Step 700

    700

    #696307

    oklch(49% 0.101 105.3)

  9. Step 800

    800

    #56510D

    oklch(42.7% 0.084 105)

  10. Step 900

    900

    #464315

    oklch(37.5% 0.065 105.6)

  11. Step 950

    950

    #29280E

    oklch(27.1% 0.042 106.9)

Export this scale for Tailwind in the Tailwind colors tool

#797313 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)#7E6E000.015
Deuteranopia (no green cones)#80721C0.014
Tritanopia (no blue cones)#836A620.101
Achromatopsia (no color)#7171710.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #797313

    #797313

    oklch(54.4% 0.109 105.7)

  • #6B65AC

    #6B65AC

    oklch(54.4% 0.109 286)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797313

    #797313

    oklch(54.4% 0.109 105.7)

  • #946510

    #946510

    oklch(54.3% 0.109 75.3)

  • #527E3A

    #527E3A

    oklch(54.4% 0.109 135.7)

Open the analogous palette in the generator

Split complementary

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

  • #797313

    #797313

    oklch(54.4% 0.109 105.7)

  • #4271AE

    #4271AE

    oklch(54.4% 0.109 255.6)

  • #885B9B

    #885B9B

    oklch(54.5% 0.109 315.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797313

    #797313

    oklch(54.4% 0.109 105.7)

  • #007B9D

    #007B9D

    oklch(54.3% 0.104 225.7)

  • #9C547E

    #9C547E

    oklch(54.4% 0.109 345.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797313

    #797313

    oklch(54.4% 0.109 105.7)

  • #008081

    #008081

    oklch(54.4% 0.093 195.7)

  • #6B65AC

    #6B65AC

    oklch(54.4% 0.109 286)

  • #A6535A

    #A6535A

    oklch(54.5% 0.109 16.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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