#7FA646#7FA646

#7FA646 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.6% C 0.132 H 128.0°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7FA646
RGBrgb(127, 166, 70)
HSLhsl(84, 41%, 46%)
HSVhsv(84, 58%, 65%)
CMYKcmyk(23.5%, 0%, 57.8%, 34.9%)
CIE-LABlab(63.53, -29.01, 44.61)
CIE-LCHlch(63.53, 53.21, 123.03°)
OKLaboklab(67.57% -0.0816 0.1043)
OKLCHoklch(67.57% 0.132 128)
XYZxyz(23.4940, 32.2262, 10.7757)
Luminance0.3223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA646 #6D46A6
analogous
#A69D46 #7FA646 #4FA646
triadic
#7FA646 #467FA6 #A6467F
tetradic
#7FA646 #46A69D #6D46A6 #A6464F
square
#7FA646 #46A69D #6D46A6 #A6464F
split-complementary
#7FA646 #464FA6 #9D46A6
monochromatic
#3D5022 #5E7B34 #7FA646 #9DC069 #B9D294

Accessibility & contrast

On white

2.82
#7FA646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#7FA646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA646
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA646#FFFFFF#000000##000000
##7FA6461.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9C3C
Deuteranopia (green-blind)
#A8994C
Tritanopia (blue-blind)
#839F91
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa646;
/* rgb */ color: rgb(127, 166, 70);
/* oklch */ color: oklch(67.6% 0.132 128.0);
Tailwind
colors: {
  custom: {
    50: '#a6c07d',
    500: '#7fa646',
    950: '#000000',
  },
}
SCSS
$custom: #7fa646;
$custom-light: #a6c07d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa646",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 70
  },
  "hsl": {
    "h": 84.375,
    "s": 40.678,
    "l": 46.275
  },
  "oklch": {
    "l": 0.67565,
    "c": 0.13248,
    "h": 128
  },
  "luminance": 0.32227
}

Semantic roles & 50–950 ramp

primary
#7FA646
secondary
#9F8ABE
accent
#57D189
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA646

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

Preview Lab → · Contrast checker → · Palette generator →

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