#798A4E#798A4E

#798A4E is a mid, moderate yellow-green. Relative luminance 0.228; OKLCH L 60.5% C 0.086 H 121.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#798A4E
RGBrgb(121, 138, 78)
HSLhsl(77, 28%, 42%)
HSVhsv(77, 43%, 54%)
CMYKcmyk(12.3%, 0%, 43.5%, 45.9%)
CIE-LABlab(54.86, -16.45, 30.05)
CIE-LCHlch(54.86, 34.26, 118.69°)
OKLaboklab(60.51% -0.0455 0.073)
OKLCHoklch(60.51% 0.086 121.9)
XYZxyz(18.3488, 22.7920, 10.6389)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#798A4E #5F4E8A
analogous
#8A7D4E #798A4E #5B8A4E
triadic
#798A4E #4E798A #8A4E79
tetradic
#798A4E #4E8A7D #5F4E8A #8A4E5B
square
#798A4E #4E8A7D #5F4E8A #8A4E5B
split-complementary
#798A4E #4E5B8A #7D4E8A
monochromatic
#343C22 #576338 #798A4E #99AB6A #B4C191

Accessibility & contrast

On white

3.78
#798A4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#798A4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #798A4E
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##798A4E#FFFFFF#000000##000000
##798A4E1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918449
Deuteranopia (green-blind)
#8E8351
Tritanopia (blue-blind)
#7E857B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #798a4e;
/* rgb */ color: rgb(121, 138, 78);
/* oklch */ color: oklch(60.5% 0.086 121.9);
Tailwind
colors: {
  custom: {
    50: '#a1ac80',
    500: '#798a4e',
    950: '#000000',
  },
}
SCSS
$custom: #798a4e;
$custom-light: #a1ac80;
$custom-dark: #000000;
JSON
{
  "hex": "#798a4e",
  "rgb": {
    "r": 121,
    "g": 138,
    "b": 78
  },
  "hsl": {
    "h": 77,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.60509,
    "c": 0.08605,
    "h": 121.9
  },
  "luminance": 0.22792
}

Semantic roles & 50–950 ramp

primary
#798A4E
secondary
#9186AE
accent
#64C47F
background
#FAFAF7
surface
#F3F4EE
border
#CDCEC9
text
#0F100A
muted
#7F7F7C

Preview Lab

Preview with #798A4E

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

Preview Lab → · Contrast checker → · Palette generator →

#798A4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva