#7FA22E#7FA22E

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

Color values

HEX#7FA22E
RGBrgb(127, 162, 46)
HSLhsl(78, 56%, 41%)
HSVhsv(78, 72%, 64%)
CMYKcmyk(21.6%, 0%, 71.6%, 36.5%)
CIE-LABlab(62.13, -28.98, 53.40)
CIE-LCHlch(62.13, 60.76, 118.49°)
OKLaboklab(66.36% -0.0837 0.1198)
OKLCHoklch(66.36% 0.146 125)
XYZxyz(22.1660, 30.5497, 7.3131)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA22E #512EA2
analogous
#A28B2E #7FA22E #45A22E
triadic
#7FA22E #2E7FA2 #A22E7F
tetradic
#7FA22E #2EA28B #512EA2 #A22E45
square
#7FA22E #2EA28B #512EA2 #A22E45
split-complementary
#7FA22E #2E45A2 #8B2EA2
monochromatic
#344313 #5A7220 #7FA22E #A1CA43 #B9D773

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA22E#FFFFFF#000000##000000
##7FA22E1.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)
#AB971A
Deuteranopia (green-blind)
#A69638
Tritanopia (blue-blind)
#859A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa22e;
/* rgb */ color: rgb(127, 162, 46);
/* oklch */ color: oklch(66.4% 0.146 125.0);
Tailwind
colors: {
  custom: {
    50: '#a7bd6e',
    500: '#7fa22e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa22e;
$custom-light: #a7bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa22e",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 46
  },
  "hsl": {
    "h": 78.103,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66363,
    "c": 0.14616,
    "h": 125
  },
  "luminance": 0.3055
}

Semantic roles & 50–950 ramp

primary
#7FA22E
secondary
#866DBF
accent
#49DF76
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA22E

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

Preview Lab → · Contrast checker → · Palette generator →

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