#798259

Closest named color: Drab (#828344). oklch(58.8% 0.06 118.4), rgb(121, 130, 89).

Aa

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

About this color

#798259 is a medium-dark, muted yellow. In OKLCH its lightness is 59%, its chroma 0.060 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.028 away. Black text reads best on it, at 5.15:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamuted (0.060)
Temperaturein between
Nearest nameDrab (#828344)
Black text5.15:1
White text4.07:1

Values

HEX#798259
RGBrgb(121, 130, 89)
HSLhsl(73, 19%, 43%)
OKLCHoklch(58.8% 0.06 118.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 #798259 4.07:1 AA large text Lc -73.5 Content text, not long reading
Black text on #798259 5.15:1 AA Lc 36.1 Non-text elements, placeholder text
#798259 text on white 4.07:1 AA large text Lc 68.0 Content text, not long reading
#798259 text on black 5.15:1 AA Lc -33.7 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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE5

    oklch(93.7% 0.008 121.6)

  3. Step 200

    200

    #D8DBD0

    oklch(88.6% 0.015 119.1)

  4. Step 300

    300

    #BFC3B0

    oklch(80.9% 0.026 116.7)

  5. Step 400

    400

    #9EA587

    oklch(70.8% 0.043 118.2)

  6. Step 500

    500

    #868E68

    oklch(63% 0.055 117.7)

  7. Step 600

    600 (this color)

    #798259

    oklch(58.8% 0.06 118.4)

  8. Step 700

    700

    #5D6541

    oklch(49% 0.055 118.7)

  9. Step 800

    800

    #4C5335

    oklch(42.8% 0.047 119.1)

  10. Step 900

    900

    #40442E

    oklch(37.6% 0.036 116.5)

  11. Step 950

    950

    #25281B

    oklch(26.9% 0.023 118.6)

Export this scale for Tailwind in the Tailwind colors tool

#798259 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)#877E560.022
Deuteranopia (no green cones)#867E5B0.023
Tritanopia (no blue cones)#7D7E770.050
Achromatopsia (no color)#7E7E7E0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #798259

    #798259

    oklch(58.8% 0.06 118.4)

  • #81759C

    #81759C

    oklch(58.8% 0.06 298.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798259

    #798259

    oklch(58.8% 0.06 118.4)

  • #8B7B53

    #8B7B53

    oklch(58.8% 0.06 88.6)

  • #648769

    #648769

    oklch(58.8% 0.06 148.6)

Open the analogous palette in the generator

Split complementary

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

  • #798259

    #798259

    oklch(58.8% 0.06 118.4)

  • #6E7CA1

    #6E7CA1

    oklch(58.9% 0.059 268.5)

  • #91708F

    #91708F

    oklch(58.8% 0.061 328.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798259

    #798259

    oklch(58.8% 0.06 118.4)

  • #5B829D

    #5B829D

    oklch(58.8% 0.06 239.3)

  • #9B6E7C

    #9B6E7C

    oklch(58.8% 0.06 358.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798259

    #798259

    oklch(58.8% 0.06 118.4)

  • #4F8790

    #4F8790

    oklch(58.8% 0.061 208.8)

  • #81759C

    #81759C

    oklch(58.8% 0.06 298.6)

  • #9D6F69

    #9D6F69

    oklch(58.7% 0.06 27.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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