#2F711E#2F711E

#2F711E is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.134 H 139.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2F711E
RGBrgb(47, 113, 30)
HSLhsl(108, 58%, 28%)
HSVhsv(108, 73%, 44%)
CMYKcmyk(58.4%, 0%, 73.5%, 55.7%)
CIE-LABlab(42.01, -37.41, 37.94)
CIE-LCHlch(42.01, 53.28, 134.60°)
OKLaboklab(48.77% -0.1027 0.0864)
OKLCHoklch(48.77% 0.134 139.9)
XYZxyz(7.3114, 12.5077, 3.2570)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F711E #601E71
analogous
#58711E #2F711E #1E7136
triadic
#2F711E #1E2F71 #711E2F
tetradic
#2F711E #1E5871 #601E71 #71361E
square
#2F711E #1E5871 #601E71 #71361E
split-complementary
#2F711E #361E71 #711E58
monochromatic
#0A1806 #1B4111 #2F711E #43A12B #5BCC3E

Accessibility & contrast

On white

6.00
#2F711E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2F711E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F711E
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F711E#FFFFFF#000000##FFFFFF
##2F711E1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746711
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#276D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f711e;
/* rgb */ color: rgb(47, 113, 30);
/* oklch */ color: oklch(48.8% 0.134 139.9);
Tailwind
colors: {
  custom: {
    50: '#6f9a5f',
    500: '#2f711e',
    950: '#000000',
  },
}
SCSS
$custom: #2f711e;
$custom-light: #6f9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f711e",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 30
  },
  "hsl": {
    "h": 107.711,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48768,
    "c": 0.13416,
    "h": 139.9
  },
  "luminance": 0.12508
}

Semantic roles & 50–950 ramp

primary
#2F711E
secondary
#9246A5
accent
#47E1C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F711E

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

Preview Lab → · Contrast checker → · Palette generator →

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