#799A4B#799A4B

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

Color values

HEX#799A4B
RGBrgb(121, 154, 75)
HSLhsl(85, 34%, 45%)
HSVhsv(85, 51%, 60%)
CMYKcmyk(21.4%, 0%, 51.3%, 39.6%)
CIE-LABlab(59.60, -24.99, 37.46)
CIE-LCHlch(59.60, 45.03, 123.71°)
OKLaboklab(64.31% -0.0697 0.0893)
OKLCHoklch(64.31% 0.113 128)
XYZxyz(20.7106, 27.6838, 10.9076)
Luminance0.2768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A4B #6C4B9A
analogous
#9A934B #799A4B #529A4B
triadic
#799A4B #4B799A #9A4B79
tetradic
#799A4B #4B9A93 #6C4B9A #9A4B52
square
#799A4B #4B9A93 #6C4B9A #9A4B52
split-complementary
#799A4B #4B529A #934B9A
monochromatic
#384823 #597137 #799A4B #97B76B #B4CB94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799A4B#FFFFFF#000000##000000
##799A4B1.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)
#A19144
Deuteranopia (green-blind)
#9C8F50
Tritanopia (blue-blind)
#7C9488
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799a4b;
/* rgb */ color: rgb(121, 154, 75);
/* oklch */ color: oklch(64.3% 0.113 128.0);
Tailwind
colors: {
  custom: {
    50: '#a1b87f',
    500: '#799a4b',
    950: '#000000',
  },
}
SCSS
$custom: #799a4b;
$custom-light: #a1b87f;
$custom-dark: #000000;
JSON
{
  "hex": "#799a4b",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 75
  },
  "hsl": {
    "h": 85.063,
    "s": 34.498,
    "l": 44.902
  },
  "oklch": {
    "l": 0.6431,
    "c": 0.11332,
    "h": 128
  },
  "luminance": 0.27684
}

Semantic roles & 50–950 ramp

primary
#799A4B
secondary
#9D8AB7
accent
#5DCB8B
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #799A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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