#79942F#79942F

#79942F is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.5% C 0.130 H 123.1°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#79942F
RGBrgb(121, 148, 47)
HSLhsl(76, 52%, 38%)
HSVhsv(76, 68%, 58%)
CMYKcmyk(18.2%, 0%, 68.2%, 42%)
CIE-LABlab(57.51, -24.57, 48.18)
CIE-LCHlch(57.51, 54.08, 117.02°)
OKLaboklab(62.53% -0.0711 0.1091)
OKLCHoklch(62.53% 0.13 123.1)
XYZxyz(18.9883, 25.4499, 6.6007)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79942F #4A2F94
analogous
#947C2F #79942F #46942F
triadic
#79942F #2F7994 #942F79
tetradic
#79942F #2F947C #4A2F94 #942F46
square
#79942F #2F947C #4A2F94 #942F46
split-complementary
#79942F #2F4694 #7C2F94
monochromatic
#2D3711 #536620 #79942F #9FC23E #B6D16D

Accessibility & contrast

On white

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

On black

6.09
#79942F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79942F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79942F#FFFFFF#000000##000000
##79942F1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B21
Deuteranopia (green-blind)
#998A37
Tritanopia (blue-blind)
#7F8D80
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #79942f;
/* rgb */ color: rgb(121, 148, 47);
/* oklch */ color: oklch(62.5% 0.130 123.1);
Tailwind
colors: {
  custom: {
    50: '#a2b36d',
    500: '#79942f',
    950: '#000000',
  },
}
SCSS
$custom: #79942f;
$custom-light: #a2b36d;
$custom-dark: #000000;
JSON
{
  "hex": "#79942f",
  "rgb": {
    "r": 121,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 76.04,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.62532,
    "c": 0.13023,
    "h": 123.1
  },
  "luminance": 0.2545
}

Semantic roles & 50–950 ramp

primary
#79942F
secondary
#7D67B8
accent
#4DDB73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #79942F

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

Preview Lab → · Contrast checker → · Palette generator →

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