#2F8247#2F8247

#2F8247 is a mid, vivid green. Relative luminance 0.170; OKLCH L 54.1% C 0.121 H 149.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2F8247
RGBrgb(47, 130, 71)
HSLhsl(137, 47%, 35%)
HSVhsv(137, 64%, 51%)
CMYKcmyk(63.8%, 0%, 45.4%, 49%)
CIE-LABlab(48.29, -38.80, 24.69)
CIE-LCHlch(48.29, 45.99, 147.53°)
OKLaboklab(54.1% -0.1048 0.0608)
OKLCHoklch(54.1% 0.121 149.9)
XYZxyz(10.2915, 17.0235, 8.7035)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8247 #822F6A
analogous
#41822F #2F8247 #2F8271
triadic
#2F8247 #472F82 #82472F
tetradic
#2F8247 #2F4182 #822F6A #82712F
square
#2F8247 #2F4182 #822F6A #82712F
split-complementary
#2F8247 #712F82 #822F41
monochromatic
#0E2816 #1F552E #2F8247 #3FAF60 #64C781

Accessibility & contrast

On white

4.77
#2F8247 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#2F8247 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8247
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8247#FFFFFF#000000##FFFFFF
##2F82471.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837743
Deuteranopia (green-blind)
#78704B
Tritanopia (blue-blind)
#158074
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2f8247;
/* rgb */ color: rgb(47, 130, 71);
/* oklch */ color: oklch(54.1% 0.121 149.9);
Tailwind
colors: {
  custom: {
    50: '#71a77b',
    500: '#2f8247',
    950: '#000000',
  },
}
SCSS
$custom: #2f8247;
$custom-light: #71a77b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8247",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 71
  },
  "hsl": {
    "h": 137.349,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.54101,
    "c": 0.12114,
    "h": 149.9
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#2F8247
secondary
#AE5F97
accent
#51B0D7
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F8247

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

Preview Lab → · Contrast checker → · Palette generator →

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