#799B4C#799B4C

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

Color values

HEX#799B4C
RGBrgb(121, 155, 76)
HSLhsl(86, 34%, 45%)
HSVhsv(86, 51%, 61%)
CMYKcmyk(21.9%, 0%, 51%, 39.2%)
CIE-LABlab(59.91, -25.38, 37.33)
CIE-LCHlch(59.91, 45.14, 124.20°)
OKLaboklab(64.57% -0.0707 0.0891)
OKLCHoklch(64.57% 0.114 128.4)
XYZxyz(20.9109, 28.0291, 11.1445)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B4C #6E4C9B
analogous
#9B954C #799B4C #519B4C
triadic
#799B4C #4C799B #9B4C79
tetradic
#799B4C #4C9B95 #6E4C9B #9B4C51
square
#799B4C #4C9B95 #6E4C9B #9B4C51
split-complementary
#799B4C #4C519B #954C9B
monochromatic
#394924 #597238 #799B4C #97B76D #B4CB96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799B4C#FFFFFF#000000##000000
##799B4C1.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)
#A29245
Deuteranopia (green-blind)
#9D9051
Tritanopia (blue-blind)
#7C9589
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b4c;
/* rgb */ color: rgb(121, 155, 76);
/* oklch */ color: oklch(64.6% 0.114 128.4);
Tailwind
colors: {
  custom: {
    50: '#a1b880',
    500: '#799b4c',
    950: '#000000',
  },
}
SCSS
$custom: #799b4c;
$custom-light: #a1b880;
$custom-dark: #000000;
JSON
{
  "hex": "#799b4c",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 76
  },
  "hsl": {
    "h": 85.823,
    "s": 34.199,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64567,
    "c": 0.11377,
    "h": 128.4
  },
  "luminance": 0.28029
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #799B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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