#7F991B#7F991B

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

Color values

HEX#7F991B
RGBrgb(127, 153, 27)
HSLhsl(72, 70%, 35%)
HSVhsv(72, 82%, 60%)
CMYKcmyk(17%, 0%, 82.4%, 40%)
CIE-LABlab(59.32, -25.57, 57.07)
CIE-LCHlch(59.32, 62.54, 114.13°)
OKLaboklab(64.06% -0.0759 0.1243)
OKLCHoklch(64.06% 0.146 121.4)
XYZxyz(20.3418, 27.3736, 5.2487)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F991B #351B99
analogous
#99741B #7F991B #40991B
triadic
#7F991B #1B7F99 #991B7F
tetradic
#7F991B #1B9974 #351B99 #991B40
square
#7F991B #1B9974 #351B99 #991B40
split-complementary
#7F991B #1B4099 #741B99
monochromatic
#293109 #546512 #7F991B #AACD24 #C2E04F

Accessibility & contrast

On white

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

On black

6.47
#7F991B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F991B
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F991B#FFFFFF#000000##000000
##7F991B1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A08F29
Tritanopia (blue-blind)
#869182
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f991b;
/* rgb */ color: rgb(127, 153, 27);
/* oklch */ color: oklch(64.1% 0.146 121.4);
Tailwind
colors: {
  custom: {
    50: '#a8b764',
    500: '#7f991b',
    950: '#000000',
  },
}
SCSS
$custom: #7f991b;
$custom-light: #a8b764;
$custom-dark: #000000;
JSON
{
  "hex": "#7f991b",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 27
  },
  "hsl": {
    "h": 72.381,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64061,
    "c": 0.14567,
    "h": 121.4
  },
  "luminance": 0.27374
}

Semantic roles & 50–950 ramp

primary
#7F991B
secondary
#664EC2
accent
#3BED60
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F991B

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

Preview Lab → · Contrast checker → · Palette generator →

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