#7FA640#7FA640

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

Color values

HEX#7FA640
RGBrgb(127, 166, 64)
HSLhsl(83, 44%, 45%)
HSVhsv(83, 61%, 65%)
CMYKcmyk(23.5%, 0%, 61.4%, 34.9%)
CIE-LABlab(63.47, -29.55, 47.30)
CIE-LCHlch(63.47, 55.78, 122.00°)
OKLaboklab(67.5% -0.0837 0.1094)
OKLCHoklch(67.5% 0.138 127.4)
XYZxyz(23.3140, 32.1542, 9.8276)
Luminance0.3216 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA640 #6740A6
analogous
#A69A40 #7FA640 #4CA640
triadic
#7FA640 #407FA6 #A6407F
tetradic
#7FA640 #40A69A #6740A6 #A6404C
square
#7FA640 #40A69A #6740A6 #A6404C
split-complementary
#7FA640 #404CA6 #9A40A6
monochromatic
#3B4E1E #5D7A2F #7FA640 #9DC261 #B8D38D

Accessibility & contrast

On white

2.83
#7FA640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#7FA640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA640
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA640#FFFFFF#000000##000000
##7FA6401.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B34
Deuteranopia (green-blind)
#A99947
Tritanopia (blue-blind)
#839F90
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa640;
/* rgb */ color: rgb(127, 166, 64);
/* oklch */ color: oklch(67.5% 0.138 127.4);
Tailwind
colors: {
  custom: {
    50: '#a7c079',
    500: '#7fa640',
    950: '#000000',
  },
}
SCSS
$custom: #7fa640;
$custom-light: #a7c079;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa640",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 64
  },
  "hsl": {
    "h": 82.941,
    "s": 44.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67498,
    "c": 0.13776,
    "h": 127.4
  },
  "luminance": 0.32155
}

Semantic roles & 50–950 ramp

primary
#7FA640
secondary
#9A84BE
accent
#54D485
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA640

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

Preview Lab → · Contrast checker → · Palette generator →

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