#799B1F#799B1F

#799B1F is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 64.1% C 0.149 H 124.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#799B1F
RGBrgb(121, 155, 31)
HSLhsl(76, 67%, 36%)
HSVhsv(76, 80%, 61%)
CMYKcmyk(21.9%, 0%, 80%, 39.2%)
CIE-LABlab(59.53, -28.90, 55.94)
CIE-LCHlch(59.53, 62.97, 117.32°)
OKLaboklab(64.13% -0.0844 0.1228)
OKLCHoklch(64.13% 0.149 124.5)
XYZxyz(19.8540, 27.6064, 5.5786)
Luminance0.2761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B1F #411F9B
analogous
#9B7F1F #799B1F #3B9B1F
triadic
#799B1F #1F799B #9B1F79
tetradic
#799B1F #1F9B7F #411F9B #9B1F3B
square
#799B1F #1F9B7F #411F9B #9B1F3B
split-complementary
#799B1F #1F3B9B #7F1F9B
monochromatic
#29350B #516815 #799B1F #A1CE29 #B9DD57

Accessibility & contrast

On white

3.22
#799B1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#799B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B1F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B1F#FFFFFF#000000##000000
##799B1F1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A08F2C
Tritanopia (blue-blind)
#7F9384
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799b1f;
/* rgb */ color: rgb(121, 155, 31);
/* oklch */ color: oklch(64.1% 0.149 124.5);
Tailwind
colors: {
  custom: {
    50: '#a3b866',
    500: '#799b1f',
    950: '#000000',
  },
}
SCSS
$custom: #799b1f;
$custom-light: #a3b866;
$custom-dark: #000000;
JSON
{
  "hex": "#799b1f",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 31
  },
  "hsl": {
    "h": 76.452,
    "s": 66.667,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64134,
    "c": 0.14899,
    "h": 124.5
  },
  "luminance": 0.27607
}

Semantic roles & 50–950 ramp

primary
#799B1F
secondary
#7255C1
accent
#3EEA6D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #799B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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