#798034

Closest named color: Khaki Green (#728639). oklch(57.8% 0.1 113.9), rgb(121, 128, 52).

Aa

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

About this color

#798034 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.100 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Khaki Green (#728639), ΔE 0.018 away. Black text reads best on it, at 4.95:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest nameKhaki Green (#728639)
Black text4.95:1
White text4.24:1

Values

HEX#798034
RGBrgb(121, 128, 52)
HSLhsl(66, 42%, 35%)
OKLCHoklch(57.8% 0.1 113.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 #798034 4.24:1 AA large text Lc -74.7 Content text, not long reading
Black text on #798034 4.95:1 AA Lc 34.8 Non-text elements, placeholder text
#798034 text on white 4.24:1 AA large text Lc 69.2 Content text, not long reading
#798034 text on black 4.95:1 AA Lc -32.4 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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBE1

    oklch(93.6% 0.013 115.8)

  3. Step 200

    200

    #D8DBC9

    oklch(88.4% 0.024 114.6)

  4. Step 300

    300

    #C0C4A3

    oklch(80.8% 0.045 113)

  5. Step 400

    400

    #A0A672

    oklch(70.7% 0.071 113.6)

  6. Step 500

    500

    #89904C

    oklch(63.2% 0.092 113.9)

  7. Step 600

    600 (this color)

    #798034

    oklch(57.8% 0.1 113.9)

  8. Step 700

    700

    #60661F

    oklch(49% 0.093 114)

  9. Step 800

    800

    #4F531C

    oklch(42.6% 0.077 113.1)

  10. Step 900

    900

    #41451D

    oklch(37.7% 0.06 114)

  11. Step 950

    950

    #262912

    oklch(27.1% 0.039 115.1)

Export this scale for Tailwind in the Tailwind colors tool

#798034 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)#897A2C0.027
Deuteranopia (no green cones)#897C390.028
Tritanopia (no blue cones)#8079700.088
Achromatopsia (no color)#7B7B7B0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #798034

    #798034

    oklch(57.8% 0.1 113.9)

  • #7D6DAF

    #7D6DAF

    oklch(57.7% 0.101 294.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798034

    #798034

    oklch(57.8% 0.1 113.9)

  • #967429

    #967429

    oklch(57.8% 0.1 83.7)

  • #538952

    #538952

    oklch(57.8% 0.101 143.7)

Open the analogous palette in the generator

Split complementary

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

  • #798034

    #798034

    oklch(57.8% 0.1 113.9)

  • #5B78B5

    #5B78B5

    oklch(57.7% 0.1 264.1)

  • #97649B

    #97649B

    oklch(57.7% 0.101 324.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798034

    #798034

    oklch(57.8% 0.1 113.9)

  • #3083AC

    #3083AC

    oklch(57.8% 0.1 234)

  • #A75F7E

    #A75F7E

    oklch(57.7% 0.101 353.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798034

    #798034

    oklch(57.8% 0.1 113.9)

  • #008A94

    #008A94

    oklch(57.7% 0.098 203.8)

  • #7D6DAF

    #7D6DAF

    oklch(57.7% 0.101 294.2)

  • #AD615C

    #AD615C

    oklch(57.8% 0.099 24.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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