#79942A#79942A

#79942A is a light, vivid yellow-green. Relative luminance 0.254; OKLCH L 62.5% C 0.134 H 122.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#79942A
RGBrgb(121, 148, 42)
HSLhsl(75, 56%, 37%)
HSVhsv(75, 72%, 58%)
CMYKcmyk(18.2%, 0%, 71.6%, 42%)
CIE-LABlab(57.47, -24.90, 50.15)
CIE-LCHlch(57.47, 55.99, 116.40°)
OKLaboklab(62.49% -0.0725 0.1125)
OKLCHoklch(62.49% 0.134 122.8)
XYZxyz(18.8932, 25.4118, 6.0997)
Luminance0.2541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79942A #452A94
analogous
#947A2A #79942A #44942A
triadic
#79942A #2A7994 #942A79
tetradic
#79942A #2A947A #452A94 #942A44
square
#79942A #2A947A #452A94 #942A44
split-complementary
#79942A #2A4494 #7A2A94
monochromatic
#2B350F #52641C #79942A #A0C438 #B7D365

Accessibility & contrast

On white

3.45
#79942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#79942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79942A
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79942A#FFFFFF#000000##000000
##79942A1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B18
Deuteranopia (green-blind)
#998A33
Tritanopia (blue-blind)
#7F8C7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #79942a;
/* rgb */ color: rgb(121, 148, 42);
/* oklch */ color: oklch(62.5% 0.134 122.8);
Tailwind
colors: {
  custom: {
    50: '#a3b36b',
    500: '#79942a',
    950: '#000000',
  },
}
SCSS
$custom: #79942a;
$custom-light: #a3b36b;
$custom-dark: #000000;
JSON
{
  "hex": "#79942a",
  "rgb": {
    "r": 121,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 75.283,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.62491,
    "c": 0.1338,
    "h": 122.8
  },
  "luminance": 0.25412
}

Semantic roles & 50–950 ramp

primary
#79942A
secondary
#7760B9
accent
#49DF6F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #79942A

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

Preview Lab → · Contrast checker → · Palette generator →

#79942A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva