#799B2A#799B2A

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

Color values

HEX#799B2A
RGBrgb(121, 155, 42)
HSLhsl(78, 57%, 39%)
HSVhsv(78, 73%, 61%)
CMYKcmyk(21.9%, 0%, 72.9%, 39.2%)
CIE-LABlab(59.59, -28.32, 52.26)
CIE-LCHlch(59.59, 59.44, 118.45°)
OKLaboklab(64.2% -0.0819 0.1169)
OKLCHoklch(64.2% 0.143 125)
XYZxyz(20.0246, 27.6746, 6.4768)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799B2A #4C2A9B
analogous
#9B842A #799B2A #409B2A
triadic
#799B2A #2A799B #9B2A79
tetradic
#799B2A #2A9B84 #4C2A9B #9B2A40
square
#799B2A #2A9B84 #4C2A9B #9B2A40
split-complementary
#799B2A #2A409B #842A9B
monochromatic
#2E3B10 #536B1D #799B2A #9EC939 #B5D669

Accessibility & contrast

On white

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

On black

6.53
#799B2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799B2A
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799B2A#FFFFFF#000000##000000
##799B2A1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49116
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#7F9385
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #799b2a;
/* rgb */ color: rgb(121, 155, 42);
/* oklch */ color: oklch(64.2% 0.143 125.0);
Tailwind
colors: {
  custom: {
    50: '#a3b86b',
    500: '#799b2a',
    950: '#000000',
  },
}
SCSS
$custom: #799b2a;
$custom-light: #a3b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#799b2a",
  "rgb": {
    "r": 121,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 78.053,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64204,
    "c": 0.14273,
    "h": 125
  },
  "luminance": 0.27675
}

Semantic roles & 50–950 ramp

primary
#799B2A
secondary
#7F64BD
accent
#47E175
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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