#7FB22F#7FB22F

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

Color values

HEX#7FB22F
RGBrgb(127, 178, 47)
HSLhsl(83, 58%, 44%)
HSVhsv(83, 74%, 70%)
CMYKcmyk(28.7%, 0%, 73.6%, 30.2%)
CIE-LABlab(66.94, -36.36, 57.80)
CIE-LCHlch(66.94, 68.29, 122.17°)
OKLaboklab(70.27% -0.1038 0.1292)
OKLCHoklch(70.27% 0.166 128.8)
XYZxyz(25.1858, 36.5574, 8.4181)
Luminance0.3656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB22F #622FB2
analogous
#B2A42F #7FB22F #3EB22F
triadic
#7FB22F #2F7FB2 #B22F7F
tetradic
#7FB22F #2FB2A4 #622FB2 #B22F3E
square
#7FB22F #2FB2A4 #622FB2 #B22F3E
split-complementary
#7FB22F #2F3EB2 #A42FB2
monochromatic
#3A5115 #5C8222 #7FB22F #9ED04E #B8DD7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB22F#FFFFFF#000000##000000
##7FB22F1.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)
#BBA515
Deuteranopia (green-blind)
#B4A23B
Tritanopia (blue-blind)
#83AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb22f;
/* rgb */ color: rgb(127, 178, 47);
/* oklch */ color: oklch(70.3% 0.166 128.8);
Tailwind
colors: {
  custom: {
    50: '#a8c971',
    500: '#7fb22f',
    950: '#000000',
  },
}
SCSS
$custom: #7fb22f;
$custom-light: #a8c971;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb22f",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 83.359,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70274,
    "c": 0.16573,
    "h": 128.8
  },
  "luminance": 0.36558
}

Semantic roles & 50–950 ramp

primary
#7FB22F
secondary
#9677C6
accent
#46E183
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB22F

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

Preview Lab → · Contrast checker → · Palette generator →

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