#7F992F#7F992F

#7F992F is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 64.2% C 0.134 H 122.2°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#7F992F
RGBrgb(127, 153, 47)
HSLhsl(75, 53%, 39%)
HSVhsv(75, 69%, 60%)
CMYKcmyk(17%, 0%, 69.3%, 40%)
CIE-LABlab(59.43, -24.53, 50.29)
CIE-LCHlch(59.43, 55.95, 116.00°)
OKLaboklab(64.19% -0.0714 0.1134)
OKLCHoklch(64.19% 0.134 122.2)
XYZxyz(20.6570, 27.4997, 6.9085)
Luminance0.2750 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F992F #492F99
analogous
#997E2F #7F992F #4A992F
triadic
#7F992F #2F7F99 #992F7F
tetradic
#7F992F #2F997E #492F99 #992F4A
square
#7F992F #2F997E #492F99 #992F4A
split-complementary
#7F992F #2F4A99 #7E2F99
monochromatic
#313B12 #586A21 #7F992F #A4C541 #BBD36F

Accessibility & contrast

On white

3.23
#7F992F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#7F992F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F992F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F992F#FFFFFF#000000##000000
##7F992F1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2901F
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#869184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f992f;
/* rgb */ color: rgb(127, 153, 47);
/* oklch */ color: oklch(64.2% 0.134 122.2);
Tailwind
colors: {
  custom: {
    50: '#a7b76e',
    500: '#7f992f',
    950: '#000000',
  },
}
SCSS
$custom: #7f992f;
$custom-light: #a7b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f992f",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 47
  },
  "hsl": {
    "h": 74.717,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64191,
    "c": 0.134,
    "h": 122.2
  },
  "luminance": 0.275
}

Semantic roles & 50–950 ramp

primary
#7F992F
secondary
#7D69BA
accent
#4BDC6F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F992F

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

Preview Lab → · Contrast checker → · Palette generator →

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