#7FA122#7FA122

#7FA122 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.0% C 0.152 H 124.1°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7FA122
RGBrgb(127, 161, 34)
HSLhsl(76, 65%, 38%)
HSVhsv(76, 79%, 63%)
CMYKcmyk(21.1%, 0%, 78.9%, 36.9%)
CIE-LABlab(61.76, -29.15, 57.21)
CIE-LCHlch(61.76, 64.21, 117.00°)
OKLaboklab(66.04% -0.0852 0.1258)
OKLCHoklch(66.04% 0.152 124.1)
XYZxyz(21.7862, 30.1171, 6.1785)
Luminance0.3012 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA122 #4422A1
analogous
#A18322 #7FA122 #3FA122
triadic
#7FA122 #227FA1 #A1227F
tetradic
#7FA122 #22A183 #4422A1 #A1223F
square
#7FA122 #22A183 #4422A1 #A1223F
split-complementary
#7FA122 #223FA1 #8322A1
monochromatic
#2F3C0D #576E17 #7FA122 #A6D32D #BCDD60

Accessibility & contrast

On white

2.99
#7FA122 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7FA122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA122
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA122#FFFFFF#000000##000000
##7FA1221.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#85998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa122;
/* rgb */ color: rgb(127, 161, 34);
/* oklch */ color: oklch(66.0% 0.152 124.1);
Tailwind
colors: {
  custom: {
    50: '#a8bd68',
    500: '#7fa122',
    950: '#000000',
  },
}
SCSS
$custom: #7fa122;
$custom-light: #a8bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa122",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 76.063,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66041,
    "c": 0.15194,
    "h": 124.1
  },
  "luminance": 0.30117
}

Semantic roles & 50–950 ramp

primary
#7FA122
secondary
#785DC2
accent
#40E86D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA122

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

Preview Lab → · Contrast checker → · Palette generator →

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