#798278

Closest named color: Medium Grey (#7D7F7C). oklch(59.6% 0.018 142.5), rgb(121, 130, 120).

Aa

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

About this color

#798278 is a medium-dark close to neutral grey. In OKLCH its lightness is 60%, its chroma 0.018. It has too little chroma to lean warm or cool. The nearest named color is Medium Grey (#7D7F7C), ΔE 0.014 away. Black text reads best on it, at 5.27:1.

Hue familyNeutrals
Lightnessmedium-dark (60%)
Chromaclose to neutral grey (0.018)
Temperatureneutral
Nearest nameMedium Grey (#7D7F7C)
Black text5.27:1
White text3.97:1

Values

HEX#798278
RGBrgb(121, 130, 120)
HSLhsl(114, 4%, 49%)
OKLCHoklch(59.6% 0.018 142.5)

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 #798278 3.97:1 AA large text Lc -72.7 Content text, not long reading
Black text on #798278 5.27:1 AA Lc 36.9 Non-text elements, placeholder text
#798278 text on white 3.97:1 AA large text Lc 67.2 Content text, not long reading
#798278 text on black 5.27:1 AA Lc -34.5 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

    #F5F6F5

    oklch(97.2% 0.002 145.6)

  2. Step 100

    100

    #E9EAE9

    oklch(93.6% 0.002 145.6)

  3. Step 200

    200

    #D7DAD7

    oklch(88.5% 0.005 145.5)

  4. Step 300

    300

    #BDC2BD

    oklch(80.9% 0.009 145.5)

  5. Step 400

    400

    #9CA39B

    oklch(70.7% 0.014 141.8)

  6. Step 500

    500 (this color)

    #798278

    oklch(59.6% 0.018 142.5)

  7. Step 600

    600

    #6D766C

    oklch(55.5% 0.019 142.5)

  8. Step 700

    700

    #5B645A

    oklch(49.2% 0.019 142.5)

  9. Step 800

    800

    #4A514A

    oklch(42.6% 0.014 145.3)

  10. Step 900

    900

    #3E433D

    oklch(37.6% 0.012 140.5)

  11. Step 950

    950

    #242724

    oklch(26.9% 0.007 145.4)

Export this scale for Tailwind in the Tailwind colors tool

#798278 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)#8380770.015
Deuteranopia (no green cones)#817F780.014
Tritanopia (no blue cones)#78817F0.012
Achromatopsia (no color)#7F7F7F0.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #798278

    #798278

    oklch(59.6% 0.018 142.5)

  • #847C86

    #847C86

    oklch(59.7% 0.018 319.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #798278

    #798278

    oklch(59.6% 0.018 142.5)

  • #7F8074

    #7F8074

    oklch(59.5% 0.018 110.8)

  • #75837E

    #75837E

    oklch(59.7% 0.018 172.2)

Open the analogous palette in the generator

Split complementary

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

  • #798278

    #798278

    oklch(59.6% 0.018 142.5)

  • #7F7D89

    #7F7D89

    oklch(59.5% 0.018 293.5)

  • #887B80

    #887B80

    oklch(59.6% 0.017 352.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #798278

    #798278

    oklch(59.6% 0.018 142.5)

  • #797F8A

    #797F8A

    oklch(59.5% 0.018 262.7)

  • #8A7B7A

    #8A7B7A

    oklch(59.6% 0.019 22.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #798278

    #798278

    oklch(59.6% 0.018 142.5)

  • #758188

    #758188

    oklch(59.6% 0.018 233.2)

  • #847C86

    #847C86

    oklch(59.7% 0.018 319.5)

  • #887C75

    #887C75

    oklch(59.5% 0.018 52.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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