#7FB261#7FB261

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

Color values

HEX#7FB261
RGBrgb(127, 178, 97)
HSLhsl(98, 34%, 54%)
HSVhsv(98, 46%, 70%)
CMYKcmyk(28.7%, 0%, 45.5%, 30.2%)
CIE-LABlab(67.44, -31.65, 36.00)
CIE-LCHlch(67.44, 47.94, 131.32°)
OKLaboklab(70.83% -0.087 0.0874)
OKLCHoklch(70.83% 0.123 134.9)
XYZxyz(26.8298, 37.2150, 17.0766)
Luminance0.3722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB261 #9461B2
analogous
#A8B261 #7FB261 #61B26C
triadic
#7FB261 #617FB2 #B2617F
tetradic
#7FB261 #61A8B2 #9461B2 #B26C61
square
#7FB261 #61A8B2 #9461B2 #B26C61
split-complementary
#7FB261 #6C61B2 #B261A8
monochromatic
#456732 #619046 #7FB261 #A0C68A #C2DAB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB261#FFFFFF#000000##000000
##7FB2611.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)
#B8A75B
Deuteranopia (green-blind)
#B0A366
Tritanopia (blue-blind)
#7FAD9F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb261;
/* rgb */ color: rgb(127, 178, 97);
/* oklch */ color: oklch(70.8% 0.123 134.9);
Tailwind
colors: {
  custom: {
    50: '#a6c98f',
    500: '#7fb261',
    950: '#000000',
  },
}
SCSS
$custom: #7fb261;
$custom-light: #a6c98f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb261",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 97
  },
  "hsl": {
    "h": 97.778,
    "s": 34.468,
    "l": 53.922
  },
  "oklch": {
    "l": 0.70834,
    "c": 0.12336,
    "h": 134.9
  },
  "luminance": 0.37216
}

Semantic roles & 50–950 ramp

primary
#7FB261
secondary
#BCA6C9
accent
#5DCBA2
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7FB261

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

Preview Lab → · Contrast checker → · Palette generator →

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