#799E4C#799E4C

#799E4C is a light, moderate yellow-green. Relative luminance 0.290; OKLCH L 65.3% C 0.118 H 129.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#799E4C
RGBrgb(121, 158, 76)
HSLhsl(87, 35%, 46%)
HSVhsv(87, 52%, 62%)
CMYKcmyk(23.4%, 0%, 51.9%, 38%)
CIE-LABlab(60.82, -26.85, 38.42)
CIE-LCHlch(60.82, 46.87, 124.95°)
OKLaboklab(65.3% -0.0748 0.0915)
OKLCHoklch(65.3% 0.118 129.3)
XYZxyz(21.4163, 29.0400, 11.3130)
Luminance0.2904 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E4C #714C9E
analogous
#9E9A4C #799E4C #509E4C
triadic
#799E4C #4C799E #9E4C79
tetradic
#799E4C #4C9E9A #714C9E #9E4C50
square
#799E4C #4C9E9A #714C9E #9E4C50
split-complementary
#799E4C #4C509E #9A4C9E
monochromatic
#3A4B24 #597538 #799E4C #97B96E #B5CD97

Accessibility & contrast

On white

3.08
#799E4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#799E4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799E4C
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799E4C#FFFFFF#000000##000000
##799E4C1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59445
Deuteranopia (green-blind)
#9F9251
Tritanopia (blue-blind)
#7C988B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #799e4c;
/* rgb */ color: rgb(121, 158, 76);
/* oklch */ color: oklch(65.3% 0.118 129.3);
Tailwind
colors: {
  custom: {
    50: '#a2ba80',
    500: '#799e4c',
    950: '#000000',
  },
}
SCSS
$custom: #799e4c;
$custom-light: #a2ba80;
$custom-dark: #000000;
JSON
{
  "hex": "#799e4c",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 76
  },
  "hsl": {
    "h": 87.073,
    "s": 35.043,
    "l": 45.882
  },
  "oklch": {
    "l": 0.65295,
    "c": 0.11821,
    "h": 129.3
  },
  "luminance": 0.2904
}

Semantic roles & 50–950 ramp

primary
#799E4C
secondary
#A18CB9
accent
#5DCB8F
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #799E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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