#2F8341#2F8341

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

Color values

HEX#2F8341
RGBrgb(47, 131, 65)
HSLhsl(133, 47%, 35%)
HSVhsv(133, 64%, 51%)
CMYKcmyk(64.1%, 0%, 50.4%, 48.6%)
CIE-LABlab(48.53, -40.23, 28.26)
CIE-LCHlch(48.53, 49.16, 144.91°)
OKLaboklab(54.27% -0.1087 0.0687)
OKLCHoklch(54.27% 0.129 147.7)
XYZxyz(10.2420, 17.2176, 7.7836)
Luminance0.1722 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8341 #832F71
analogous
#47832F #2F8341 #2F836B
triadic
#2F8341 #412F83 #83412F
tetradic
#2F8341 #2F4783 #832F71 #836B2F
square
#2F8341 #2F4783 #832F71 #836B2F
split-complementary
#2F8341 #6B2F83 #832F47
monochromatic
#0F2914 #1F562B #2F8341 #3FB057 #65C87A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F8341#FFFFFF#000000##FFFFFF
##2F83411.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)
#84783C
Deuteranopia (green-blind)
#7A7046
Tritanopia (blue-blind)
#178074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8341;
/* rgb */ color: rgb(47, 131, 65);
/* oklch */ color: oklch(54.3% 0.129 147.7);
Tailwind
colors: {
  custom: {
    50: '#71a877',
    500: '#2f8341',
    950: '#000000',
  },
}
SCSS
$custom: #2f8341;
$custom-light: #71a877;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8341",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 65
  },
  "hsl": {
    "h": 132.857,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54272,
    "c": 0.12853,
    "h": 147.7
  },
  "luminance": 0.17219
}

Semantic roles & 50–950 ramp

primary
#2F8341
secondary
#AF5F9E
accent
#51BAD7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2F8341

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

Preview Lab → · Contrast checker → · Palette generator →

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