#2F8343#2F8343

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

Color values

HEX#2F8343
RGBrgb(47, 131, 67)
HSLhsl(134, 47%, 35%)
HSVhsv(134, 64%, 51%)
CMYKcmyk(64.1%, 0%, 48.9%, 48.6%)
CIE-LABlab(48.56, -39.90, 27.22)
CIE-LCHlch(48.56, 48.30, 145.70°)
OKLaboklab(54.31% -0.1077 0.0664)
OKLCHoklch(54.31% 0.127 148.4)
XYZxyz(10.3010, 17.2412, 8.0941)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8343 #832F6F
analogous
#45832F #2F8343 #2F836D
triadic
#2F8343 #432F83 #83432F
tetradic
#2F8343 #2F4583 #832F6F #836D2F
square
#2F8343 #2F4583 #832F6F #836D2F
split-complementary
#2F8343 #6D2F83 #832F45
monochromatic
#0F2915 #1F562C #2F8343 #3FB05A #65C87C

Accessibility & contrast

On white

4.72
#2F8343 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2F8343 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8343
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8343#FFFFFF#000000##FFFFFF
##2F83431.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84783E
Deuteranopia (green-blind)
#7A7047
Tritanopia (blue-blind)
#168074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8343;
/* rgb */ color: rgb(47, 131, 67);
/* oklch */ color: oklch(54.3% 0.127 148.4);
Tailwind
colors: {
  custom: {
    50: '#71a878',
    500: '#2f8343',
    950: '#000000',
  },
}
SCSS
$custom: #2f8343;
$custom-light: #71a878;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8343",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 67
  },
  "hsl": {
    "h": 134.286,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54305,
    "c": 0.12657,
    "h": 148.4
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#2F8343
secondary
#AF5F9C
accent
#51B7D7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2F8343

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

Preview Lab → · Contrast checker → · Palette generator →

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