#79972D#79972D

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

Color values

HEX#79972D
RGBrgb(121, 151, 45)
HSLhsl(77, 54%, 38%)
HSVhsv(77, 70%, 59%)
CMYKcmyk(19.9%, 0%, 70.2%, 40.8%)
CIE-LABlab(58.40, -26.18, 49.91)
CIE-LCHlch(58.40, 56.36, 117.68°)
OKLaboklab(63.25% -0.0758 0.1124)
OKLCHoklch(63.25% 0.136 124)
XYZxyz(19.4256, 26.3875, 6.5520)
Luminance0.2639 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79972D #4B2D97
analogous
#97802D #79972D #44972D
triadic
#79972D #2D7997 #972D79
tetradic
#79972D #2D9780 #4B2D97 #972D44
square
#79972D #2D9780 #4B2D97 #972D44
split-complementary
#79972D #2D4497 #802D97
monochromatic
#2D3911 #53681F #79972D #9EC53C #B6D36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##79972D#FFFFFF#000000##000000
##79972D1.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)
#A08D1D
Deuteranopia (green-blind)
#9C8C36
Tritanopia (blue-blind)
#7F9082
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #79972d;
/* rgb */ color: rgb(121, 151, 45);
/* oklch */ color: oklch(63.2% 0.136 124.0);
Tailwind
colors: {
  custom: {
    50: '#a3b56d',
    500: '#79972d',
    950: '#000000',
  },
}
SCSS
$custom: #79972d;
$custom-light: #a3b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#79972d",
  "rgb": {
    "r": 121,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 76.981,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63247,
    "c": 0.13557,
    "h": 124
  },
  "luminance": 0.26388
}

Semantic roles & 50–950 ramp

primary
#79972D
secondary
#7E66BA
accent
#4ADD74
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#0F1107
muted
#7F807A

Preview Lab

Preview with #79972D

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

Preview Lab → · Contrast checker → · Palette generator →

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