#7FA643#7FA643

#7FA643 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.5% C 0.135 H 127.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7FA643
RGBrgb(127, 166, 67)
HSLhsl(84, 42%, 46%)
HSVhsv(84, 60%, 65%)
CMYKcmyk(23.5%, 0%, 59.6%, 34.9%)
CIE-LABlab(63.50, -29.29, 45.97)
CIE-LCHlch(63.50, 54.51, 122.50°)
OKLaboklab(67.53% -0.0827 0.1069)
OKLCHoklch(67.53% 0.135 127.7)
XYZxyz(23.4017, 32.1893, 10.2893)
Luminance0.3219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA643 #6A43A6
analogous
#A69B43 #7FA643 #4EA643
triadic
#7FA643 #437FA6 #A6437F
tetradic
#7FA643 #43A69B #6A43A6 #A6434E
square
#7FA643 #43A69B #6A43A6 #A6434E
split-complementary
#7FA643 #434EA6 #9B43A6
monochromatic
#3C4F20 #5E7A31 #7FA643 #9DC165 #B9D391

Accessibility & contrast

On white

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

On black

7.44
#7FA643 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA643
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA643#FFFFFF#000000##000000
##7FA6431.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa643;
/* rgb */ color: rgb(127, 166, 67);
/* oklch */ color: oklch(67.5% 0.135 127.7);
Tailwind
colors: {
  custom: {
    50: '#a7c07b',
    500: '#7fa643',
    950: '#000000',
  },
}
SCSS
$custom: #7fa643;
$custom-light: #a7c07b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa643",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 67
  },
  "hsl": {
    "h": 83.636,
    "s": 42.489,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6753,
    "c": 0.13517,
    "h": 127.7
  },
  "luminance": 0.3219
}

Semantic roles & 50–950 ramp

primary
#7FA643
secondary
#9D87BE
accent
#56D287
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA643

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

Preview Lab → · Contrast checker → · Palette generator →

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