#798B19

Closest named color: Dark Yellow Green (#728F02). oklch(60.2% 0.133 118.8), rgb(121, 139, 25).

Aa

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

About this color

#798B19 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 60%, its chroma 0.133 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.018 away. Black text reads best on it, at 5.52:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text5.52:1
White text3.80:1

Values

HEX#798B19
RGBrgb(121, 139, 25)
HSLhsl(69, 70%, 32%)
OKLCHoklch(60.2% 0.133 118.8)

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 #798B19 3.80:1 AA large text Lc -70.9 Content text, not long reading
Black text on #798B19 5.52:1 AA Lc 38.7 Non-text elements, placeholder text
#798B19 text on white 3.80:1 AA large text Lc 65.4 Content text, not long reading
#798B19 text on black 5.52:1 AA Lc -36.2 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 500.

  1. Step 50

    50

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E8ECDE

    oklch(93.6% 0.019 119.8)

  3. Step 200

    200

    #D6DDC3

    oklch(88.5% 0.036 119.4)

  4. Step 300

    300

    #BCC798

    oklch(80.9% 0.065 118.6)

  5. Step 400

    400

    #9AAA5D

    oklch(70.8% 0.104 118.8)

  6. Step 500

    500 (this color)

    #798B19

    oklch(60.2% 0.133 118.8)

  7. Step 600

    600

    #6C7D00

    oklch(55.6% 0.13 118.8)

  8. Step 700

    700

    #5A6900

    oklch(49.1% 0.115 119)

  9. Step 800

    800

    #4A5600

    oklch(42.8% 0.1 118.6)

  10. Step 900

    900

    #3D4703

    oklch(37.6% 0.086 118.6)

  11. Step 950

    950

    #242A07

    oklch(27.1% 0.054 118.5)

Export this scale for Tailwind in the Tailwind colors tool

#798B19 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)#9583000.044
Deuteranopia (no green cones)#9383250.047
Tritanopia (no blue cones)#8183760.113
Achromatopsia (no color)#8383830.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #798B19

    #798B19

    oklch(60.2% 0.133 118.8)

  • #8C6DC4

    #8C6DC4

    oklch(60.2% 0.132 298.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798B19

    #798B19

    oklch(60.2% 0.133 118.8)

  • #9F7C00

    #9F7C00

    oklch(60.3% 0.123 88.8)

  • #3D9652

    #3D9652

    oklch(60.2% 0.133 148.7)

Open the analogous palette in the generator

Split complementary

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

  • #798B19

    #798B19

    oklch(60.2% 0.133 118.8)

  • #607BD0

    #607BD0

    oklch(60.2% 0.133 268.9)

  • #AB61A8

    #AB61A8

    oklch(60.2% 0.133 328.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798B19

    #798B19

    oklch(60.2% 0.133 118.8)

  • #0B8AC7

    #0B8AC7

    oklch(60.3% 0.133 238.8)

  • #BE5B7F

    #BE5B7F

    oklch(60.2% 0.133 358.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798B19

    #798B19

    oklch(60.2% 0.133 118.8)

  • #0091A2

    #0091A2

    oklch(60.1% 0.104 209.3)

  • #8C6DC4

    #8C6DC4

    oklch(60.2% 0.132 298.8)

  • #C35E51

    #C35E51

    oklch(60.2% 0.132 29.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #798B19 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.