#7F982E#7F982E

#7F982E 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#7F982E
RGBrgb(127, 152, 46)
HSLhsl(74, 54%, 39%)
HSVhsv(74, 70%, 60%)
CMYKcmyk(16.4%, 0%, 69.7%, 40.4%)
CIE-LABlab(59.13, -24.10, 50.38)
CIE-LCHlch(59.13, 55.85, 115.56°)
OKLaboklab(63.94% -0.0703 0.1134)
OKLCHoklch(63.94% 0.133 121.8)
XYZxyz(20.4741, 27.1657, 6.7491)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F982E #472E98
analogous
#987C2E #7F982E #4A982E
triadic
#7F982E #2E7F98 #982E7F
tetradic
#7F982E #2E987C #472E98 #982E4A
square
#7F982E #2E987C #472E98 #982E4A
split-complementary
#7F982E #2E4A98 #7C2E98
monochromatic
#303A12 #586920 #7F982E #A5C53E #BBD36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F982E#FFFFFF#000000##000000
##7F982E1.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)
#A18F1E
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#869083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7f982e;
/* rgb */ color: rgb(127, 152, 46);
/* oklch */ color: oklch(63.9% 0.133 121.8);
Tailwind
colors: {
  custom: {
    50: '#a7b66d',
    500: '#7f982e',
    950: '#000000',
  },
}
SCSS
$custom: #7f982e;
$custom-light: #a7b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f982e",
  "rgb": {
    "r": 127,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 74.151,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63941,
    "c": 0.13345,
    "h": 121.8
  },
  "luminance": 0.27166
}

Semantic roles & 50–950 ramp

primary
#7F982E
secondary
#7B68BA
accent
#4BDD6D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7F982E

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

Preview Lab → · Contrast checker → · Palette generator →

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