#79942D#79942D

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

Color values

HEX#79942D
RGBrgb(121, 148, 45)
HSLhsl(76, 53%, 38%)
HSVhsv(76, 70%, 58%)
CMYKcmyk(18.2%, 0%, 69.6%, 42%)
CIE-LABlab(57.50, -24.70, 48.98)
CIE-LCHlch(57.50, 54.86, 116.76°)
OKLaboklab(62.52% -0.0717 0.1105)
OKLCHoklch(62.52% 0.132 123)
XYZxyz(18.9489, 25.4341, 6.3931)
Luminance0.2543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79942D #482D94
analogous
#947B2D #79942D #45942D
triadic
#79942D #2D7994 #942D79
tetradic
#79942D #2D947B #482D94 #942D45
square
#79942D #2D947B #482D94 #942D45
split-complementary
#79942D #2D4594 #7B2D94
monochromatic
#2C3610 #53651F #79942D #9FC33B #B6D26A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79942D#FFFFFF#000000##000000
##79942D1.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)
#9D8B1D
Deuteranopia (green-blind)
#998A35
Tritanopia (blue-blind)
#7F8D7F
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #79942d;
/* rgb */ color: rgb(121, 148, 45);
/* oklch */ color: oklch(62.5% 0.132 123.0);
Tailwind
colors: {
  custom: {
    50: '#a3b36c',
    500: '#79942d',
    950: '#000000',
  },
}
SCSS
$custom: #79942d;
$custom-light: #a3b36c;
$custom-dark: #000000;
JSON
{
  "hex": "#79942d",
  "rgb": {
    "r": 121,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 75.728,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.62515,
    "c": 0.1317,
    "h": 123
  },
  "luminance": 0.25434
}

Semantic roles & 50–950 ramp

primary
#79942D
secondary
#7A64B8
accent
#4BDD71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #79942D

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

Preview Lab → · Contrast checker → · Palette generator →

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