#799A3C#799A3C

#799A3C is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.1% C 0.128 H 126.1°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#799A3C
RGBrgb(121, 154, 60)
HSLhsl(81, 44%, 42%)
HSVhsv(81, 61%, 60%)
CMYKcmyk(21.4%, 0%, 61%, 39.6%)
CIE-LABlab(59.44, -26.50, 44.53)
CIE-LCHlch(59.44, 51.82, 120.75°)
OKLaboklab(64.12% -0.0752 0.1032)
OKLCHoklch(64.12% 0.128 126.1)
XYZxyz(20.2564, 27.5021, 8.5153)
Luminance0.2750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799A3C #5D3C9A
analogous
#9A8C3C #799A3C #4A9A3C
triadic
#799A3C #3C799A #9A3C79
tetradic
#799A3C #3C9A8C #5D3C9A #9A3C4A
square
#799A3C #3C9A8C #5D3C9A #9A3C4A
split-complementary
#799A3C #3C4A9A #8C3C9A
monochromatic
#34421A #566E2B #799A3C #99BD56 #B4CE82

Accessibility & contrast

On white

3.23
#799A3C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#799A3C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799A3C
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799A3C#FFFFFF#000000##000000
##799A3C1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29031
Deuteranopia (green-blind)
#9D8F43
Tritanopia (blue-blind)
#7E9386
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799a3c;
/* rgb */ color: rgb(121, 154, 60);
/* oklch */ color: oklch(64.1% 0.128 126.1);
Tailwind
colors: {
  custom: {
    50: '#a2b876',
    500: '#799a3c',
    950: '#000000',
  },
}
SCSS
$custom: #799a3c;
$custom-light: #a2b876;
$custom-dark: #000000;
JSON
{
  "hex": "#799a3c",
  "rgb": {
    "r": 121,
    "g": 154,
    "b": 60
  },
  "hsl": {
    "h": 81.064,
    "s": 43.925,
    "l": 41.961
  },
  "oklch": {
    "l": 0.64123,
    "c": 0.12766,
    "h": 126.1
  },
  "luminance": 0.27502
}

Semantic roles & 50–950 ramp

primary
#799A3C
secondary
#907AB8
accent
#54D481
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1109
muted
#7F807B

Preview Lab

Preview with #799A3C

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

Preview Lab → · Contrast checker → · Palette generator →

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