#799C2A#799C2A

#799C2A is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 64.4% C 0.144 H 125.3°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#799C2A
RGBrgb(121, 156, 42)
HSLhsl(78, 58%, 39%)
HSVhsv(78, 73%, 61%)
CMYKcmyk(22.4%, 0%, 73.1%, 38.8%)
CIE-LABlab(59.90, -28.80, 52.56)
CIE-LCHlch(59.90, 59.93, 118.72°)
OKLaboklab(64.45% -0.0832 0.1175)
OKLCHoklch(64.45% 0.144 125.3)
XYZxyz(20.1917, 28.0088, 6.5325)
Luminance0.2801 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#799C2A #4D2A9C
analogous
#9C862A #799C2A #409C2A
triadic
#799C2A #2A799C #9C2A79
tetradic
#799C2A #2A9C86 #4D2A9C #9C2A40
square
#799C2A #2A9C86 #4D2A9C #9C2A40
split-complementary
#799C2A #2A409C #862A9C
monochromatic
#2E3C10 #546C1D #799C2A #9DCA39 #B5D76A

Accessibility & contrast

On white

3.18
#799C2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#799C2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #799C2A
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##799C2A#FFFFFF#000000##000000
##799C2A1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59215
Deuteranopia (green-blind)
#A09034
Tritanopia (blue-blind)
#7E9486
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #799c2a;
/* rgb */ color: rgb(121, 156, 42);
/* oklch */ color: oklch(64.4% 0.144 125.3);
Tailwind
colors: {
  custom: {
    50: '#a3b96b',
    500: '#799c2a',
    950: '#000000',
  },
}
SCSS
$custom: #799c2a;
$custom-light: #a3b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#799c2a",
  "rgb": {
    "r": 121,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 78.421,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64449,
    "c": 0.144,
    "h": 125.3
  },
  "luminance": 0.28009
}

Semantic roles & 50–950 ramp

primary
#799C2A
secondary
#8065BD
accent
#47E176
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #799C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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