#799B4D#799B4D

#799B4D is a light, moderate yellow-green. Relative luminance 0.280; OKLCH L 64.6% C 0.113 H 128.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#799B4D
RGBrgb(121, 155, 77)
HSLhsl(86, 34%, 45%)
HSVhsv(86, 50%, 61%)
CMYKcmyk(21.9%, 0%, 50.3%, 39.2%)
CIE-LABlab(59.93, -25.26, 36.84)
CIE-LCHlch(59.93, 44.67, 124.44°)
OKLaboklab(64.58% -0.0703 0.0881)
OKLCHoklch(64.58% 0.113 128.6)
XYZxyz(20.9459, 28.0431, 11.3291)
Luminance0.2804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B4D #6F4D9B
analogous
#9B964D #799B4D #529B4D
triadic
#799B4D #4D799B #9B4D79
tetradic
#799B4D #4D9B96 #6F4D9B #9B4D52
square
#799B4D #4D9B96 #6F4D9B #9B4D52
split-complementary
#799B4D #4D529B #964D9B
monochromatic
#394924 #597239 #799B4D #97B76E #B5CB97

Accessibility & contrast

On white

3.18
#799B4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#799B4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B4D
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B4D#FFFFFF#000000##000000
##799B4D1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29246
Deuteranopia (green-blind)
#9D9052
Tritanopia (blue-blind)
#7C9589
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b4d;
/* rgb */ color: rgb(121, 155, 77);
/* oklch */ color: oklch(64.6% 0.113 128.6);
Tailwind
colors: {
  custom: {
    50: '#a1b881',
    500: '#799b4d',
    950: '#000000',
  },
}
SCSS
$custom: #799b4d;
$custom-light: #a1b881;
$custom-dark: #000000;
JSON
{
  "hex": "#799b4d",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 77
  },
  "hsl": {
    "h": 86.154,
    "s": 33.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64581,
    "c": 0.11273,
    "h": 128.6
  },
  "luminance": 0.28043
}

Semantic roles & 50–950 ramp

primary
#799B4D
secondary
#9F8CB8
accent
#5ECA8D
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #799B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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