#799C2F#799C2F

#799C2F is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.5% C 0.141 H 125.6°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#799C2F
RGBrgb(121, 156, 47)
HSLhsl(79, 54%, 40%)
HSVhsv(79, 70%, 61%)
CMYKcmyk(22.4%, 0%, 69.9%, 38.8%)
CIE-LABlab(59.93, -28.48, 50.67)
CIE-LCHlch(59.93, 58.12, 119.34°)
OKLaboklab(64.49% -0.0819 0.1143)
OKLCHoklch(64.49% 0.141 125.6)
XYZxyz(20.2868, 28.0469, 7.0336)
Luminance0.2805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C2F #522F9C
analogous
#9C892F #799C2F #429C2F
triadic
#799C2F #2F799C #9C2F79
tetradic
#799C2F #2F9C89 #522F9C #9C2F42
square
#799C2F #2F9C89 #522F9C #9C2F42
split-complementary
#799C2F #2F429C #892F9C
monochromatic
#303E13 #556D21 #799C2F #9CC642 #B4D471

Accessibility & contrast

On white

3.18
#799C2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#799C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C2F
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C2F#FFFFFF#000000##000000
##799C2F1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4921E
Deuteranopia (green-blind)
#A09038
Tritanopia (blue-blind)
#7E9586
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c2f;
/* rgb */ color: rgb(121, 156, 47);
/* oklch */ color: oklch(64.5% 0.141 125.6);
Tailwind
colors: {
  custom: {
    50: '#a3b96e',
    500: '#799c2f',
    950: '#000000',
  },
}
SCSS
$custom: #799c2f;
$custom-light: #a3b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#799c2f",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 79.266,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64488,
    "c": 0.14064,
    "h": 125.6
  },
  "luminance": 0.28047
}

Semantic roles & 50–950 ramp

primary
#799C2F
secondary
#856BBC
accent
#4BDD7A
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1108
muted
#7F807B

Preview Lab

Preview with #799C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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