#798367#798367

#798367 is a mid, muted yellow-green. Relative luminance 0.213; OKLCH L 59.4% C 0.043 H 123.7°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#798367
RGBrgb(121, 131, 103)
HSLhsl(81, 12%, 46%)
HSVhsv(81, 21%, 51%)
CMYKcmyk(7.6%, 0%, 21.4%, 48.6%)
CIE-LABlab(53.25, -8.99, 13.94)
CIE-LCHlch(53.25, 16.59, 122.84°)
OKLaboklab(59.38% -0.0237 0.0356)
OKLCHoklch(59.38% 0.043 123.7)
XYZxyz(18.4493, 21.2768, 15.9642)
Luminance0.2128 (WCAG relative)
Temperatureneutral
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798367 #716783
analogous
#837F67 #798367 #6B8367
triadic
#798367 #677983 #836779
tetradic
#798367 #67837F #716783 #83676B
square
#798367 #67837F #716783 #83676B
split-complementary
#798367 #676B83 #7F6783
monochromatic
#3A3E31 #59614C #798367 #97A087 #B5BBA9

Accessibility & contrast

On white

4.00
#798367 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#798367 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798367
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798367#FFFFFF#000000##000000
##7983671.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867F65
Deuteranopia (green-blind)
#857F68
Tritanopia (blue-blind)
#7B807B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #798367;
/* rgb */ color: rgb(121, 131, 103);
/* oklch */ color: oklch(59.4% 0.043 123.7);
Tailwind
colors: {
  custom: {
    50: '#a0a792',
    500: '#798367',
    950: '#000000',
  },
}
SCSS
$custom: #798367;
$custom-light: #a0a792;
$custom-dark: #000000;
JSON
{
  "hex": "#798367",
  "rgb": {
    "r": 121,
    "g": 131,
    "b": 103
  },
  "hsl": {
    "h": 81.429,
    "s": 11.966,
    "l": 45.882
  },
  "oklch": {
    "l": 0.59376,
    "c": 0.0428,
    "h": 123.7
  },
  "luminance": 0.21277
}

Semantic roles & 50–950 ramp

primary
#798367
secondary
#A19BAB
accent
#73B58A
background
#F9FAF9
surface
#F2F4F1
border
#CCCECB
text
#0E0F0D
muted
#7E7F7E

Preview Lab

Preview with #798367

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

Preview Lab → · Contrast checker → · Palette generator →

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