#2F8347#2F8347

#2F8347 is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.4% C 0.123 H 149.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2F8347
RGBrgb(47, 131, 71)
HSLhsl(137, 47%, 35%)
HSVhsv(137, 64%, 51%)
CMYKcmyk(64.1%, 0%, 45.8%, 48.6%)
CIE-LABlab(48.62, -39.21, 25.12)
CIE-LCHlch(48.62, 46.57, 147.36°)
OKLaboklab(54.38% -0.1059 0.0618)
OKLCHoklch(54.38% 0.123 149.7)
XYZxyz(10.4251, 17.2908, 8.7481)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8347 #832F6B
analogous
#41832F #2F8347 #2F8371
triadic
#2F8347 #472F83 #83472F
tetradic
#2F8347 #2F4183 #832F6B #83712F
square
#2F8347 #2F4183 #832F6B #83712F
split-complementary
#2F8347 #712F83 #832F41
monochromatic
#0F2916 #1F562F #2F8347 #3FB05F #65C881

Accessibility & contrast

On white

4.71
#2F8347 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#2F8347 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8347
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8347#FFFFFF#000000##FFFFFF
##2F83471.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847842
Deuteranopia (green-blind)
#79714B
Tritanopia (blue-blind)
#148174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8347;
/* rgb */ color: rgb(47, 131, 71);
/* oklch */ color: oklch(54.4% 0.123 149.7);
Tailwind
colors: {
  custom: {
    50: '#71a87b',
    500: '#2f8347',
    950: '#000000',
  },
}
SCSS
$custom: #2f8347;
$custom-light: #71a87b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8347",
  "rgb": {
    "r": 47,
    "g": 131,
    "b": 71
  },
  "hsl": {
    "h": 137.143,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54377,
    "c": 0.12259,
    "h": 149.7
  },
  "luminance": 0.17292
}

Semantic roles & 50–950 ramp

primary
#2F8347
secondary
#AF5F98
accent
#51B1D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#081009
muted
#7B7F7B

Preview Lab

Preview with #2F8347

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

Preview Lab → · Contrast checker → · Palette generator →

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