#2F7B47#2F7B47

#2F7B47 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.2% C 0.111 H 151.0°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#2F7B47
RGBrgb(47, 123, 71)
HSLhsl(139, 45%, 33%)
HSVhsv(139, 62%, 48%)
CMYKcmyk(61.8%, 0%, 42.3%, 51.8%)
CIE-LABlab(45.94, -35.82, 21.64)
CIE-LCHlch(45.94, 41.85, 148.87°)
OKLaboklab(52.17% -0.0969 0.0537)
OKLCHoklch(52.17% 0.111 151)
XYZxyz(9.3919, 15.2243, 8.4037)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B47 #7B2F63
analogous
#3D7B2F #2F7B47 #2F7B6D
triadic
#2F7B47 #472F7B #7B472F
tetradic
#2F7B47 #2F3D7B #7B2F63 #7B6D2F
square
#2F7B47 #2F3D7B #7B2F63 #7B6D2F
split-complementary
#2F7B47 #6D2F7B #7B2F3D
monochromatic
#0D2214 #1E4F2D #2F7B47 #40A761 #62C380

Accessibility & contrast

On white

5.19
#2F7B47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#2F7B47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B47
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B47#FFFFFF#000000##FFFFFF
##2F7B471.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7143
Deuteranopia (green-blind)
#716A4A
Tritanopia (blue-blind)
#18796E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7b47;
/* rgb */ color: rgb(47, 123, 71);
/* oklch */ color: oklch(52.2% 0.111 151.0);
Tailwind
colors: {
  custom: {
    50: '#70a27b',
    500: '#2f7b47',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b47;
$custom-light: #70a27b;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b47",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 71
  },
  "hsl": {
    "h": 138.947,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.11079,
    "h": 151
  },
  "luminance": 0.15225
}

Semantic roles & 50–950 ramp

primary
#2F7B47
secondary
#AA5C91
accent
#53ACD4
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #2F7B47

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

Preview Lab → · Contrast checker → · Palette generator →

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