#2F711F#2F711F

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

Color values

HEX#2F711F
RGBrgb(47, 113, 31)
HSLhsl(108, 57%, 28%)
HSVhsv(108, 73%, 44%)
CMYKcmyk(58.4%, 0%, 72.6%, 55.7%)
CIE-LABlab(42.02, -37.31, 37.52)
CIE-LCHlch(42.02, 52.91, 134.84°)
OKLaboklab(48.78% -0.1023 0.0856)
OKLCHoklch(48.78% 0.133 140.1)
XYZxyz(7.3244, 12.5129, 3.3253)
Luminance0.1251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F711F #611F71
analogous
#58711F #2F711F #1F7138
triadic
#2F711F #1F2F71 #711F2F
tetradic
#2F711F #1F5871 #611F71 #71381F
square
#2F711F #1F5871 #611F71 #71381F
split-complementary
#2F711F #381F71 #711F58
monochromatic
#0A1807 #1B4112 #2F711F #43A12C #5BCB40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F711F#FFFFFF#000000##FFFFFF
##2F711F1.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)
#746713
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#276D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f711f;
/* rgb */ color: rgb(47, 113, 31);
/* oklch */ color: oklch(48.8% 0.133 140.1);
Tailwind
colors: {
  custom: {
    50: '#6f9a60',
    500: '#2f711f',
    950: '#000000',
  },
}
SCSS
$custom: #2f711f;
$custom-light: #6f9a60;
$custom-dark: #000000;
JSON
{
  "hex": "#2f711f",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 31
  },
  "hsl": {
    "h": 108.293,
    "s": 56.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48777,
    "c": 0.13345,
    "h": 140.1
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

primary
#2F711F
secondary
#9347A5
accent
#48E0C2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #2F711F

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

Preview Lab → · Contrast checker → · Palette generator →

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