#79942B#79942B

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

Color values

HEX#79942B
RGBrgb(121, 148, 43)
HSLhsl(75, 55%, 37%)
HSVhsv(75, 71%, 58%)
CMYKcmyk(18.2%, 0%, 70.9%, 42%)
CIE-LABlab(57.48, -24.83, 49.77)
CIE-LCHlch(57.48, 55.62, 116.52°)
OKLaboklab(62.5% -0.0722 0.1118)
OKLCHoklch(62.5% 0.133 122.9)
XYZxyz(18.9113, 25.4191, 6.1951)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79942B #462B94
analogous
#947B2B #79942B #44942B
triadic
#79942B #2B7994 #942B79
tetradic
#79942B #2B947B #462B94 #942B44
square
#79942B #2B947B #462B94 #942B44
split-complementary
#79942B #2B4494 #7B2B94
monochromatic
#2B350F #52651D #79942B #A0C339 #B7D367

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79942B#FFFFFF#000000##000000
##79942B1.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)
#9D8B1A
Deuteranopia (green-blind)
#998A34
Tritanopia (blue-blind)
#7F8C7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #79942b;
/* rgb */ color: rgb(121, 148, 43);
/* oklch */ color: oklch(62.5% 0.133 122.9);
Tailwind
colors: {
  custom: {
    50: '#a3b36b',
    500: '#79942b',
    950: '#000000',
  },
}
SCSS
$custom: #79942b;
$custom-light: #a3b36b;
$custom-dark: #000000;
JSON
{
  "hex": "#79942b",
  "rgb": {
    "r": 121,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 75.429,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62498,
    "c": 0.13312,
    "h": 122.9
  },
  "luminance": 0.25419
}

Semantic roles & 50–950 ramp

primary
#79942B
secondary
#7862B9
accent
#49DE70
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #79942B

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

Preview Lab → · Contrast checker → · Palette generator →

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