#799A4F#799A4F

#799A4F is a light, moderate yellow-green. Relative luminance 0.277; OKLCH L 64.4% C 0.109 H 128.6°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#799A4F
RGBrgb(121, 154, 79)
HSLhsl(86, 32%, 46%)
HSVhsv(86, 49%, 60%)
CMYKcmyk(21.4%, 0%, 48.7%, 39.6%)
CIE-LABlab(59.65, -24.53, 35.48)
CIE-LCHlch(59.65, 43.14, 124.66°)
OKLaboklab(64.37% -0.0681 0.0853)
OKLCHoklch(64.37% 0.109 128.6)
XYZxyz(20.8519, 27.7403, 11.6515)
Luminance0.2774 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A4F #704F9A
analogous
#9A954F #799A4F #539A4F
triadic
#799A4F #4F799A #9A4F79
tetradic
#799A4F #4F9A95 #704F9A #9A4F53
square
#799A4F #4F9A95 #704F9A #9A4F53
split-complementary
#799A4F #4F539A #954F9A
monochromatic
#394925 #59723A #799A4F #97B670 #B5CB99

Accessibility & contrast

On white

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

On black

6.55
#799A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A4F
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A4F#FFFFFF#000000##000000
##799A4F1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09149
Deuteranopia (green-blind)
#9C8F53
Tritanopia (blue-blind)
#7C9488
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799a4f;
/* rgb */ color: rgb(121, 154, 79);
/* oklch */ color: oklch(64.4% 0.109 128.6);
Tailwind
colors: {
  custom: {
    50: '#a1b882',
    500: '#799a4f',
    950: '#000000',
  },
}
SCSS
$custom: #799a4f;
$custom-light: #a1b882;
$custom-dark: #000000;
JSON
{
  "hex": "#799a4f",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 79
  },
  "hsl": {
    "h": 86.4,
    "s": 32.189,
    "l": 45.686
  },
  "oklch": {
    "l": 0.64369,
    "c": 0.10913,
    "h": 128.6
  },
  "luminance": 0.27741
}

Semantic roles & 50–950 ramp

primary
#799A4F
secondary
#A08EB7
accent
#5FC88E
background
#FAFBF8
surface
#F3F6EF
border
#CDD0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #799A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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