#799C1F#799C1F

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

Color values

HEX#799C1F
RGBrgb(121, 156, 31)
HSLhsl(77, 67%, 37%)
HSVhsv(77, 80%, 61%)
CMYKcmyk(22.4%, 0%, 80.1%, 38.8%)
CIE-LABlab(59.84, -29.38, 56.22)
CIE-LCHlch(59.84, 63.43, 117.59°)
OKLaboklab(64.38% -0.0857 0.1234)
OKLCHoklch(64.38% 0.15 124.8)
XYZxyz(20.0211, 27.9406, 5.6343)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C1F #421F9C
analogous
#9C811F #799C1F #3B9C1F
triadic
#799C1F #1F799C #9C1F79
tetradic
#799C1F #1F9C81 #421F9C #9C1F3B
square
#799C1F #1F9C81 #421F9C #9C1F3B
split-complementary
#799C1F #1F3B9C #811F9C
monochromatic
#2A360B #516915 #799C1F #A1CF29 #B8DE58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##799C1F#FFFFFF#000000##000000
##799C1F1.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)
#A0902C
Tritanopia (blue-blind)
#7F9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c1f;
/* rgb */ color: rgb(121, 156, 31);
/* oklch */ color: oklch(64.4% 0.150 124.8);
Tailwind
colors: {
  custom: {
    50: '#a3b966',
    500: '#799c1f',
    950: '#000000',
  },
}
SCSS
$custom: #799c1f;
$custom-light: #a3b966;
$custom-dark: #000000;
JSON
{
  "hex": "#799c1f",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 31
  },
  "hsl": {
    "h": 76.8,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6438,
    "c": 0.15022,
    "h": 124.8
  },
  "luminance": 0.27941
}

Semantic roles & 50–950 ramp

primary
#799C1F
secondary
#7455C1
accent
#3EEA6E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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