#7FA95F#7FA95F

#7FA95F is a light, moderate yellow-green. Relative luminance 0.337; OKLCH L 68.6% C 0.112 H 132.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7FA95F
RGBrgb(127, 169, 95)
HSLhsl(94, 30%, 52%)
HSVhsv(94, 44%, 66%)
CMYKcmyk(24.9%, 0%, 43.8%, 33.7%)
CIE-LABlab(64.73, -27.61, 33.63)
CIE-LCHlch(64.73, 43.51, 129.39°)
OKLaboklab(68.64% -0.0759 0.082)
OKLCHoklch(68.64% 0.112 132.8)
XYZxyz(25.0055, 33.7135, 16.0142)
Luminance0.3371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA95F #895FA9
analogous
#A4A95F #7FA95F #5FA964
triadic
#7FA95F #5F7FA9 #A95F7F
tetradic
#7FA95F #5FA4A9 #895FA9 #A9645F
square
#7FA95F #5FA4A9 #895FA9 #A9645F
split-complementary
#7FA95F #645FA9 #A95FA4
monochromatic
#445C32 #618447 #7FA95F #9FBE87 #BFD4AF

Accessibility & contrast

On white

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

On black

7.74
#7FA95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA95F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA95F#FFFFFF#000000##000000
##7FA95F1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa95f;
/* rgb */ color: rgb(127, 169, 95);
/* oklch */ color: oklch(68.6% 0.112 132.8);
Tailwind
colors: {
  custom: {
    50: '#a6c28d',
    500: '#7fa95f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa95f;
$custom-light: #a6c28d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa95f",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 95
  },
  "hsl": {
    "h": 94.054,
    "s": 30.081,
    "l": 51.765
  },
  "oklch": {
    "l": 0.68639,
    "c": 0.11173,
    "h": 132.8
  },
  "luminance": 0.33714
}

Semantic roles & 50–950 ramp

primary
#7FA95F
secondary
#B4A2C2
accent
#61C69B
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA95F

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

Preview Lab → · Contrast checker → · Palette generator →

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