#7F991C#7F991C

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

Color values

HEX#7F991C
RGBrgb(127, 153, 28)
HSLhsl(72, 69%, 35%)
HSVhsv(72, 82%, 60%)
CMYKcmyk(17%, 0%, 81.7%, 40%)
CIE-LABlab(59.32, -25.53, 56.79)
CIE-LCHlch(59.32, 62.27, 114.21°)
OKLaboklab(64.07% -0.0757 0.1239)
OKLCHoklch(64.07% 0.145 121.4)
XYZxyz(20.3536, 27.3783, 5.3107)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F991C #361C99
analogous
#99741C #7F991C #40991C
triadic
#7F991C #1C7F99 #991C7F
tetradic
#7F991C #1C9974 #361C99 #991C40
square
#7F991C #1C9974 #361C99 #991C40
split-complementary
#7F991C #1C4099 #741C99
monochromatic
#293209 #546513 #7F991C #AACD25 #C1DF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7f991c;
/* rgb */ color: rgb(127, 153, 28);
/* oklch */ color: oklch(64.1% 0.145 121.4);
Tailwind
colors: {
  custom: {
    50: '#a8b765',
    500: '#7f991c',
    950: '#000000',
  },
}
SCSS
$custom: #7f991c;
$custom-light: #a8b765;
$custom-dark: #000000;
JSON
{
  "hex": "#7f991c",
  "rgb": {
    "r": 127,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 72.48,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.64066,
    "c": 0.14522,
    "h": 121.4
  },
  "luminance": 0.27378
}

Semantic roles & 50–950 ramp

primary
#7F991C
secondary
#674FC2
accent
#3CEC61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7F991C

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

Preview Lab → · Contrast checker → · Palette generator →

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