#799B2F#799B2F

#799B2F is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 64.2% C 0.139 H 125.3°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#799B2F
RGBrgb(121, 155, 47)
HSLhsl(79, 53%, 40%)
HSVhsv(79, 70%, 61%)
CMYKcmyk(21.9%, 0%, 69.7%, 39.2%)
CIE-LABlab(59.63, -28.00, 50.36)
CIE-LCHlch(59.63, 57.62, 119.07°)
OKLaboklab(64.24% -0.0806 0.1137)
OKLCHoklch(64.24% 0.139 125.3)
XYZxyz(20.1197, 27.7126, 6.9779)
Luminance0.2771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B2F #512F9B
analogous
#9B872F #799B2F #439B2F
triadic
#799B2F #2F799B #9B2F79
tetradic
#799B2F #2F9B87 #512F9B #9B2F43
square
#799B2F #2F9B87 #512F9B #9B2F43
split-complementary
#799B2F #2F439B #872F9B
monochromatic
#303D13 #546C21 #799B2F #9CC642 #B5D471

Accessibility & contrast

On white

3.21
#799B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#799B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B2F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B2F#FFFFFF#000000##000000
##799B2F1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3911F
Deuteranopia (green-blind)
#9F8F38
Tritanopia (blue-blind)
#7E9485
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799b2f;
/* rgb */ color: rgb(121, 155, 47);
/* oklch */ color: oklch(64.2% 0.139 125.3);
Tailwind
colors: {
  custom: {
    50: '#a3b86e',
    500: '#799b2f',
    950: '#000000',
  },
}
SCSS
$custom: #799b2f;
$custom-light: #a3b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#799b2f",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 78.889,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64243,
    "c": 0.13934,
    "h": 125.3
  },
  "luminance": 0.27713
}

Semantic roles & 50–950 ramp

primary
#799B2F
secondary
#846ABB
accent
#4BDD79
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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