#7FB416#7FB416

#7FB416 is a light, vivid yellow-green. Relative luminance 0.372; OKLCH L 70.6% C 0.179 H 128.1°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7FB416
RGBrgb(127, 180, 22)
HSLhsl(80, 78%, 40%)
HSVhsv(80, 88%, 71%)
CMYKcmyk(29.4%, 0%, 87.8%, 29.4%)
CIE-LABlab(67.44, -38.35, 65.24)
CIE-LCHlch(67.44, 75.67, 120.45°)
OKLaboklab(70.64% -0.1108 0.1411)
OKLCHoklch(70.64% 0.179 128.1)
XYZxyz(25.2185, 37.2118, 6.6128)
Luminance0.3721 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB416 #4B16B4
analogous
#B49A16 #7FB416 #30B416
triadic
#7FB416 #167FB4 #B4167F
tetradic
#7FB416 #16B49A #4B16B4 #B41630
square
#7FB416 #16B49A #4B16B4 #B41630
split-complementary
#7FB416 #1630B4 #9A16B4
monochromatic
#324709 #597D0F #7FB416 #A3E423 #BAEB5A

Accessibility & contrast

On white

2.49
#7FB416 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#7FB416 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB416
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB416#FFFFFF#000000##000000
##7FB4161.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#B6A32C
Tritanopia (blue-blind)
#84AB99
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb416;
/* rgb */ color: rgb(127, 180, 22);
/* oklch */ color: oklch(70.6% 0.179 128.1);
Tailwind
colors: {
  custom: {
    50: '#a9ca67',
    500: '#7fb416',
    950: '#000000',
  },
}
SCSS
$custom: #7fb416;
$custom-light: #a9ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb416",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 22
  },
  "hsl": {
    "h": 80.127,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.70639,
    "c": 0.17937,
    "h": 128.1
  },
  "luminance": 0.37212
}

Semantic roles & 50–950 ramp

primary
#7FB416
secondary
#7F58CE
accent
#33F574
background
#FAFCF6
surface
#F4F8EB
border
#CED1C6
text
#101307
muted
#7F827A

Preview Lab

Preview with #7FB416

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

Preview Lab → · Contrast checker → · Palette generator →

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