#798061#798061

#798061 is a mid, muted yellow-green. Relative luminance 0.204; OKLCH L 58.5% C 0.046 H 118.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#798061
RGBrgb(121, 128, 97)
HSLhsl(74, 14%, 44%)
HSVhsv(74, 24%, 50%)
CMYKcmyk(5.5%, 0%, 24.2%, 49.8%)
CIE-LABlab(52.25, -8.32, 16.00)
CIE-LCHlch(52.25, 18.04, 117.46°)
OKLaboklab(58.54% -0.0218 0.0406)
OKLCHoklch(58.54% 0.046 118.2)
XYZxyz(17.7618, 20.3664, 14.3023)
Luminance0.2037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798061 #686180
analogous
#807861 #798061 #6A8061
triadic
#798061 #617980 #806179
tetradic
#798061 #618078 #686180 #80616A
square
#798061 #618078 #686180 #80616A
split-complementary
#798061 #616A80 #786180
monochromatic
#373A2C #585D47 #798061 #989F80 #B4B9A2

Accessibility & contrast

On white

4.14
#798061 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#798061 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798061
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798061#FFFFFF#000000##000000
##7980611.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#847D5F
Deuteranopia (green-blind)
#837D62
Tritanopia (blue-blind)
#7C7D78
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #798061;
/* rgb */ color: rgb(121, 128, 97);
/* oklch */ color: oklch(58.5% 0.046 118.2);
Tailwind
colors: {
  custom: {
    50: '#a0a48e',
    500: '#798061',
    950: '#000000',
  },
}
SCSS
$custom: #798061;
$custom-light: #a0a48e;
$custom-dark: #000000;
JSON
{
  "hex": "#798061",
  "rgb": {
    "r": 121,
    "g": 128,
    "b": 97
  },
  "hsl": {
    "h": 73.548,
    "s": 13.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58538,
    "c": 0.0461,
    "h": 118.2
  },
  "luminance": 0.20366
}

Semantic roles & 50–950 ramp

primary
#798061
secondary
#9995A8
accent
#71B781
background
#F9FAF8
surface
#F2F4F0
border
#CCCECB
text
#0E0F0C
muted
#7E7F7D

Preview Lab

Preview with #798061

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#798061 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva