#7F992E#7F992E

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

Color values

HEX#7F992E
RGBrgb(127, 153, 46)
HSLhsl(75, 54%, 39%)
HSVhsv(75, 70%, 60%)
CMYKcmyk(17%, 0%, 69.9%, 40%)
CIE-LABlab(59.43, -24.60, 50.68)
CIE-LCHlch(59.43, 56.34, 115.89°)
OKLaboklab(64.18% -0.0717 0.1141)
OKLCHoklch(64.18% 0.135 122.1)
XYZxyz(20.6370, 27.4917, 6.8035)
Luminance0.2749 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F992E #482E99
analogous
#997E2E #7F992E #4A992E
triadic
#7F992E #2E7F99 #992E7F
tetradic
#7F992E #2E997E #482E99 #992E4A
square
#7F992E #2E997E #482E99 #992E4A
split-complementary
#7F992E #2E4A99 #7E2E99
monochromatic
#313B12 #586A20 #7F992E #A5C53F #BBD36E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F992E#FFFFFF#000000##000000
##7F992E1.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)
#A2901D
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#869184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f992e;
/* rgb */ color: rgb(127, 153, 46);
/* oklch */ color: oklch(64.2% 0.135 122.1);
Tailwind
colors: {
  custom: {
    50: '#a7b76d',
    500: '#7f992e',
    950: '#000000',
  },
}
SCSS
$custom: #7f992e;
$custom-light: #a7b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f992e",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 46
  },
  "hsl": {
    "h": 74.579,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64183,
    "c": 0.13472,
    "h": 122.1
  },
  "luminance": 0.27492
}

Semantic roles & 50–950 ramp

primary
#7F992E
secondary
#7C68BB
accent
#4BDD6E
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F992E

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

Preview Lab → · Contrast checker → · Palette generator →

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