#7FA442#7FA442

#7FA442 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 67.0% C 0.133 H 127.1°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7FA442
RGBrgb(127, 164, 66)
HSLhsl(83, 43%, 45%)
HSVhsv(83, 60%, 64%)
CMYKcmyk(22.6%, 0%, 59.8%, 35.7%)
CIE-LABlab(62.89, -28.42, 45.75)
CIE-LCHlch(62.89, 53.85, 121.85°)
OKLaboklab(67.04% -0.0804 0.1063)
OKLCHoklch(67.04% 0.133 127.1)
XYZxyz(23.0112, 31.4559, 10.0125)
Luminance0.3146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA442 #6742A4
analogous
#A49842 #7FA442 #4EA442
triadic
#7FA442 #427FA4 #A4427F
tetradic
#7FA442 #42A498 #6742A4 #A4424E
square
#7FA442 #42A498 #6742A4 #A4424E
split-complementary
#7FA442 #424EA4 #9842A4
monochromatic
#3B4D1F #5D7830 #7FA442 #9DC063 #B8D28F

Accessibility & contrast

On white

2.88
#7FA442 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#7FA442 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA442
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA442#FFFFFF#000000##000000
##7FA4421.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9A37
Deuteranopia (green-blind)
#A79749
Tritanopia (blue-blind)
#839D8F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa442;
/* rgb */ color: rgb(127, 164, 66);
/* oklch */ color: oklch(67.0% 0.133 127.1);
Tailwind
colors: {
  custom: {
    50: '#a7bf7a',
    500: '#7fa442',
    950: '#000000',
  },
}
SCSS
$custom: #7fa442;
$custom-light: #a7bf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa442",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 82.653,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67035,
    "c": 0.13329,
    "h": 127.1
  },
  "luminance": 0.31456
}

Semantic roles & 50–950 ramp

primary
#7FA442
secondary
#9A85BD
accent
#55D285
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA442

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

Preview Lab → · Contrast checker → · Palette generator →

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