#797501

Closest named color: Murky Green (#6C7A0E). oklch(54.8% 0.117 107.3), rgb(121, 117, 1).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.117)
Temperaturewarm
Nearest nameMurky Green (#6C7A0E)
Black text4.35:1
White text4.81:1

Values

HEX#797501
RGBrgb(121, 117, 1)
HSLhsl(58, 98%, 24%)
OKLCHoklch(54.8% 0.117 107.3)

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 #797501 4.81:1 AA Lc -78.7 Fine for body text
Black text on #797501 4.35:1 AA large text Lc 30.8 Non-text elements, placeholder text
#797501 text on white 4.81:1 AA Lc 73.3 Content text, not long reading
#797501 text on black 4.35:1 AA large text Lc -28.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

    #EBEBDF

    oklch(93.7% 0.016 106.7)

  3. Step 200

    200

    #DBDBC5

    oklch(88.6% 0.029 107)

  4. Step 300

    300

    #C4C49C

    oklch(81% 0.054 107.5)

  5. Step 400

    400

    #A6A565

    oklch(70.8% 0.085 107.6)

  6. Step 500

    500

    #918E38

    oklch(63.2% 0.108 107.2)

  7. Step 600

    600 (this color)

    #797501

    oklch(54.8% 0.117 107.3)

  8. Step 700

    700

    #686400

    oklch(49.1% 0.105 107)

  9. Step 800

    800

    #555203

    oklch(42.8% 0.09 107.2)

  10. Step 900

    900

    #464410

    oklch(37.7% 0.071 107.2)

  11. Step 950

    950

    #29280C

    oklch(27.1% 0.044 107.1)

Export this scale for Tailwind in the Tailwind colors tool

#797501 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)#8070000.017
Deuteranopia (no green cones)#8274110.017
Tritanopia (no blue cones)#836C630.108
Achromatopsia (no color)#7272720.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #797501

    #797501

    oklch(54.8% 0.117 107.3)

  • #6E64B1

    #6E64B1

    oklch(54.7% 0.118 287.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #797501

    #797501

    oklch(54.8% 0.117 107.3)

  • #966700

    #966700

    oklch(54.9% 0.115 77.4)

  • #4E8038

    #4E8038

    oklch(54.7% 0.117 137.1)

Open the analogous palette in the generator

Split complementary

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

  • #797501

    #797501

    oklch(54.8% 0.117 107.3)

  • #4271B4

    #4271B4

    oklch(54.7% 0.117 257.4)

  • #8D599E

    #8D599E

    oklch(54.8% 0.119 317.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #797501

    #797501

    oklch(54.8% 0.117 107.3)

  • #007CA1

    #007CA1

    oklch(54.7% 0.106 227.7)

  • #A1527E

    #A1527E

    oklch(54.8% 0.117 347.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #797501

    #797501

    oklch(54.8% 0.117 107.3)

  • #008184

    #008184

    oklch(54.7% 0.093 197.7)

  • #6E64B1

    #6E64B1

    oklch(54.7% 0.118 287.8)

  • #AB5158

    #AB5158

    oklch(54.9% 0.118 17)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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