#7F991E#7F991E

#7F991E 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#7F991E
RGBrgb(127, 153, 30)
HSLhsl(73, 67%, 36%)
HSVhsv(73, 80%, 60%)
CMYKcmyk(17%, 0%, 80.4%, 40%)
CIE-LABlab(59.33, -25.45, 56.22)
CIE-LCHlch(59.33, 61.71, 114.36°)
OKLaboklab(64.08% -0.0754 0.123)
OKLCHoklch(64.08% 0.144 121.5)
XYZxyz(20.3783, 27.3882, 5.4409)
Luminance0.2739 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F991E #381E99
analogous
#99751E #7F991E #41991E
triadic
#7F991E #1E7F99 #991E7F
tetradic
#7F991E #1E9975 #381E99 #991E41
square
#7F991E #1E9975 #381E99 #991E41
split-complementary
#7F991E #1E4199 #751E99
monochromatic
#2A330A #556614 #7F991E #A9CC28 #C0DD54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F991E#FFFFFF#000000##000000
##7F991E1.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)
#A08F2B
Tritanopia (blue-blind)
#869183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f991e;
/* rgb */ color: rgb(127, 153, 30);
/* oklch */ color: oklch(64.1% 0.144 121.5);
Tailwind
colors: {
  custom: {
    50: '#a8b766',
    500: '#7f991e',
    950: '#000000',
  },
}
SCSS
$custom: #7f991e;
$custom-light: #a8b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7f991e",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 30
  },
  "hsl": {
    "h": 72.683,
    "s": 67.213,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64076,
    "c": 0.14428,
    "h": 121.5
  },
  "luminance": 0.27388
}

Semantic roles & 50–950 ramp

primary
#7F991E
secondary
#6952C1
accent
#3EEA62
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F991E

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

Preview Lab → · Contrast checker → · Palette generator →

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