#799A4C#799A4C

#799A4C is a light, moderate yellow-green. Relative luminance 0.277; OKLCH L 64.3% C 0.112 H 128.1°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#799A4C
RGBrgb(121, 154, 76)
HSLhsl(85, 34%, 45%)
HSVhsv(85, 51%, 60%)
CMYKcmyk(21.4%, 0%, 50.6%, 39.6%)
CIE-LABlab(59.61, -24.88, 36.97)
CIE-LCHlch(59.61, 44.56, 123.94°)
OKLaboklab(64.33% -0.0693 0.0883)
OKLCHoklch(64.33% 0.112 128.1)
XYZxyz(20.7451, 27.6976, 11.0893)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A4C #6D4C9A
analogous
#9A944C #799A4C #529A4C
triadic
#799A4C #4C799A #9A4C79
tetradic
#799A4C #4C9A94 #6D4C9A #9A4C52
square
#799A4C #4C9A94 #6D4C9A #9A4C52
split-complementary
#799A4C #4C529A #944C9A
monochromatic
#394824 #597138 #799A4C #97B76C #B4CB95

Accessibility & contrast

On white

3.21
#799A4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#799A4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A4C
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A4C#FFFFFF#000000##000000
##799A4C1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19145
Deuteranopia (green-blind)
#9C8F51
Tritanopia (blue-blind)
#7C9488
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799a4c;
/* rgb */ color: rgb(121, 154, 76);
/* oklch */ color: oklch(64.3% 0.112 128.1);
Tailwind
colors: {
  custom: {
    50: '#a1b880',
    500: '#799a4c',
    950: '#000000',
  },
}
SCSS
$custom: #799a4c;
$custom-light: #a1b880;
$custom-dark: #000000;
JSON
{
  "hex": "#799a4c",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 76
  },
  "hsl": {
    "h": 85.385,
    "s": 33.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64325,
    "c": 0.11228,
    "h": 128.1
  },
  "luminance": 0.27698
}

Semantic roles & 50–950 ramp

primary
#799A4C
secondary
#9D8BB7
accent
#5ECA8C
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #799A4C

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

Preview Lab → · Contrast checker → · Palette generator →

#799A4C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva