#7FA116#7FA116

#7FA116 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.0% C 0.157 H 123.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7FA116
RGBrgb(127, 161, 22)
HSLhsl(75, 76%, 36%)
HSVhsv(75, 86%, 63%)
CMYKcmyk(21.1%, 0%, 86.3%, 36.9%)
CIE-LABlab(61.71, -29.61, 60.40)
CIE-LCHlch(61.71, 67.27, 116.12°)
OKLaboklab(65.99% -0.0872 0.1306)
OKLCHoklch(65.99% 0.157 123.7)
XYZxyz(21.6424, 30.0595, 5.4208)
Luminance0.3006 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA116 #3816A1
analogous
#A17D16 #7FA116 #3AA116
triadic
#7FA116 #167FA1 #A1167F
tetradic
#7FA116 #16A17D #3816A1 #A1163A
square
#7FA116 #16A17D #3816A1 #A1163A
split-complementary
#7FA116 #163AA1 #7D16A1
monochromatic
#2A3507 #556B0F #7FA116 #A9D71D #C0E64B

Accessibility & contrast

On white

2.99
#7FA116 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#7FA116 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA116
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA116#FFFFFF#000000##000000
##7FA1161.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A69527
Tritanopia (blue-blind)
#869989
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa116;
/* rgb */ color: rgb(127, 161, 22);
/* oklch */ color: oklch(66.0% 0.157 123.7);
Tailwind
colors: {
  custom: {
    50: '#a8bd64',
    500: '#7fa116',
    950: '#000000',
  },
}
SCSS
$custom: #7fa116;
$custom-light: #a8bd64;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa116",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 22
  },
  "hsl": {
    "h": 74.676,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65985,
    "c": 0.1571,
    "h": 123.7
  },
  "luminance": 0.3006
}

Semantic roles & 50–950 ramp

primary
#7FA116
secondary
#694BC8
accent
#35F364
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7FA116

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

Preview Lab → · Contrast checker → · Palette generator →

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