#2F711A#2F711A

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

Color values

HEX#2F711A
RGBrgb(47, 113, 26)
HSLhsl(106, 63%, 27%)
HSVhsv(106, 77%, 44%)
CMYKcmyk(58.4%, 0%, 77%, 55.7%)
CIE-LABlab(41.98, -37.74, 39.53)
CIE-LCHlch(41.98, 54.66, 133.67°)
OKLaboklab(48.73% -0.1038 0.0891)
OKLCHoklch(48.73% 0.137 139.4)
XYZxyz(7.2636, 12.4886, 3.0048)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F711A #5C1A71
analogous
#5B711A #2F711A #1A7130
triadic
#2F711A #1A2F71 #711A2F
tetradic
#2F711A #1A5B71 #5C1A71 #71301A
square
#2F711A #1A5B71 #5C1A71 #71301A
split-complementary
#2F711A #301A71 #711A5B
monochromatic
#0A1906 #1A3F0F #2F711A #44A325 #5AD035

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F711A#FFFFFF#000000##FFFFFF
##2F711A1.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)
#746609
Deuteranopia (green-blind)
#6C6123
Tritanopia (blue-blind)
#286D60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2f711a;
/* rgb */ color: rgb(47, 113, 26);
/* oklch */ color: oklch(48.7% 0.137 139.4);
Tailwind
colors: {
  custom: {
    50: '#709a5d',
    500: '#2f711a',
    950: '#000000',
  },
}
SCSS
$custom: #2f711a;
$custom-light: #709a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f711a",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 26
  },
  "hsl": {
    "h": 105.517,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.48734,
    "c": 0.13684,
    "h": 139.4
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

primary
#2F711A
secondary
#8E41A6
accent
#42E6BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #2F711A

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

Preview Lab → · Contrast checker → · Palette generator →

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