#7FB970#7FB970

#7FB970 is a light, moderate green. Relative luminance 0.404; OKLCH L 72.8% C 0.118 H 139.3°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#7FB970
RGBrgb(127, 185, 112)
HSLhsl(108, 34%, 58%)
HSVhsv(108, 39%, 73%)
CMYKcmyk(31.4%, 0%, 39.5%, 27.5%)
CIE-LABlab(69.74, -32.86, 31.20)
CIE-LCHlch(69.74, 45.31, 136.48°)
OKLaboklab(72.77% -0.0897 0.0771)
OKLCHoklch(72.77% 0.118 139.3)
XYZxyz(29.0250, 40.3786, 21.5906)
Luminance0.4038 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB970 #AA70B9
analogous
#A3B970 #7FB970 #70B985
triadic
#7FB970 #707FB9 #B9707F
tetradic
#7FB970 #70A3B9 #AA70B9 #B98570
square
#7FB970 #70A3B9 #AA70B9 #B98570
split-complementary
#7FB970 #8570B9 #B970A3
monochromatic
#467539 #5E9E4D #7FB970 #A4CD99 #C9E1C2

Accessibility & contrast

On white

2.31
#7FB970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#7FB970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB970
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB970#FFFFFF#000000##000000
##7FB9701.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAE6B
Deuteranopia (green-blind)
#B4A874
Tritanopia (blue-blind)
#7CB4A7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7fb970;
/* rgb */ color: rgb(127, 185, 112);
/* oklch */ color: oklch(72.8% 0.118 139.3);
Tailwind
colors: {
  custom: {
    50: '#a6ce9a',
    500: '#7fb970',
    950: '#000000',
  },
}
SCSS
$custom: #7fb970;
$custom-light: #a6ce9a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb970",
  "rgb": {
    "r": 127,
    "g": 185,
    "b": 112
  },
  "hsl": {
    "h": 107.671,
    "s": 34.272,
    "l": 58.235
  },
  "oklch": {
    "l": 0.72769,
    "c": 0.1183,
    "h": 139.3
  },
  "luminance": 0.4038
}

Semantic roles & 50–950 ramp

primary
#7FB970
secondary
#CBB4D1
accent
#5DCAB4
background
#FAFCF9
surface
#F4F9F2
border
#CED2CC
text
#0F130E
muted
#7F827E

Preview Lab

Preview with #7FB970

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

Preview Lab → · Contrast checker → · Palette generator →

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