#2F7347#2F7347

#2F7347 is a mid, moderate green. Relative luminance 0.133; OKLCH L 50.0% C 0.099 H 152.7°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#2F7347
RGBrgb(47, 115, 71)
HSLhsl(141, 42%, 32%)
HSVhsv(141, 59%, 45%)
CMYKcmyk(59.1%, 0%, 38.3%, 54.9%)
CIE-LABlab(43.24, -32.29, 18.07)
CIE-LCHlch(43.24, 37.00, 150.76°)
OKLaboklab(49.96% -0.0876 0.0452)
OKLCHoklch(49.96% 0.099 152.7)
XYZxyz(8.4397, 13.3200, 8.0863)
Luminance0.1332 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7347 #732F5B
analogous
#39732F #2F7347 #2F7369
triadic
#2F7347 #472F73 #73472F
tetradic
#2F7347 #2F3973 #732F5B #73692F
square
#2F7347 #2F3973 #732F5B #73692F
split-complementary
#2F7347 #692F73 #732F39
monochromatic
#0B1C11 #1D482C #2F7347 #419E62 #5FBE80

Accessibility & contrast

On white

5.73
#2F7347 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#2F7347 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7347
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7347#FFFFFF#000000##FFFFFF
##2F73471.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736A44
Deuteranopia (green-blind)
#6A644A
Tritanopia (blue-blind)
#1B7168
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f7347;
/* rgb */ color: rgb(47, 115, 71);
/* oklch */ color: oklch(50.0% 0.099 152.7);
Tailwind
colors: {
  custom: {
    50: '#6e9c7a',
    500: '#2f7347',
    950: '#000000',
  },
}
SCSS
$custom: #2f7347;
$custom-light: #6e9c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7347",
  "rgb": {
    "r": 47,
    "g": 115,
    "b": 71
  },
  "hsl": {
    "h": 141.176,
    "s": 41.975,
    "l": 31.765
  },
  "oklch": {
    "l": 0.49956,
    "c": 0.09857,
    "h": 152.7
  },
  "luminance": 0.13321
}

Semantic roles & 50–950 ramp

primary
#2F7347
secondary
#A45A8A
accent
#56A6D2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #2F7347

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

Preview Lab → · Contrast checker → · Palette generator →

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