#7F991F#7F991F

#7F991F is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.1% C 0.144 H 121.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7F991F
RGBrgb(127, 153, 31)
HSLhsl(73, 66%, 36%)
HSVhsv(73, 80%, 60%)
CMYKcmyk(17%, 0%, 79.7%, 40%)
CIE-LABlab(59.34, -25.41, 55.92)
CIE-LCHlch(59.34, 61.42, 114.43°)
OKLaboklab(64.08% -0.0752 0.1226)
OKLCHoklch(64.08% 0.144 121.5)
XYZxyz(20.3913, 27.3934, 5.5093)
Luminance0.2739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F991F #391F99
analogous
#99761F #7F991F #42991F
triadic
#7F991F #1F7F99 #991F7F
tetradic
#7F991F #1F9976 #391F99 #991F42
square
#7F991F #1F9976 #391F99 #991F42
split-complementary
#7F991F #1F4299 #761F99
monochromatic
#2B330A #556615 #7F991F #A9CC29 #C0DD56

Accessibility & contrast

On white

3.24
#7F991F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#7F991F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F991F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F991F#FFFFFF#000000##000000
##7F991F1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f991f;
/* rgb */ color: rgb(127, 153, 31);
/* oklch */ color: oklch(64.1% 0.144 121.5);
Tailwind
colors: {
  custom: {
    50: '#a8b766',
    500: '#7f991f',
    950: '#000000',
  },
}
SCSS
$custom: #7f991f;
$custom-light: #a8b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7f991f",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 72.787,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64081,
    "c": 0.14378,
    "h": 121.5
  },
  "luminance": 0.27393
}

Semantic roles & 50–950 ramp

primary
#7F991F
secondary
#6B54C0
accent
#3FE963
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F991F

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

Preview Lab → · Contrast checker → · Palette generator →

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