#2F7149#2F7149

#2F7149 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.093 H 154.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2F7149
RGBrgb(47, 113, 73)
HSLhsl(144, 41%, 31%)
HSVhsv(144, 58%, 44%)
CMYKcmyk(58.4%, 0%, 35.4%, 55.7%)
CIE-LABlab(42.60, -30.96, 16.05)
CIE-LCHlch(42.60, 34.88, 152.59°)
OKLaboklab(49.45% -0.0842 0.0404)
OKLCHoklch(49.45% 0.093 154.4)
XYZxyz(8.2794, 12.8949, 8.3547)
Luminance0.1290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7149 #712F57
analogous
#36712F #2F7149 #2F716A
triadic
#2F7149 #492F71 #71492F
tetradic
#2F7149 #2F3671 #712F57 #716A2F
square
#2F7149 #2F3671 #712F57 #716A2F
split-complementary
#2F7149 #6A2F71 #712F36
monochromatic
#0B1B11 #1D462D #2F7149 #419C65 #5EBC83

Accessibility & contrast

On white

5.87
#2F7149 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2F7149 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7149
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7149#FFFFFF#000000##FFFFFF
##2F71491.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716846
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#1B7067
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2f7149;
/* rgb */ color: rgb(47, 113, 73);
/* oklch */ color: oklch(49.4% 0.093 154.4);
Tailwind
colors: {
  custom: {
    50: '#6e9a7c',
    500: '#2f7149',
    950: '#000000',
  },
}
SCSS
$custom: #2f7149;
$custom-light: #6e9a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7149",
  "rgb": {
    "r": 47,
    "g": 113,
    "b": 73
  },
  "hsl": {
    "h": 143.636,
    "s": 41.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.09338,
    "h": 154.4
  },
  "luminance": 0.12896
}

Semantic roles & 50–950 ramp

primary
#2F7149
secondary
#A25A86
accent
#57A1D1
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #2F7149

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

Preview Lab → · Contrast checker → · Palette generator →

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