#2F6C11#2F6C11

#2F6C11 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.2% C 0.136 H 137.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2F6C11
RGBrgb(47, 108, 17)
HSLhsl(100, 73%, 25%)
HSVhsv(100, 84%, 42%)
CMYKcmyk(56.5%, 0%, 84.3%, 57.6%)
CIE-LABlab(40.20, -36.34, 41.01)
CIE-LCHlch(40.20, 54.79, 131.55°)
OKLaboklab(47.24% -0.1006 0.0908)
OKLCHoklch(47.24% 0.136 137.9)
XYZxyz(6.6358, 11.3694, 2.3750)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F6C11 #4E116C
analogous
#5D6C11 #2F6C11 #116C21
triadic
#2F6C11 #112F6C #6C112F
tetradic
#2F6C11 #115D6C #4E116C #6C2111
square
#2F6C11 #115D6C #4E116C #6C2111
split-complementary
#2F6C11 #21116C #6C115D
monochromatic
#0C1A04 #183709 #2F6C11 #46A119 #5DD622

Accessibility & contrast

On white

6.41
#2F6C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#2F6C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F6C11
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F6C11#FFFFFF#000000##FFFFFF
##2F6C111.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#685D1C
Tritanopia (blue-blind)
#2A685B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2f6c11;
/* rgb */ color: rgb(47, 108, 17);
/* oklch */ color: oklch(47.2% 0.136 137.9);
Tailwind
colors: {
  custom: {
    50: '#6f9758',
    500: '#2f6c11',
    950: '#000000',
  },
}
SCSS
$custom: #2f6c11;
$custom-light: #6f9758;
$custom-dark: #000000;
JSON
{
  "hex": "#2f6c11",
  "rgb": {
    "r": 47,
    "g": 108,
    "b": 17
  },
  "hsl": {
    "h": 100.22,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.47243,
    "c": 0.13554,
    "h": 137.9
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#2F6C11
secondary
#7F35A4
accent
#38EFB3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #2F6C11

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

Preview Lab → · Contrast checker → · Palette generator →

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