#7FA340#7FA340

#7FA340 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.8% C 0.134 H 126.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7FA340
RGBrgb(127, 163, 64)
HSLhsl(82, 44%, 45%)
HSVhsv(82, 61%, 64%)
CMYKcmyk(22.1%, 0%, 60.7%, 36.1%)
CIE-LABlab(62.57, -28.11, 46.31)
CIE-LCHlch(62.57, 54.17, 121.26°)
OKLaboklab(66.77% -0.0797 0.1073)
OKLCHoklch(66.77% 0.134 126.6)
XYZxyz(22.7750, 31.0762, 9.6479)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA340 #6440A3
analogous
#A39640 #7FA340 #4EA340
triadic
#7FA340 #407FA3 #A3407F
tetradic
#7FA340 #40A396 #6440A3 #A3404E
square
#7FA340 #40A396 #6440A3 #A3404E
split-complementary
#7FA340 #404EA3 #9640A3
monochromatic
#3B4B1D #5D772F #7FA340 #9DC060 #B8D28C

Accessibility & contrast

On white

2.91
#7FA340 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#7FA340 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA340
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA340#FFFFFF#000000##000000
##7FA3401.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9935
Deuteranopia (green-blind)
#A69747
Tritanopia (blue-blind)
#849C8E
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa340;
/* rgb */ color: rgb(127, 163, 64);
/* oklch */ color: oklch(66.8% 0.134 126.6);
Tailwind
colors: {
  custom: {
    50: '#a7be79',
    500: '#7fa340',
    950: '#000000',
  },
}
SCSS
$custom: #7fa340;
$custom-light: #a7be79;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa340",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 64
  },
  "hsl": {
    "h": 81.818,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.66771,
    "c": 0.13366,
    "h": 126.6
  },
  "luminance": 0.31077
}

Semantic roles & 50–950 ramp

primary
#7FA340
secondary
#9782BD
accent
#54D383
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA340

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

Preview Lab → · Contrast checker → · Palette generator →

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