#7F982F#7F982F

#7F982F is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.133 H 121.8°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7F982F
RGBrgb(127, 152, 47)
HSLhsl(74, 53%, 39%)
HSVhsv(74, 69%, 60%)
CMYKcmyk(16.4%, 0%, 69.1%, 40.4%)
CIE-LABlab(59.13, -24.03, 49.98)
CIE-LCHlch(59.13, 55.46, 115.68°)
OKLaboklab(63.95% -0.07 0.1128)
OKLCHoklch(63.95% 0.133 121.8)
XYZxyz(20.4940, 27.1737, 6.8542)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F982F #482F98
analogous
#987D2F #7F982F #4B982F
triadic
#7F982F #2F7F98 #982F7F
tetradic
#7F982F #2F987D #482F98 #982F4B
square
#7F982F #2F987D #482F98 #982F4B
split-complementary
#7F982F #2F4B98 #7D2F98
monochromatic
#313B12 #586921 #7F982F #A5C440 #BBD26F

Accessibility & contrast

On white

3.26
#7F982F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#7F982F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F982F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F982F#FFFFFF#000000##000000
##7F982F1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F1F
Deuteranopia (green-blind)
#9E8E37
Tritanopia (blue-blind)
#869083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7f982f;
/* rgb */ color: rgb(127, 152, 47);
/* oklch */ color: oklch(63.9% 0.133 121.8);
Tailwind
colors: {
  custom: {
    50: '#a7b66e',
    500: '#7f982f',
    950: '#000000',
  },
}
SCSS
$custom: #7f982f;
$custom-light: #a7b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#7f982f",
  "rgb": {
    "r": 127,
    "g": 152,
    "b": 47
  },
  "hsl": {
    "h": 74.286,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63949,
    "c": 0.13272,
    "h": 121.8
  },
  "luminance": 0.27174
}

Semantic roles & 50–950 ramp

primary
#7F982F
secondary
#7C69BA
accent
#4CDC6E
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F982F

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

Preview Lab → · Contrast checker → · Palette generator →

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