#7F992B#7F992B

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

Color values

HEX#7F992B
RGBrgb(127, 153, 43)
HSLhsl(74, 56%, 38%)
HSVhsv(74, 72%, 60%)
CMYKcmyk(17%, 0%, 71.9%, 40%)
CIE-LABlab(59.41, -24.78, 51.83)
CIE-LCHlch(59.41, 57.45, 115.55°)
OKLaboklab(64.16% -0.0725 0.116)
OKLCHoklch(64.16% 0.137 122)
XYZxyz(20.5800, 27.4689, 6.5029)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F992B #452B99
analogous
#997C2B #7F992B #48992B
triadic
#7F992B #2B7F99 #992B7F
tetradic
#7F992B #2B997C #452B99 #992B48
square
#7F992B #2B997C #452B99 #992B48
split-complementary
#7F992B #2B4899 #7C2B99
monochromatic
#303910 #57691E #7F992B #A6C83A #BCD569

Accessibility & contrast

On white

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

On black

6.49
#7F992B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F992B
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F992B#FFFFFF#000000##000000
##7F992B1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29018
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#869183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f992b;
/* rgb */ color: rgb(127, 153, 43);
/* oklch */ color: oklch(64.2% 0.137 122.0);
Tailwind
colors: {
  custom: {
    50: '#a7b76c',
    500: '#7f992b',
    950: '#000000',
  },
}
SCSS
$custom: #7f992b;
$custom-light: #a7b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f992b",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 43
  },
  "hsl": {
    "h": 74.182,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64159,
    "c": 0.13677,
    "h": 122
  },
  "luminance": 0.27469
}

Semantic roles & 50–950 ramp

primary
#7F992B
secondary
#7964BC
accent
#48DF6C
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F992B

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

Preview Lab → · Contrast checker → · Palette generator →

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