#7F994F#7F994F

#7F994F is a light, moderate yellow-green. Relative luminance 0.279; OKLCH L 64.6% C 0.105 H 125.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7F994F
RGBrgb(127, 153, 79)
HSLhsl(81, 32%, 45%)
HSVhsv(81, 48%, 60%)
CMYKcmyk(17%, 0%, 48.4%, 40%)
CIE-LABlab(59.76, -21.65, 35.71)
CIE-LCHlch(59.76, 41.76, 121.22°)
OKLaboklab(64.56% -0.0603 0.0857)
OKLCHoklch(64.56% 0.105 125.2)
XYZxyz(21.5549, 27.8588, 11.6373)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F994F #694F99
analogous
#998E4F #7F994F #5A994F
triadic
#7F994F #4F7F99 #994F7F
tetradic
#7F994F #4F998E #694F99 #994F5A
square
#7F994F #4F998E #694F99 #994F5A
split-complementary
#7F994F #4F5A99 #8E4F99
monochromatic
#3C4825 #5D713A #7F994F #9DB570 #B9CA98

Accessibility & contrast

On white

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

On black

6.57
#7F994F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F994F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F994F#FFFFFF#000000##000000
##7F994F1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09149
Deuteranopia (green-blind)
#9C9053
Tritanopia (blue-blind)
#839388
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7f994f;
/* rgb */ color: rgb(127, 153, 79);
/* oklch */ color: oklch(64.6% 0.105 125.2);
Tailwind
colors: {
  custom: {
    50: '#a5b782',
    500: '#7f994f',
    950: '#000000',
  },
}
SCSS
$custom: #7f994f;
$custom-light: #a5b782;
$custom-dark: #000000;
JSON
{
  "hex": "#7f994f",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 79
  },
  "hsl": {
    "h": 81.081,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6456,
    "c": 0.10482,
    "h": 125.2
  },
  "luminance": 0.27859
}

Semantic roles & 50–950 ramp

primary
#7F994F
secondary
#9C8DB7
accent
#60C884
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7F994F

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

Preview Lab → · Contrast checker → · Palette generator →

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