#79972C#79972C

#79972C is a light, vivid yellow-green. Relative luminance 0.264; OKLCH L 63.2% C 0.136 H 123.9°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#79972C
RGBrgb(121, 151, 44)
HSLhsl(77, 55%, 38%)
HSVhsv(77, 71%, 59%)
CMYKcmyk(19.9%, 0%, 70.9%, 40.8%)
CIE-LABlab(58.40, -26.25, 50.30)
CIE-LCHlch(58.40, 56.73, 117.56°)
OKLaboklab(63.24% -0.076 0.1131)
OKLCHoklch(63.24% 0.136 123.9)
XYZxyz(19.4066, 26.3799, 6.4518)
Luminance0.2638 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79972C #4A2C97
analogous
#977F2C #79972C #44972C
triadic
#79972C #2C7997 #972C79
tetradic
#79972C #2C977F #4A2C97 #972C44
square
#79972C #2C977F #4A2C97 #972C44
split-complementary
#79972C #2C4497 #7F2C97
monochromatic
#2D3810 #53681E #79972C #9FC63A #B6D46A

Accessibility & contrast

On white

3.35
#79972C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#79972C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79972C
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79972C#FFFFFF#000000##000000
##79972C1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D1B
Deuteranopia (green-blind)
#9C8C35
Tritanopia (blue-blind)
#7F9082
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #79972c;
/* rgb */ color: rgb(121, 151, 44);
/* oklch */ color: oklch(63.2% 0.136 123.9);
Tailwind
colors: {
  custom: {
    50: '#a3b56c',
    500: '#79972c',
    950: '#000000',
  },
}
SCSS
$custom: #79972c;
$custom-light: #a3b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#79972c",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 44
  },
  "hsl": {
    "h": 76.822,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63239,
    "c": 0.13627,
    "h": 123.9
  },
  "luminance": 0.2638
}

Semantic roles & 50–950 ramp

primary
#79972C
secondary
#7D65BA
accent
#4ADE73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #79972C

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

Preview Lab → · Contrast checker → · Palette generator →

#79972C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva