#7FA960#7FA960

#7FA960 is a light, moderate yellow-green. Relative luminance 0.337; OKLCH L 68.7% C 0.111 H 133.0°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7FA960
RGBrgb(127, 169, 96)
HSLhsl(95, 30%, 52%)
HSVhsv(95, 43%, 66%)
CMYKcmyk(24.9%, 0%, 43.2%, 33.7%)
CIE-LABlab(64.75, -27.48, 33.12)
CIE-LCHlch(64.75, 43.04, 129.68°)
OKLaboklab(68.66% -0.0755 0.0809)
OKLCHoklch(68.66% 0.111 133)
XYZxyz(25.0512, 33.7318, 16.2551)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA960 #8A60A9
analogous
#A3A960 #7FA960 #60A966
triadic
#7FA960 #607FA9 #A9607F
tetradic
#7FA960 #60A3A9 #8A60A9 #A96660
square
#7FA960 #60A3A9 #8A60A9 #A96660
split-complementary
#7FA960 #6660A9 #A960A3
monochromatic
#445D32 #618448 #7FA960 #9FBE88 #BFD4AF

Accessibility & contrast

On white

2.71
#7FA960 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#7FA960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA960
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA960#FFFFFF#000000##000000
##7FA9601.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9F5A
Deuteranopia (green-blind)
#A89C64
Tritanopia (blue-blind)
#80A497
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fa960;
/* rgb */ color: rgb(127, 169, 96);
/* oklch */ color: oklch(68.7% 0.111 133.0);
Tailwind
colors: {
  custom: {
    50: '#a6c28e',
    500: '#7fa960',
    950: '#000000',
  },
}
SCSS
$custom: #7fa960;
$custom-light: #a6c28e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa960",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 96
  },
  "hsl": {
    "h": 94.521,
    "s": 29.796,
    "l": 51.961
  },
  "oklch": {
    "l": 0.68656,
    "c": 0.11064,
    "h": 133
  },
  "luminance": 0.33732
}

Semantic roles & 50–950 ramp

primary
#7FA960
secondary
#B5A2C2
accent
#62C69B
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA960

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

Preview Lab → · Contrast checker → · Palette generator →

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