#799E1A#799E1A

#799E1A is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.8% C 0.155 H 125.1°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#799E1A
RGBrgb(121, 158, 26)
HSLhsl(77, 72%, 36%)
HSVhsv(77, 84%, 62%)
CMYKcmyk(23.4%, 0%, 83.5%, 38%)
CIE-LABlab(60.42, -30.53, 58.16)
CIE-LCHlch(60.42, 65.69, 117.70°)
OKLaboklab(64.85% -0.0891 0.1267)
OKLCHoklch(64.85% 0.155 125.1)
XYZxyz(20.2987, 28.5930, 5.4267)
Luminance0.2859 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E1A #3F1A9E
analogous
#9E811A #799E1A #379E1A
triadic
#799E1A #1A799E #9E1A79
tetradic
#799E1A #1A9E81 #3F1A9E #9E1A37
square
#799E1A #1A9E81 #3F1A9E #9E1A37
split-complementary
#799E1A #1A379E #811A9E
monochromatic
#293509 #516911 #799E1A #A1D323 #B9E250

Accessibility & contrast

On white

3.13
#799E1A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#799E1A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799E1A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799E1A#FFFFFF#000000##000000
##799E1A1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A29129
Tritanopia (blue-blind)
#7F9687
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #799e1a;
/* rgb */ color: rgb(121, 158, 26);
/* oklch */ color: oklch(64.8% 0.155 125.1);
Tailwind
colors: {
  custom: {
    50: '#a4ba65',
    500: '#799e1a',
    950: '#000000',
  },
}
SCSS
$custom: #799e1a;
$custom-light: #a4ba65;
$custom-dark: #000000;
JSON
{
  "hex": "#799e1a",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 26
  },
  "hsl": {
    "h": 76.818,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64847,
    "c": 0.1549,
    "h": 125.1
  },
  "luminance": 0.28593
}

Semantic roles & 50–950 ramp

primary
#799E1A
secondary
#704FC5
accent
#39EE6C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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