#7FA22F#7FA22F

#7FA22F is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.4% C 0.145 H 125.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7FA22F
RGBrgb(127, 162, 47)
HSLhsl(78, 55%, 41%)
HSVhsv(78, 71%, 64%)
CMYKcmyk(21.6%, 0%, 71%, 36.5%)
CIE-LABlab(62.13, -28.92, 53.03)
CIE-LCHlch(62.13, 60.40, 118.61°)
OKLaboklab(66.37% -0.0835 0.1191)
OKLCHoklch(66.37% 0.145 125)
XYZxyz(22.1860, 30.5577, 7.4182)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA22F #522FA2
analogous
#A28B2F #7FA22F #45A22F
triadic
#7FA22F #2F7FA2 #A22F7F
tetradic
#7FA22F #2FA28B #522FA2 #A22F45
square
#7FA22F #2FA28B #522FA2 #A22F45
split-complementary
#7FA22F #2F45A2 #8B2FA2
monochromatic
#354313 #5A7321 #7FA22F #A1C945 #B9D775

Accessibility & contrast

On white

2.95
#7FA22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7FA22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA22F
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA22F#FFFFFF#000000##000000
##7FA22F1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB971C
Deuteranopia (green-blind)
#A69639
Tritanopia (blue-blind)
#859A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa22f;
/* rgb */ color: rgb(127, 162, 47);
/* oklch */ color: oklch(66.4% 0.145 125.0);
Tailwind
colors: {
  custom: {
    50: '#a7bd6f',
    500: '#7fa22f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa22f;
$custom-light: #a7bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa22f",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 47
  },
  "hsl": {
    "h": 78.261,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66371,
    "c": 0.14548,
    "h": 125
  },
  "luminance": 0.30558
}

Semantic roles & 50–950 ramp

primary
#7FA22F
secondary
#876EBF
accent
#49DE77
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA22F

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

Preview Lab → · Contrast checker → · Palette generator →

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