#2F7116#2F7116

#2F7116 is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.139 H 138.9°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#2F7116
RGBrgb(47, 113, 22)
HSLhsl(104, 67%, 26%)
HSVhsv(104, 81%, 44%)
CMYKcmyk(58.4%, 0%, 80.5%, 55.7%)
CIE-LABlab(41.96, -38.04, 40.99)
CIE-LCHlch(41.96, 55.92, 132.86°)
OKLaboklab(48.7% -0.1049 0.0916)
OKLCHoklch(48.7% 0.139 138.9)
XYZxyz(7.2220, 12.4719, 2.7856)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7116 #581671
analogous
#5D7116 #2F7116 #16712B
triadic
#2F7116 #162F71 #71162F
tetradic
#2F7116 #165D71 #581671 #712B16
square
#2F7116 #165D71 #581671 #712B16
split-complementary
#2F7116 #2B1671 #71165D
monochromatic
#0B1A05 #1A3E0C #2F7116 #44A420 #5AD62C

Accessibility & contrast

On white

6.01
#2F7116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2F7116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7116
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7116#FFFFFF#000000##FFFFFF
##2F71161.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756601
Deuteranopia (green-blind)
#6C6120
Tritanopia (blue-blind)
#286D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f7116;
/* rgb */ color: rgb(47, 113, 22);
/* oklch */ color: oklch(48.7% 0.139 138.9);
Tailwind
colors: {
  custom: {
    50: '#709a5b',
    500: '#2f7116',
    950: '#000000',
  },
}
SCSS
$custom: #2f7116;
$custom-light: #709a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7116",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 22
  },
  "hsl": {
    "h": 103.516,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.48704,
    "c": 0.13922,
    "h": 138.9
  },
  "luminance": 0.12473
}

Semantic roles & 50–950 ramp

primary
#2F7116
secondary
#8A3CA7
accent
#3EEABB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7116

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

Preview Lab → · Contrast checker → · Palette generator →

#2F7116 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva