#799D1F#799D1F

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

Color values

HEX#799D1F
RGBrgb(121, 157, 31)
HSLhsl(77, 67%, 37%)
HSVhsv(77, 80%, 62%)
CMYKcmyk(22.9%, 0%, 80.3%, 38.4%)
CIE-LABlab(60.14, -29.85, 56.50)
CIE-LCHlch(60.14, 63.90, 117.85°)
OKLaboklab(64.63% -0.087 0.124)
OKLCHoklch(64.63% 0.151 125.1)
XYZxyz(20.1896, 28.2776, 5.6905)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799D1F #431F9D
analogous
#9D821F #799D1F #3A9D1F
triadic
#799D1F #1F799D #9D1F79
tetradic
#799D1F #1F9D82 #431F9D #9D1F3A
square
#799D1F #1F9D82 #431F9D #9D1F3A
split-complementary
#799D1F #1F3A9D #821F9D
monochromatic
#2A370B #526A15 #799D1F #A0D029 #B8DE58

Accessibility & contrast

On white

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

On black

6.66
#799D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799D1F
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799D1F#FFFFFF#000000##000000
##799D1F1.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.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: #799d1f;
/* rgb */ color: rgb(121, 157, 31);
/* oklch */ color: oklch(64.6% 0.151 125.1);
Tailwind
colors: {
  custom: {
    50: '#a4ba66',
    500: '#799d1f',
    950: '#000000',
  },
}
SCSS
$custom: #799d1f;
$custom-light: #a4ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#799d1f",
  "rgb": {
    "r": 121,
    "g": 157,
    "b": 31
  },
  "hsl": {
    "h": 77.143,
    "s": 67.021,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64626,
    "c": 0.15143,
    "h": 125.1
  },
  "luminance": 0.28278
}

Semantic roles & 50–950 ramp

primary
#799D1F
secondary
#7556C2
accent
#3EEA6F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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