#7F992D#7F992D

#7F992D 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#7F992D
RGBrgb(127, 153, 45)
HSLhsl(74, 55%, 39%)
HSVhsv(74, 71%, 60%)
CMYKcmyk(17%, 0%, 70.6%, 40%)
CIE-LABlab(59.42, -24.66, 51.07)
CIE-LCHlch(59.42, 56.71, 115.77°)
OKLaboklab(64.17% -0.0719 0.1147)
OKLCHoklch(64.17% 0.135 122.1)
XYZxyz(20.6176, 27.4839, 6.7009)
Luminance0.2748 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F992D #472D99
analogous
#997D2D #7F992D #49992D
triadic
#7F992D #2D7F99 #992D7F
tetradic
#7F992D #2D997D #472D99 #992D49
square
#7F992D #2D997D #472D99 #992D49
split-complementary
#7F992D #2D4999 #7D2D99
monochromatic
#303A11 #586A1F #7F992D #A5C63D #BBD46C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F992D#FFFFFF#000000##000000
##7F992D1.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)
#A2901C
Deuteranopia (green-blind)
#9F8F36
Tritanopia (blue-blind)
#869184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f992d;
/* rgb */ color: rgb(127, 153, 45);
/* oklch */ color: oklch(64.2% 0.135 122.1);
Tailwind
colors: {
  custom: {
    50: '#a7b76d',
    500: '#7f992d',
    950: '#000000',
  },
}
SCSS
$custom: #7f992d;
$custom-light: #a7b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f992d",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 45
  },
  "hsl": {
    "h": 74.444,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64174,
    "c": 0.13541,
    "h": 122.1
  },
  "luminance": 0.27484
}

Semantic roles & 50–950 ramp

primary
#7F992D
secondary
#7B67BB
accent
#4ADE6E
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F992D

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

Preview Lab → · Contrast checker → · Palette generator →

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