#799C4E#799C4E

#799C4E is a light, moderate yellow-green. Relative luminance 0.284; OKLCH L 64.8% C 0.113 H 129.0°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#799C4E
RGBrgb(121, 156, 78)
HSLhsl(87, 33%, 46%)
HSVhsv(87, 50%, 61%)
CMYKcmyk(22.4%, 0%, 50%, 38.8%)
CIE-LABlab(60.24, -25.64, 36.71)
CIE-LCHlch(60.24, 44.78, 124.93°)
OKLaboklab(64.84% -0.0713 0.0879)
OKLCHoklch(64.84% 0.113 129)
XYZxyz(21.1486, 28.3916, 11.5722)
Luminance0.2839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C4E #714E9C
analogous
#9C984E #799C4E #529C4E
triadic
#799C4E #4E799C #9C4E79
tetradic
#799C4E #4E9C98 #714E9C #9C4E52
square
#799C4E #4E9C98 #714E9C #9C4E52
split-complementary
#799C4E #4E529C #984E9C
monochromatic
#3A4A25 #59733A #799C4E #97B770 #B5CC99

Accessibility & contrast

On white

3.14
#799C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#799C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C4E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C4E#FFFFFF#000000##000000
##799C4E1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29347
Deuteranopia (green-blind)
#9D9053
Tritanopia (blue-blind)
#7C968A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799c4e;
/* rgb */ color: rgb(121, 156, 78);
/* oklch */ color: oklch(64.8% 0.113 129.0);
Tailwind
colors: {
  custom: {
    50: '#a1b981',
    500: '#799c4e',
    950: '#000000',
  },
}
SCSS
$custom: #799c4e;
$custom-light: #a1b981;
$custom-dark: #000000;
JSON
{
  "hex": "#799c4e",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 78
  },
  "hsl": {
    "h": 86.923,
    "s": 33.333,
    "l": 45.882
  },
  "oklch": {
    "l": 0.64838,
    "c": 0.11318,
    "h": 129
  },
  "luminance": 0.28392
}

Semantic roles & 50–950 ramp

primary
#799C4E
secondary
#A18DB8
accent
#5EC98E
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #799C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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