#798500

Closest named color: Swamp Green (#748500). oklch(58.6% 0.134 115.9), rgb(121, 133, 0).

Aa

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

About this color

#798500 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.134 and its hue 116°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Swamp Green (#748500), ΔE 0.007 away. Black text reads best on it, at 5.16:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameSwamp Green (#748500)
Black text5.16:1
White text4.06:1

Values

HEX#798500
RGBrgb(121, 133, 0)
HSLhsl(65, 100%, 26%)
OKLCHoklch(58.6% 0.134 115.9)

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 #798500 4.06:1 AA large text Lc -73.2 Content text, not long reading
Black text on #798500 5.16:1 AA Lc 36.4 Non-text elements, placeholder text
#798500 text on white 4.06:1 AA large text Lc 67.7 Content text, not long reading
#798500 text on black 5.16:1 AA Lc -34.0 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 600.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9EBDF

    oklch(93.5% 0.016 114.4)

  3. Step 200

    200

    #D8DCC4

    oklch(88.5% 0.032 114.7)

  4. Step 300

    300

    #BEC69A

    oklch(80.9% 0.06 116.1)

  5. Step 400

    400

    #9DA860

    oklch(70.6% 0.097 116)

  6. Step 500

    500

    #86922E

    oklch(63.1% 0.123 115.9)

  7. Step 600

    600 (this color)

    #798500

    oklch(58.6% 0.134 115.9)

  8. Step 700

    700

    #5E6800

    oklch(49.2% 0.113 116.2)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404609

    oklch(37.6% 0.08 115.4)

  11. Step 950

    950

    #252909

    oklch(26.9% 0.05 115.9)

Export this scale for Tailwind in the Tailwind colors tool

#798500 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)#8F7D000.039
Deuteranopia (no green cones)#8E7F160.038
Tritanopia (no blue cones)#827D700.116
Achromatopsia (no color)#7E7E7E0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #798500

    #798500

    oklch(58.6% 0.134 115.9)

  • #8469C2

    #8469C2

    oklch(58.6% 0.134 296)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798500

    #798500

    oklch(58.6% 0.134 115.9)

  • #9C7600

    #9C7600

    oklch(58.7% 0.12 86)

  • #3E9148

    #3E9148

    oklch(58.7% 0.135 145.9)

Open the analogous palette in the generator

Split complementary

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

  • #798500

    #798500

    oklch(58.6% 0.134 115.9)

  • #5678CB

    #5678CB

    oklch(58.6% 0.133 265.7)

  • #A45DA6

    #A45DA6

    oklch(58.6% 0.134 326.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798500

    #798500

    oklch(58.6% 0.134 115.9)

  • #0086BC

    #0086BC

    oklch(58.6% 0.126 235.8)

  • #B8567F

    #B8567F

    oklch(58.6% 0.134 355.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798500

    #798500

    oklch(58.6% 0.134 115.9)

  • #008D99

    #008D99

    oklch(58.7% 0.1 205.4)

  • #8469C2

    #8469C2

    oklch(58.6% 0.134 296)

  • #BF5851

    #BF5851

    oklch(58.7% 0.134 25.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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