#799B3A#799B3A

#799B3A is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 64.3% C 0.131 H 126.2°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#799B3A
RGBrgb(121, 155, 58)
HSLhsl(81, 46%, 42%)
HSVhsv(81, 63%, 61%)
CMYKcmyk(21.9%, 0%, 62.6%, 39.2%)
CIE-LABlab(59.72, -27.16, 45.76)
CIE-LCHlch(59.72, 53.21, 120.69°)
OKLaboklab(64.35% -0.0772 0.1055)
OKLCHoklch(64.35% 0.131 126.2)
XYZxyz(20.3703, 27.8128, 8.2974)
Luminance0.2781 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B3A #5C3A9B
analogous
#9B8D3A #799B3A #499B3A
triadic
#799B3A #3A799B #9B3A79
tetradic
#799B3A #3A9B8D #5C3A9B #9B3A49
square
#799B3A #3A9B8D #5C3A9B #9B3A49
split-complementary
#799B3A #3A499B #8D3A9B
monochromatic
#334219 #566E29 #799B3A #99BF53 #B4CF80

Accessibility & contrast

On white

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

On black

6.56
#799B3A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B3A
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B3A#FFFFFF#000000##000000
##799B3A1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3912F
Deuteranopia (green-blind)
#9E8F41
Tritanopia (blue-blind)
#7E9487
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b3a;
/* rgb */ color: rgb(121, 155, 58);
/* oklch */ color: oklch(64.3% 0.131 126.2);
Tailwind
colors: {
  custom: {
    50: '#a2b874',
    500: '#799b3a',
    950: '#000000',
  },
}
SCSS
$custom: #799b3a;
$custom-light: #a2b874;
$custom-dark: #000000;
JSON
{
  "hex": "#799b3a",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 58
  },
  "hsl": {
    "h": 81.031,
    "s": 45.54,
    "l": 41.765
  },
  "oklch": {
    "l": 0.64346,
    "c": 0.13076,
    "h": 126.2
  },
  "luminance": 0.27813
}

Semantic roles & 50–950 ramp

primary
#799B3A
secondary
#8F78B9
accent
#53D580
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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