#79971F#79971F

#79971F is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 63.2% C 0.144 H 123.3°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#79971F
RGBrgb(121, 151, 31)
HSLhsl(75, 66%, 36%)
HSVhsv(75, 79%, 59%)
CMYKcmyk(19.9%, 0%, 79.5%, 40.8%)
CIE-LABlab(58.32, -26.96, 54.83)
CIE-LCHlch(58.32, 61.10, 116.19°)
OKLaboklab(63.15% -0.0791 0.1205)
OKLCHoklch(63.15% 0.144 123.3)
XYZxyz(19.1993, 26.2970, 5.3604)
Luminance0.2630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79971F #3D1F97
analogous
#97791F #79971F #3D971F
triadic
#79971F #1F7997 #971F79
tetradic
#79971F #1F9779 #3D1F97 #971F3D
square
#79971F #1F9779 #3D1F97 #971F3D
split-complementary
#79971F #1F3D97 #791F97
monochromatic
#28310A #506415 #79971F #A2CA29 #BADC54

Accessibility & contrast

On white

3.35
#79971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#79971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #79971F
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79971F#FFFFFF#000000##000000
##79971F1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#7F8F81
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #79971f;
/* rgb */ color: rgb(121, 151, 31);
/* oklch */ color: oklch(63.2% 0.144 123.3);
Tailwind
colors: {
  custom: {
    50: '#a3b566',
    500: '#79971f',
    950: '#000000',
  },
}
SCSS
$custom: #79971f;
$custom-light: #a3b566;
$custom-dark: #000000;
JSON
{
  "hex": "#79971f",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 75,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63151,
    "c": 0.1441,
    "h": 123.3
  },
  "luminance": 0.26297
}

Semantic roles & 50–950 ramp

primary
#79971F
secondary
#6E52BF
accent
#3FE969
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #79971F

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

Preview Lab → · Contrast checker → · Palette generator →

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