#2F7115#2F7115

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

Color values

HEX#2F7115
RGBrgb(47, 113, 21)
HSLhsl(103, 69%, 26%)
HSVhsv(103, 81%, 44%)
CMYKcmyk(58.4%, 0%, 81.4%, 55.7%)
CIE-LABlab(41.95, -38.10, 41.34)
CIE-LCHlch(41.95, 56.22, 132.67°)
OKLaboklab(48.7% -0.1051 0.0921)
OKLCHoklch(48.7% 0.14 138.8)
XYZxyz(7.2125, 12.4681, 2.7358)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7115 #571571
analogous
#5D7115 #2F7115 #157129
triadic
#2F7115 #152F71 #71152F
tetradic
#2F7115 #155D71 #571571 #712915
square
#2F7115 #155D71 #571571 #712915
split-complementary
#2F7115 #291571 #71155D
monochromatic
#0B1A05 #1A3D0B #2F7115 #44A51F #5AD729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F7115#FFFFFF#000000##FFFFFF
##2F71151.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)
#756600
Deuteranopia (green-blind)
#6C611F
Tritanopia (blue-blind)
#286D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f7115;
/* rgb */ color: rgb(47, 113, 21);
/* oklch */ color: oklch(48.7% 0.140 138.8);
Tailwind
colors: {
  custom: {
    50: '#709a5b',
    500: '#2f7115',
    950: '#000000',
  },
}
SCSS
$custom: #2f7115;
$custom-light: #709a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7115",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 21
  },
  "hsl": {
    "h": 103.043,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48698,
    "c": 0.13979,
    "h": 138.8
  },
  "luminance": 0.12469
}

Semantic roles & 50–950 ramp

primary
#2F7115
secondary
#883BA7
accent
#3CEBBA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F7115

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

Preview Lab → · Contrast checker → · Palette generator →

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