#799E1F#799E1F

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

Color values

HEX#799E1F
RGBrgb(121, 158, 31)
HSLhsl(77, 67%, 37%)
HSVhsv(77, 80%, 62%)
CMYKcmyk(23.4%, 0%, 80.4%, 38%)
CIE-LABlab(60.44, -30.33, 56.77)
CIE-LCHlch(60.44, 64.37, 118.11°)
OKLaboklab(64.87% -0.0883 0.1246)
OKLCHoklch(64.87% 0.153 125.3)
XYZxyz(20.3595, 28.6173, 5.7471)
Luminance0.2862 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799E1F #441F9E
analogous
#9E841F #799E1F #3A9E1F
triadic
#799E1F #1F799E #9E1F79
tetradic
#799E1F #1F9E84 #441F9E #9E1F3A
square
#799E1F #1F9E84 #441F9E #9E1F3A
split-complementary
#799E1F #1F3A9E #841F9E
monochromatic
#2B380B #526B15 #799E1F #A0D129 #B8DE59

Accessibility & contrast

On white

3.12
#799E1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##799E1F#FFFFFF#000000##000000
##799E1F1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #799e1f;
/* rgb */ color: rgb(121, 158, 31);
/* oklch */ color: oklch(64.9% 0.153 125.3);
Tailwind
colors: {
  custom: {
    50: '#a4ba67',
    500: '#799e1f',
    950: '#000000',
  },
}
SCSS
$custom: #799e1f;
$custom-light: #a4ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#799e1f",
  "rgb": {
    "r": 121,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 77.48,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64872,
    "c": 0.15266,
    "h": 125.3
  },
  "luminance": 0.28618
}

Semantic roles & 50–950 ramp

primary
#799E1F
secondary
#7656C2
accent
#3EEA70
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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