#7F991A#7F991A

#7F991A 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#7F991A
RGBrgb(127, 153, 26)
HSLhsl(72, 71%, 35%)
HSVhsv(72, 83%, 60%)
CMYKcmyk(17%, 0%, 83%, 40%)
CIE-LABlab(59.31, -25.61, 57.34)
CIE-LCHlch(59.31, 62.80, 114.06°)
OKLaboklab(64.06% -0.0761 0.1247)
OKLCHoklch(64.06% 0.146 121.4)
XYZxyz(20.3305, 27.3691, 5.1888)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F991A #341A99
analogous
#99731A #7F991A #40991A
triadic
#7F991A #1A7F99 #991A7F
tetradic
#7F991A #1A9973 #341A99 #991A40
square
#7F991A #1A9973 #341A99 #991A40
split-complementary
#7F991A #1A4099 #731A99
monochromatic
#283008 #546511 #7F991A #AACD23 #C2E14D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F991A#FFFFFF#000000##000000
##7F991A1.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)
#A08F28
Tritanopia (blue-blind)
#869182
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7f991a;
/* rgb */ color: rgb(127, 153, 26);
/* oklch */ color: oklch(64.1% 0.146 121.4);
Tailwind
colors: {
  custom: {
    50: '#a8b764',
    500: '#7f991a',
    950: '#000000',
  },
}
SCSS
$custom: #7f991a;
$custom-light: #a8b764;
$custom-dark: #000000;
JSON
{
  "hex": "#7f991a",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 26
  },
  "hsl": {
    "h": 72.283,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.64056,
    "c": 0.14611,
    "h": 121.4
  },
  "luminance": 0.27369
}

Semantic roles & 50–950 ramp

primary
#7F991A
secondary
#644CC3
accent
#3AEE5F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F991A

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

Preview Lab → · Contrast checker → · Palette generator →

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