#799D3C#799D3C

#799D3C is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.9% C 0.132 H 127.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#799D3C
RGBrgb(121, 157, 60)
HSLhsl(82, 45%, 43%)
HSVhsv(82, 62%, 62%)
CMYKcmyk(22.9%, 0%, 61.8%, 38.4%)
CIE-LABlab(60.34, -27.96, 45.54)
CIE-LCHlch(60.34, 53.44, 121.55°)
OKLaboklab(64.85% -0.0793 0.1053)
OKLCHoklch(64.85% 0.132 127)
XYZxyz(20.7577, 28.5048, 8.6825)
Luminance0.2851 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D3C #603C9D
analogous
#9D903C #799D3C #499D3C
triadic
#799D3C #3C799D #9D3C79
tetradic
#799D3C #3C9D90 #603C9D #9D3C49
square
#799D3C #3C9D90 #603C9D #9D3C49
split-complementary
#799D3C #3C499D #903C9D
monochromatic
#35441A #57712B #799D3C #98BF57 #B4D084

Accessibility & contrast

On white

3.13
#799D3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#799D3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D3C
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D3C#FFFFFF#000000##000000
##799D3C1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59331
Deuteranopia (green-blind)
#A09143
Tritanopia (blue-blind)
#7D9688
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d3c;
/* rgb */ color: rgb(121, 157, 60);
/* oklch */ color: oklch(64.9% 0.132 127.0);
Tailwind
colors: {
  custom: {
    50: '#a2ba76',
    500: '#799d3c',
    950: '#000000',
  },
}
SCSS
$custom: #799d3c;
$custom-light: #a2ba76;
$custom-dark: #000000;
JSON
{
  "hex": "#799d3c",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 60
  },
  "hsl": {
    "h": 82.268,
    "s": 44.7,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64855,
    "c": 0.13179,
    "h": 127
  },
  "luminance": 0.28505
}

Semantic roles & 50–950 ramp

primary
#799D3C
secondary
#927BBA
accent
#53D483
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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