#7FA651#7FA651

#7FA651 is a light, vivid yellow-green. Relative luminance 0.324; OKLCH L 67.7% C 0.122 H 129.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7FA651
RGBrgb(127, 166, 81)
HSLhsl(88, 34%, 48%)
HSVhsv(88, 51%, 65%)
CMYKcmyk(23.5%, 0%, 51.2%, 34.9%)
CIE-LABlab(63.65, -27.86, 39.42)
CIE-LCHlch(63.65, 48.28, 125.25°)
OKLaboklab(67.71% -0.0775 0.0941)
OKLCHoklch(67.71% 0.122 129.5)
XYZxyz(23.8736, 32.3781, 12.7748)
Luminance0.3238 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA651 #7851A6
analogous
#A6A251 #7FA651 #54A651
triadic
#7FA651 #517FA6 #A6517F
tetradic
#7FA651 #51A6A2 #7851A6 #A65154
square
#7FA651 #51A6A2 #7851A6 #A65154
split-complementary
#7FA651 #5154A6 #A251A6
monochromatic
#405429 #607D3D #7FA651 #9DBD77 #BBD1A1

Accessibility & contrast

On white

2.81
#7FA651 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#7FA651 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA651
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA651#FFFFFF#000000##000000
##7FA6511.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C49
Deuteranopia (green-blind)
#A79956
Tritanopia (blue-blind)
#82A093
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa651;
/* rgb */ color: rgb(127, 166, 81);
/* oklch */ color: oklch(67.7% 0.122 129.5);
Tailwind
colors: {
  custom: {
    50: '#a6c084',
    500: '#7fa651',
    950: '#000000',
  },
}
SCSS
$custom: #7fa651;
$custom-light: #a6c084;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa651",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 81
  },
  "hsl": {
    "h": 87.529,
    "s": 34.413,
    "l": 48.431
  },
  "oklch": {
    "l": 0.67706,
    "c": 0.12191,
    "h": 129.5
  },
  "luminance": 0.32379
}

Semantic roles & 50–950 ramp

primary
#7FA651
secondary
#A895BE
accent
#5DCA8F
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA651

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

Preview Lab → · Contrast checker → · Palette generator →

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