#7FA22C#7FA22C

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

Color values

HEX#7FA22C
RGBrgb(127, 162, 44)
HSLhsl(78, 57%, 40%)
HSVhsv(78, 73%, 64%)
CMYKcmyk(21.6%, 0%, 72.8%, 36.5%)
CIE-LABlab(62.11, -29.10, 54.14)
CIE-LCHlch(62.11, 61.47, 118.26°)
OKLaboklab(66.35% -0.0843 0.121)
OKLCHoklch(66.35% 0.147 124.9)
XYZxyz(22.1275, 30.5343, 7.1103)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA22C #4F2CA2
analogous
#A28A2C #7FA22C #44A22C
triadic
#7FA22C #2C7FA2 #A22C7F
tetradic
#7FA22C #2CA28A #4F2CA2 #A22C44
square
#7FA22C #2CA28A #4F2CA2 #A22C44
split-complementary
#7FA22C #2C44A2 #8A2CA2
monochromatic
#344212 #59721F #7FA22C #A2CB40 #B9D870

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA22C#FFFFFF#000000##000000
##7FA22C1.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)
#AB9716
Deuteranopia (green-blind)
#A69636
Tritanopia (blue-blind)
#859A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa22c;
/* rgb */ color: rgb(127, 162, 44);
/* oklch */ color: oklch(66.3% 0.147 124.9);
Tailwind
colors: {
  custom: {
    50: '#a7bd6d',
    500: '#7fa22c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa22c;
$custom-light: #a7bd6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa22c",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 77.797,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66348,
    "c": 0.14745,
    "h": 124.9
  },
  "luminance": 0.30535
}

Semantic roles & 50–950 ramp

primary
#7FA22C
secondary
#846ABF
accent
#47E175
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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