#7FA922#7FA922

#7FA922 is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.0% C 0.162 H 126.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7FA922
RGBrgb(127, 169, 34)
HSLhsl(79, 67%, 40%)
HSVhsv(79, 80%, 66%)
CMYKcmyk(24.9%, 0%, 79.9%, 33.7%)
CIE-LABlab(64.16, -32.92, 59.41)
CIE-LCHlch(64.16, 67.93, 118.99°)
OKLaboklab(67.99% -0.0955 0.1305)
OKLCHoklch(67.99% 0.162 126.2)
XYZxyz(23.2292, 33.0031, 6.6595)
Luminance0.3300 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA922 #4C22A9
analogous
#A99022 #7FA922 #3BA922
triadic
#7FA922 #227FA9 #A9227F
tetradic
#7FA922 #22A990 #4C22A9 #A9223B
square
#7FA922 #22A990 #4C22A9 #A9223B
split-complementary
#7FA922 #223BA9 #9022A9
monochromatic
#32430D #597618 #7FA922 #A3D632 #BAE065

Accessibility & contrast

On white

2.76
#7FA922 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#7FA922 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA922
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA922#FFFFFF#000000##000000
##7FA9221.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#AD9B30
Tritanopia (blue-blind)
#85A190
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa922;
/* rgb */ color: rgb(127, 169, 34);
/* oklch */ color: oklch(68.0% 0.162 126.2);
Tailwind
colors: {
  custom: {
    50: '#a8c26a',
    500: '#7fa922',
    950: '#000000',
  },
}
SCSS
$custom: #7fa922;
$custom-light: #a8c26a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa922",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 34
  },
  "hsl": {
    "h": 78.667,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67993,
    "c": 0.16166,
    "h": 126.2
  },
  "luminance": 0.33003
}

Semantic roles & 50–950 ramp

primary
#7FA922
secondary
#8061C5
accent
#3EE974
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA922

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

Preview Lab → · Contrast checker → · Palette generator →

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