#799F4C#799F4C

#799F4C is a light, moderate yellow-green. Relative luminance 0.294; OKLCH L 65.5% C 0.120 H 129.5°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#799F4C
RGBrgb(121, 159, 76)
HSLhsl(87, 35%, 46%)
HSVhsv(87, 52%, 62%)
CMYKcmyk(23.9%, 0%, 52.2%, 37.6%)
CIE-LABlab(61.12, -27.34, 38.78)
CIE-LCHlch(61.12, 47.45, 125.18°)
OKLaboklab(65.54% -0.0762 0.0923)
OKLCHoklch(65.54% 0.12 129.5)
XYZxyz(21.5876, 29.3826, 11.3701)
Luminance0.2938 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799F4C #724C9F
analogous
#9F9B4C #799F4C #4F9F4C
triadic
#799F4C #4C799F #9F4C79
tetradic
#799F4C #4C9F9B #724C9F #9F4C4F
square
#799F4C #4C9F9B #724C9F #9F4C4F
split-complementary
#799F4C #4C4F9F #9B4C9F
monochromatic
#3A4C24 #597638 #799F4C #97BA6E #B5CE98

Accessibility & contrast

On white

3.05
#799F4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#799F4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799F4C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799F4C#FFFFFF#000000##000000
##799F4C1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69544
Deuteranopia (green-blind)
#A09351
Tritanopia (blue-blind)
#7C998C
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #799f4c;
/* rgb */ color: rgb(121, 159, 76);
/* oklch */ color: oklch(65.5% 0.120 129.5);
Tailwind
colors: {
  custom: {
    50: '#a2bb80',
    500: '#799f4c',
    950: '#000000',
  },
}
SCSS
$custom: #799f4c;
$custom-light: #a2bb80;
$custom-dark: #000000;
JSON
{
  "hex": "#799f4c",
  "rgb": {
    "r": 121,
    "g": 159,
    "b": 76
  },
  "hsl": {
    "h": 87.47,
    "s": 35.319,
    "l": 46.078
  },
  "oklch": {
    "l": 0.65538,
    "c": 0.11967,
    "h": 129.5
  },
  "luminance": 0.29383
}

Semantic roles & 50–950 ramp

primary
#799F4C
secondary
#A18DBA
accent
#5CCB8F
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F120A
muted
#7F817C

Preview Lab

Preview with #799F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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