#798F32

Closest named color: Olive Drab (#6B8E23). oklch(61.3% 0.121 121.4), rgb(121, 143, 50).

Aa

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

About this color

#798F32 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.121 and its hue 121°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive Drab (#6B8E23), ΔE 0.024 away. Black text reads best on it, at 5.78:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameOlive Drab (#6B8E23)
Black text5.78:1
White text3.62:1

Values

HEX#798F32
RGBrgb(121, 143, 50)
HSLhsl(74, 48%, 38%)
OKLCHoklch(61.3% 0.121 121.4)

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 #798F32 3.62:1 AA large text Lc -69.3 Content text, not long reading
Black text on #798F32 5.78:1 AA Lc 40.3 Non-text elements, placeholder text
#798F32 text on white 3.62:1 AA large text Lc 63.8 Content text, not long reading
#798F32 text on black 5.78:1 AA Lc -37.9 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECDF

    oklch(93.6% 0.018 120.7)

  3. Step 200

    200

    #D5DDC5

    oklch(88.5% 0.033 122.1)

  4. Step 300

    300

    #BAC79D

    oklch(80.9% 0.059 121.7)

  5. Step 400

    400

    #97AA65

    oklch(70.7% 0.096 121.4)

  6. Step 500

    500 (this color)

    #798F32

    oklch(61.3% 0.121 121.4)

  7. Step 600

    600

    #687E07

    oklch(55.6% 0.131 121.2)

  8. Step 700

    700

    #576A00

    oklch(49.1% 0.118 121.1)

  9. Step 800

    800

    #475702

    oklch(42.8% 0.102 121.2)

  10. Step 900

    900

    #3B4810

    oklch(37.8% 0.08 121.7)

  11. Step 950

    950

    #232A0C

    oklch(27% 0.049 120.8)

Export this scale for Tailwind in the Tailwind colors tool

#798F32 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)#9787260.046
Deuteranopia (no green cones)#9586390.049
Tritanopia (no blue cones)#7F887C0.102
Achromatopsia (no color)#8686860.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #798F32

    #798F32

    oklch(61.3% 0.121 121.4)

  • #9171C1

    #9171C1

    oklch(61.2% 0.122 301.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798F32

    #798F32

    oklch(61.3% 0.121 121.4)

  • #9F8111

    #9F8111

    oklch(61.4% 0.121 91.7)

  • #43995E

    #43995E

    oklch(61.4% 0.122 151.5)

Open the analogous palette in the generator

Split complementary

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

  • #798F32

    #798F32

    oklch(61.3% 0.121 121.4)

  • #6A7ECD

    #6A7ECD

    oklch(61.2% 0.122 271.6)

  • #AE67A5

    #AE67A5

    oklch(61.4% 0.122 331.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798F32

    #798F32

    oklch(61.3% 0.121 121.4)

  • #328CC6

    #328CC6

    oklch(61.4% 0.121 241.4)

  • #BE637F

    #BE637F

    oklch(61.4% 0.12 1.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798F32

    #798F32

    oklch(61.3% 0.121 121.4)

  • #0095A9

    #0095A9

    oklch(61.4% 0.107 211.3)

  • #9171C1

    #9171C1

    oklch(61.2% 0.122 301.3)

  • #C26655

    #C26655

    oklch(61.4% 0.121 31.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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