#7FA222#7FA222

#7FA222 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.153 H 124.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7FA222
RGBrgb(127, 162, 34)
HSLhsl(76, 65%, 38%)
HSVhsv(76, 79%, 64%)
CMYKcmyk(21.6%, 0%, 79%, 36.5%)
CIE-LABlab(62.06, -29.63, 57.48)
CIE-LCHlch(62.06, 64.67, 117.27°)
OKLaboklab(66.29% -0.0865 0.1264)
OKLCHoklch(66.29% 0.153 124.4)
XYZxyz(21.9617, 30.4680, 6.2369)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA222 #4522A2
analogous
#A28522 #7FA222 #3FA222
triadic
#7FA222 #227FA2 #A2227F
tetradic
#7FA222 #22A285 #4522A2 #A2223F
square
#7FA222 #22A285 #4522A2 #A2223F
split-complementary
#7FA222 #223FA2 #8522A2
monochromatic
#303D0D #576F17 #7FA222 #A6D32E #BCDE61

Accessibility & contrast

On white

2.96
#7FA222 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#7FA222 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA222
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA222#FFFFFF#000000##000000
##7FA2221.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A7962F
Tritanopia (blue-blind)
#859A8A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa222;
/* rgb */ color: rgb(127, 162, 34);
/* oklch */ color: oklch(66.3% 0.153 124.4);
Tailwind
colors: {
  custom: {
    50: '#a8bd69',
    500: '#7fa222',
    950: '#000000',
  },
}
SCSS
$custom: #7fa222;
$custom-light: #a8bd69;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa222",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 34
  },
  "hsl": {
    "h": 76.406,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66285,
    "c": 0.15315,
    "h": 124.4
  },
  "luminance": 0.30468
}

Semantic roles & 50–950 ramp

primary
#7FA222
secondary
#795DC3
accent
#40E86E
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA222

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

Preview Lab → · Contrast checker → · Palette generator →

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