#799C1E#799C1E

#799C1E is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 64.4% C 0.151 H 124.7°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#799C1E
RGBrgb(121, 156, 30)
HSLhsl(77, 68%, 36%)
HSVhsv(77, 81%, 61%)
CMYKcmyk(22.4%, 0%, 80.8%, 38.8%)
CIE-LABlab(59.83, -29.42, 56.52)
CIE-LCHlch(59.83, 63.71, 117.50°)
OKLaboklab(64.37% -0.0859 0.1238)
OKLCHoklch(64.37% 0.151 124.7)
XYZxyz(20.0082, 27.9354, 5.5660)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C1E #411E9C
analogous
#9C801E #799C1E #3A9C1E
triadic
#799C1E #1E799C #9C1E79
tetradic
#799C1E #1E9C80 #411E9C #9C1E3A
square
#799C1E #1E9C80 #411E9C #9C1E3A
split-complementary
#799C1E #1E3A9C #801E9C
monochromatic
#29350A #516914 #799C1E #A1CF28 #B9DE56

Accessibility & contrast

On white

3.19
#799C1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#799C1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C1E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C1E#FFFFFF#000000##000000
##799C1E1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A0902B
Tritanopia (blue-blind)
#7F9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c1e;
/* rgb */ color: rgb(121, 156, 30);
/* oklch */ color: oklch(64.4% 0.151 124.7);
Tailwind
colors: {
  custom: {
    50: '#a4b966',
    500: '#799c1e',
    950: '#000000',
  },
}
SCSS
$custom: #799c1e;
$custom-light: #a4b966;
$custom-dark: #000000;
JSON
{
  "hex": "#799c1e",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 30
  },
  "hsl": {
    "h": 76.667,
    "s": 67.742,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64374,
    "c": 0.1507,
    "h": 124.7
  },
  "luminance": 0.27936
}

Semantic roles & 50–950 ramp

primary
#799C1E
secondary
#7254C2
accent
#3DEB6D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799C1E

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

Preview Lab → · Contrast checker → · Palette generator →

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