#799D1E#799D1E

#799D1E is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.6% C 0.152 H 125.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#799D1E
RGBrgb(121, 157, 30)
HSLhsl(77, 68%, 37%)
HSVhsv(77, 81%, 62%)
CMYKcmyk(22.9%, 0%, 80.9%, 38.4%)
CIE-LABlab(60.13, -29.90, 56.79)
CIE-LCHlch(60.13, 64.18, 117.76°)
OKLaboklab(64.62% -0.0872 0.1244)
OKLCHoklch(64.62% 0.152 125)
XYZxyz(20.1767, 28.2724, 5.6222)
Luminance0.2827 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D1E #421E9D
analogous
#9D821E #799D1E #3A9D1E
triadic
#799D1E #1E799D #9D1E79
tetradic
#799D1E #1E9D82 #421E9D #9D1E3A
square
#799D1E #1E9D82 #421E9D #9D1E3A
split-complementary
#799D1E #1E3A9D #821E9D
monochromatic
#2A360A #516A14 #799D1E #A1D028 #B8DF57

Accessibility & contrast

On white

3.16
#799D1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#799D1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D1E
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D1E#FFFFFF#000000##000000
##799D1E1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A1902C
Tritanopia (blue-blind)
#7F9586
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #799d1e;
/* rgb */ color: rgb(121, 157, 30);
/* oklch */ color: oklch(64.6% 0.152 125.0);
Tailwind
colors: {
  custom: {
    50: '#a4ba66',
    500: '#799d1e',
    950: '#000000',
  },
}
SCSS
$custom: #799d1e;
$custom-light: #a4ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#799d1e",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 77.008,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6462,
    "c": 0.15192,
    "h": 125
  },
  "luminance": 0.28273
}

Semantic roles & 50–950 ramp

primary
#799D1E
secondary
#7454C2
accent
#3DEB6E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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