#7FAF22#7FAF22

#7FAF22 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.5% C 0.169 H 127.5°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7FAF22
RGBrgb(127, 175, 34)
HSLhsl(80, 67%, 41%)
HSVhsv(80, 81%, 69%)
CMYKcmyk(27.4%, 0%, 80.6%, 31.4%)
CIE-LABlab(65.97, -35.67, 61.06)
CIE-LCHlch(65.97, 70.72, 120.30°)
OKLaboklab(69.46% -0.1029 0.1339)
OKLCHoklch(69.46% 0.169 127.5)
XYZxyz(24.3712, 35.2869, 7.0401)
Luminance0.3529 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAF22 #5222AF
analogous
#AF9822 #7FAF22 #38AF22
triadic
#7FAF22 #227FAF #AF227F
tetradic
#7FAF22 #22AF98 #5222AF #AF2238
square
#7FAF22 #22AF98 #5222AF #AF2238
split-complementary
#7FAF22 #2238AF #9822AF
monochromatic
#35490E #5A7C18 #7FAF22 #A1D836 #B9E269

Accessibility & contrast

On white

2.61
#7FAF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#7FAF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAF22
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAF22#FFFFFF#000000##000000
##7FAF221.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B29F32
Tritanopia (blue-blind)
#84A795
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7faf22;
/* rgb */ color: rgb(127, 175, 34);
/* oklch */ color: oklch(69.5% 0.169 127.5);
Tailwind
colors: {
  custom: {
    50: '#a9c76a',
    500: '#7faf22',
    950: '#000000',
  },
}
SCSS
$custom: #7faf22;
$custom-light: #a9c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#7faf22",
  "rgb": {
    "r": 127,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 80.426,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.69461,
    "c": 0.16892,
    "h": 127.5
  },
  "luminance": 0.35287
}

Semantic roles & 50–950 ramp

primary
#7FAF22
secondary
#8765C8
accent
#3DEA78
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7FAF22

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

Preview Lab → · Contrast checker → · Palette generator →

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