#7FB162#7FB162

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

Color values

HEX#7FB162
RGBrgb(127, 177, 98)
HSLhsl(98, 34%, 54%)
HSVhsv(98, 45%, 69%)
CMYKcmyk(28.2%, 0%, 44.6%, 30.6%)
CIE-LABlab(67.15, -31.05, 35.13)
CIE-LCHlch(67.15, 46.89, 131.47°)
OKLaboklab(70.61% -0.0853 0.0855)
OKLCHoklch(70.61% 0.121 134.9)
XYZxyz(26.6785, 36.8373, 17.2576)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB162 #9462B1
analogous
#A7B162 #7FB162 #62B16D
triadic
#7FB162 #627FB1 #B1627F
tetradic
#7FB162 #62A7B1 #9462B1 #B16D62
square
#7FB162 #62A7B1 #9462B1 #B16D62
split-complementary
#7FB162 #6D62B1 #B162A7
monochromatic
#456633 #618F47 #7FB162 #A0C58B #C2DAB4

Accessibility & contrast

On white

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

On black

8.37
#7FB162 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB162
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB162#FFFFFF#000000##000000
##7FB1621.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fb162;
/* rgb */ color: rgb(127, 177, 98);
/* oklch */ color: oklch(70.6% 0.121 134.9);
Tailwind
colors: {
  custom: {
    50: '#a6c890',
    500: '#7fb162',
    950: '#000000',
  },
}
SCSS
$custom: #7fb162;
$custom-light: #a6c890;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb162",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 98
  },
  "hsl": {
    "h": 97.975,
    "s": 33.617,
    "l": 53.922
  },
  "oklch": {
    "l": 0.70609,
    "c": 0.1208,
    "h": 134.9
  },
  "luminance": 0.36838
}

Semantic roles & 50–950 ramp

primary
#7FB162
secondary
#BCA7C8
accent
#5ECAA2
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#0F130C
muted
#7F827D

Preview Lab

Preview with #7FB162

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

Preview Lab → · Contrast checker → · Palette generator →

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