#2F8340#2F8340

#2F8340 is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.3% C 0.130 H 147.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2F8340
RGBrgb(47, 131, 64)
HSLhsl(132, 47%, 35%)
HSVhsv(132, 64%, 51%)
CMYKcmyk(64.1%, 0%, 51.1%, 48.6%)
CIE-LABlab(48.52, -40.39, 28.78)
CIE-LCHlch(48.52, 49.59, 144.53°)
OKLaboklab(54.26% -0.1091 0.0698)
OKLCHoklch(54.26% 0.13 147.4)
XYZxyz(10.2133, 17.2061, 7.6324)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8340 #832F72
analogous
#48832F #2F8340 #2F836A
triadic
#2F8340 #402F83 #83402F
tetradic
#2F8340 #2F4883 #832F72 #836A2F
square
#2F8340 #2F4883 #832F72 #836A2F
split-complementary
#2F8340 #6A2F83 #832F48
monochromatic
#0F2914 #1F562A #2F8340 #3FB056 #65C879

Accessibility & contrast

On white

4.73
#2F8340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2F8340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8340
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8340#FFFFFF#000000##FFFFFF
##2F83401.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85783A
Deuteranopia (green-blind)
#7A7045
Tritanopia (blue-blind)
#188073
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8340;
/* rgb */ color: rgb(47, 131, 64);
/* oklch */ color: oklch(54.3% 0.130 147.4);
Tailwind
colors: {
  custom: {
    50: '#71a876',
    500: '#2f8340',
    950: '#000000',
  },
}
SCSS
$custom: #2f8340;
$custom-light: #71a876;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8340",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 132.143,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54255,
    "c": 0.1295,
    "h": 147.4
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#2F8340
secondary
#AF5F9F
accent
#51BCD7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B

Preview Lab

Preview with #2F8340

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

Preview Lab → · Contrast checker → · Palette generator →

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