#799B3C#799B3C

#799B3C is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 64.4% C 0.129 H 126.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#799B3C
RGBrgb(121, 155, 60)
HSLhsl(81, 44%, 42%)
HSVhsv(81, 61%, 61%)
CMYKcmyk(21.9%, 0%, 61.3%, 39.2%)
CIE-LABlab(59.74, -26.98, 44.87)
CIE-LCHlch(59.74, 52.36, 121.02°)
OKLaboklab(64.37% -0.0766 0.1039)
OKLCHoklch(64.37% 0.129 126.4)
XYZxyz(20.4221, 27.8336, 8.5706)
Luminance0.2783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B3C #5E3C9B
analogous
#9B8E3C #799B3C #499B3C
triadic
#799B3C #3C799B #9B3C79
tetradic
#799B3C #3C9B8E #5E3C9B #9B3C49
square
#799B3C #3C9B8E #5E3C9B #9B3C49
split-complementary
#799B3C #3C499B #8E3C9B
monochromatic
#34431A #576F2B #799B3C #99BE56 #B4CF83

Accessibility & contrast

On white

3.20
#799B3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#799B3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B3C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B3C#FFFFFF#000000##000000
##799B3C1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39131
Deuteranopia (green-blind)
#9E8F43
Tritanopia (blue-blind)
#7D9487
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b3c;
/* rgb */ color: rgb(121, 155, 60);
/* oklch */ color: oklch(64.4% 0.129 126.4);
Tailwind
colors: {
  custom: {
    50: '#a2b876',
    500: '#799b3c',
    950: '#000000',
  },
}
SCSS
$custom: #799b3c;
$custom-light: #a2b876;
$custom-dark: #000000;
JSON
{
  "hex": "#799b3c",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 60
  },
  "hsl": {
    "h": 81.474,
    "s": 44.186,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64367,
    "c": 0.12904,
    "h": 126.4
  },
  "luminance": 0.27834
}

Semantic roles & 50–950 ramp

primary
#799B3C
secondary
#907AB9
accent
#54D482
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799B3C

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

Preview Lab → · Contrast checker → · Palette generator →

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