#7FB161#7FB161

#7FB161 is a light, vivid yellow-green. Relative luminance 0.368; OKLCH L 70.6% C 0.122 H 134.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7FB161
RGBrgb(127, 177, 97)
HSLhsl(98, 34%, 54%)
HSVhsv(98, 45%, 69%)
CMYKcmyk(28.2%, 0%, 45.2%, 30.6%)
CIE-LABlab(67.14, -31.18, 35.63)
CIE-LCHlch(67.14, 47.35, 131.19°)
OKLaboklab(70.59% -0.0857 0.0866)
OKLCHoklch(70.59% 0.122 134.7)
XYZxyz(26.6316, 36.8185, 17.0105)
Luminance0.3682 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB161 #9361B1
analogous
#A7B161 #7FB161 #61B16B
triadic
#7FB161 #617FB1 #B1617F
tetradic
#7FB161 #61A7B1 #9361B1 #B16B61
square
#7FB161 #61A7B1 #9361B1 #B16B61
split-complementary
#7FB161 #6B61B1 #B161A7
monochromatic
#456532 #618E46 #7FB161 #A0C58A #C1D9B3

Accessibility & contrast

On white

2.51
#7FB161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#7FB161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB161
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB161#FFFFFF#000000##000000
##7FB1611.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A65B
Deuteranopia (green-blind)
#AFA266
Tritanopia (blue-blind)
#7FAC9E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb161;
/* rgb */ color: rgb(127, 177, 97);
/* oklch */ color: oklch(70.6% 0.122 134.7);
Tailwind
colors: {
  custom: {
    50: '#a6c88f',
    500: '#7fb161',
    950: '#000000',
  },
}
SCSS
$custom: #7fb161;
$custom-light: #a6c88f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb161",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 97
  },
  "hsl": {
    "h": 97.5,
    "s": 33.898,
    "l": 53.725
  },
  "oklch": {
    "l": 0.70593,
    "c": 0.12185,
    "h": 134.7
  },
  "luminance": 0.36819
}

Semantic roles & 50–950 ramp

primary
#7FB161
secondary
#BBA6C8
accent
#5ECAA1
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7FB161

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

Preview Lab → · Contrast checker → · Palette generator →

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