#7F994B#7F994B

#7F994B is a light, moderate yellow-green. Relative luminance 0.278; OKLCH L 64.5% C 0.109 H 124.6°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#7F994B
RGBrgb(127, 153, 75)
HSLhsl(80, 34%, 45%)
HSVhsv(80, 51%, 60%)
CMYKcmyk(17%, 0%, 51%, 40%)
CIE-LABlab(59.71, -22.09, 37.69)
CIE-LCHlch(59.71, 43.69, 120.38°)
OKLaboklab(64.5% -0.0619 0.0898)
OKLCHoklch(64.5% 0.109 124.6)
XYZxyz(21.4136, 27.8023, 10.8935)
Luminance0.2780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F994B #654B99
analogous
#998C4B #7F994B #58994B
triadic
#7F994B #4B7F99 #994B7F
tetradic
#7F994B #4B998C #654B99 #994B58
square
#7F994B #4B998C #654B99 #994B58
split-complementary
#7F994B #4B5899 #8C4B99
monochromatic
#3B4723 #5D7037 #7F994B #9DB66B #B8CB94

Accessibility & contrast

On white

3.20
#7F994B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#7F994B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F994B
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F994B#FFFFFF#000000##000000
##7F994B1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09144
Deuteranopia (green-blind)
#9D9050
Tritanopia (blue-blind)
#849387
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f994b;
/* rgb */ color: rgb(127, 153, 75);
/* oklch */ color: oklch(64.5% 0.109 124.6);
Tailwind
colors: {
  custom: {
    50: '#a6b77f',
    500: '#7f994b',
    950: '#000000',
  },
}
SCSS
$custom: #7f994b;
$custom-light: #a6b77f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f994b",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 75
  },
  "hsl": {
    "h": 80,
    "s": 34.211,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64502,
    "c": 0.10906,
    "h": 124.6
  },
  "luminance": 0.27802
}

Semantic roles & 50–950 ramp

primary
#7F994B
secondary
#9889B7
accent
#5ECA82
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7F994B

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

Preview Lab → · Contrast checker → · Palette generator →

#7F994B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva