#7FA351#7FA351

#7FA351 is a light, moderate yellow-green. Relative luminance 0.313; OKLCH L 67.0% C 0.117 H 128.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#7FA351
RGBrgb(127, 163, 81)
HSLhsl(86, 34%, 48%)
HSVhsv(86, 50%, 64%)
CMYKcmyk(22.1%, 0%, 50.3%, 36.1%)
CIE-LABlab(62.76, -26.40, 38.34)
CIE-LCHlch(62.76, 46.55, 124.55°)
OKLaboklab(66.98% -0.0735 0.0917)
OKLCHoklch(66.98% 0.117 128.7)
XYZxyz(23.3346, 31.3001, 12.5951)
Luminance0.3130 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA351 #7551A3
analogous
#A39E51 #7FA351 #56A351
triadic
#7FA351 #517FA3 #A3517F
tetradic
#7FA351 #51A39E #7551A3 #A35156
square
#7FA351 #51A39E #7551A3 #A35156
split-complementary
#7FA351 #5156A3 #9E51A3
monochromatic
#3F5128 #5F7A3D #7FA351 #9DBB76 #BACF9F

Accessibility & contrast

On white

2.89
#7FA351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#7FA351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA351
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA351#FFFFFF#000000##000000
##7FA3511.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA994A
Deuteranopia (green-blind)
#A59756
Tritanopia (blue-blind)
#829D90
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa351;
/* rgb */ color: rgb(127, 163, 81);
/* oklch */ color: oklch(67.0% 0.117 128.7);
Tailwind
colors: {
  custom: {
    50: '#a6be84',
    500: '#7fa351',
    950: '#000000',
  },
}
SCSS
$custom: #7fa351;
$custom-light: #a6be84;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa351",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 81
  },
  "hsl": {
    "h": 86.341,
    "s": 33.607,
    "l": 47.843
  },
  "oklch": {
    "l": 0.66984,
    "c": 0.11749,
    "h": 128.7
  },
  "luminance": 0.313
}

Semantic roles & 50–950 ramp

primary
#7FA351
secondary
#A593BC
accent
#5ECA8D
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA351

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

Preview Lab → · Contrast checker → · Palette generator →

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