#2F8147#2F8147

#2F8147 is a mid, moderate green. Relative luminance 0.168; OKLCH L 53.8% C 0.120 H 150.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2F8147
RGBrgb(47, 129, 71)
HSLhsl(138, 47%, 35%)
HSVhsv(138, 64%, 51%)
CMYKcmyk(63.6%, 0%, 45%, 49.4%)
CIE-LABlab(47.95, -38.38, 24.26)
CIE-LCHlch(47.95, 45.40, 147.70°)
OKLaboklab(53.83% -0.1037 0.0598)
OKLCHoklch(53.83% 0.12 150)
XYZxyz(10.1591, 16.7588, 8.6594)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8147 #812F69
analogous
#40812F #2F8147 #2F8170
triadic
#2F8147 #472F81 #81472F
tetradic
#2F8147 #2F4081 #812F69 #81702F
square
#2F8147 #2F4081 #812F69 #81702F
split-complementary
#2F8147 #702F81 #812F40
monochromatic
#0E2716 #1F542E #2F8147 #3FAE60 #64C681

Accessibility & contrast

On white

4.83
#2F8147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#2F8147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8147
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8147#FFFFFF#000000##FFFFFF
##2F81471.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827643
Deuteranopia (green-blind)
#776F4B
Tritanopia (blue-blind)
#157F73
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2f8147;
/* rgb */ color: rgb(47, 129, 71);
/* oklch */ color: oklch(53.8% 0.120 150.0);
Tailwind
colors: {
  custom: {
    50: '#71a67b',
    500: '#2f8147',
    950: '#000000',
  },
}
SCSS
$custom: #2f8147;
$custom-light: #71a67b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8147",
  "rgb": {
    "r": 47,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 137.561,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53826,
    "c": 0.11968,
    "h": 150
  },
  "luminance": 0.1676
}

Semantic roles & 50–950 ramp

primary
#2F8147
secondary
#AD5E96
accent
#52AFD6
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F8147

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

Preview Lab → · Contrast checker → · Palette generator →

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