#7FA940#7FA940

#7FA940 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.2% C 0.142 H 128.2°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7FA940
RGBrgb(127, 169, 64)
HSLhsl(84, 45%, 46%)
HSVhsv(84, 62%, 66%)
CMYKcmyk(24.9%, 0%, 62.1%, 33.7%)
CIE-LABlab(64.37, -30.98, 48.30)
CIE-LCHlch(64.37, 57.38, 122.68°)
OKLaboklab(68.23% -0.0876 0.1115)
OKLCHoklch(68.23% 0.142 128.2)
XYZxyz(23.8657, 33.2576, 10.0115)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA940 #6A40A9
analogous
#A99E40 #7FA940 #4AA940
triadic
#7FA940 #407FA9 #A9407F
tetradic
#7FA940 #40A99E #6A40A9 #A9404A
square
#7FA940 #40A99E #6A40A9 #A9404A
split-complementary
#7FA940 #404AA9 #9E40A9
monochromatic
#3C501E #5E7D2F #7FA940 #9DC462 #B9D58F

Accessibility & contrast

On white

2.74
#7FA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#7FA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA940
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA940#FFFFFF#000000##000000
##7FA9401.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E34
Deuteranopia (green-blind)
#AB9B48
Tritanopia (blue-blind)
#83A293
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa940;
/* rgb */ color: rgb(127, 169, 64);
/* oklch */ color: oklch(68.2% 0.142 128.2);
Tailwind
colors: {
  custom: {
    50: '#a7c279',
    500: '#7fa940',
    950: '#000000',
  },
}
SCSS
$custom: #7fa940;
$custom-light: #a7c279;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa940",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 84,
    "s": 45.064,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68225,
    "c": 0.14185,
    "h": 128.2
  },
  "luminance": 0.33258
}

Semantic roles & 50–950 ramp

primary
#7FA940
secondary
#9D85C0
accent
#53D587
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA940

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

Preview Lab → · Contrast checker → · Palette generator →

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