#799B4F#799B4F

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

Color values

HEX#799B4F
RGBrgb(121, 155, 79)
HSLhsl(87, 32%, 46%)
HSVhsv(87, 49%, 61%)
CMYKcmyk(21.9%, 0%, 49%, 39.2%)
CIE-LABlab(59.95, -25.03, 35.85)
CIE-LCHlch(59.95, 43.73, 124.92°)
OKLaboklab(64.61% -0.0695 0.0861)
OKLCHoklch(64.61% 0.111 128.9)
XYZxyz(21.0176, 28.0718, 11.7067)
Luminance0.2807 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B4F #714F9B
analogous
#9B974F #799B4F #539B4F
triadic
#799B4F #4F799B #9B4F79
tetradic
#799B4F #4F9B97 #714F9B #9B4F53
square
#799B4F #4F9B97 #714F9B #9B4F53
split-complementary
#799B4F #4F539B #974F9B
monochromatic
#3A4A26 #59723A #799B4F #97B671 #B5CB99

Accessibility & contrast

On white

3.17
#799B4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##799B4F#FFFFFF#000000##000000
##799B4F1.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #799b4f;
/* rgb */ color: rgb(121, 155, 79);
/* oklch */ color: oklch(64.6% 0.111 128.9);
Tailwind
colors: {
  custom: {
    50: '#a1b882',
    500: '#799b4f',
    950: '#000000',
  },
}
SCSS
$custom: #799b4f;
$custom-light: #a1b882;
$custom-dark: #000000;
JSON
{
  "hex": "#799b4f",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 79
  },
  "hsl": {
    "h": 86.842,
    "s": 32.479,
    "l": 45.882
  },
  "oklch": {
    "l": 0.64611,
    "c": 0.11064,
    "h": 128.9
  },
  "luminance": 0.28072
}

Semantic roles & 50–950 ramp

primary
#799B4F
secondary
#A18EB8
accent
#5FC98E
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #799B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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