#7FA951#7FA951

#7FA951 is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.4% C 0.126 H 130.2°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#7FA951
RGBrgb(127, 169, 81)
HSLhsl(89, 35%, 49%)
HSVhsv(89, 52%, 66%)
CMYKcmyk(24.9%, 0%, 52.1%, 33.7%)
CIE-LABlab(64.55, -29.31, 40.50)
CIE-LCHlch(64.55, 49.99, 125.89°)
OKLaboklab(68.43% -0.0816 0.0964)
OKLCHoklch(68.43% 0.126 130.2)
XYZxyz(24.4253, 33.4815, 12.9587)
Luminance0.3348 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA951 #7B51A9
analogous
#A9A751 #7FA951 #53A951
triadic
#7FA951 #517FA9 #A9517F
tetradic
#7FA951 #51A9A7 #7B51A9 #A95153
square
#7FA951 #51A9A7 #7B51A9 #A95153
split-complementary
#7FA951 #5153A9 #A751A9
monochromatic
#415629 #60803D #7FA951 #9DBF79 #BBD2A2

Accessibility & contrast

On white

2.73
#7FA951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#7FA951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA951
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA951#FFFFFF#000000##000000
##7FA9511.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09F49
Deuteranopia (green-blind)
#AA9C57
Tritanopia (blue-blind)
#81A395
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fa951;
/* rgb */ color: rgb(127, 169, 81);
/* oklch */ color: oklch(68.4% 0.126 130.2);
Tailwind
colors: {
  custom: {
    50: '#a6c284',
    500: '#7fa951',
    950: '#000000',
  },
}
SCSS
$custom: #7fa951;
$custom-light: #a6c284;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa951",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 88.636,
    "s": 35.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.68429,
    "c": 0.12629,
    "h": 130.2
  },
  "luminance": 0.33482
}

Semantic roles & 50–950 ramp

primary
#7FA951
secondary
#AA96C0
accent
#5DCB91
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #7FA951

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

Preview Lab → · Contrast checker → · Palette generator →

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