#7FB22E#7FB22E

#7FB22E is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.3% C 0.166 H 128.7°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7FB22E
RGBrgb(127, 178, 46)
HSLhsl(83, 59%, 44%)
HSVhsv(83, 74%, 70%)
CMYKcmyk(28.7%, 0%, 74.2%, 30.2%)
CIE-LABlab(66.94, -36.42, 58.15)
CIE-LCHlch(66.94, 68.62, 122.06°)
OKLaboklab(70.27% -0.1041 0.1297)
OKLCHoklch(70.27% 0.166 128.7)
XYZxyz(25.1659, 36.5494, 8.3131)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB22E #612EB2
analogous
#B2A32E #7FB22E #3DB22E
triadic
#7FB22E #2E7FB2 #B22E7F
tetradic
#7FB22E #2EB2A3 #612EB2 #B22E3D
square
#7FB22E #2EB2A3 #612EB2 #B22E3D
split-complementary
#7FB22E #2E3DB2 #A32EB2
monochromatic
#3A5115 #5C8121 #7FB22E #9ED14C #B8DD7D

Accessibility & contrast

On white

2.53
#7FB22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#7FB22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB22E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB22E#FFFFFF#000000##000000
##7FB22E1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA513
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#83AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb22e;
/* rgb */ color: rgb(127, 178, 46);
/* oklch */ color: oklch(70.3% 0.166 128.7);
Tailwind
colors: {
  custom: {
    50: '#a8c970',
    500: '#7fb22e',
    950: '#000000',
  },
}
SCSS
$custom: #7fb22e;
$custom-light: #a8c970;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb22e",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 46
  },
  "hsl": {
    "h": 83.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.70267,
    "c": 0.16633,
    "h": 128.7
  },
  "luminance": 0.3655
}

Semantic roles & 50–950 ramp

primary
#7FB22E
secondary
#9576C6
accent
#46E282
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB22E

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

Preview Lab → · Contrast checker → · Palette generator →

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