#2F7747#2F7747

#2F7747 is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.1% C 0.105 H 151.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#2F7747
RGBrgb(47, 119, 71)
HSLhsl(140, 43%, 33%)
HSVhsv(140, 61%, 47%)
CMYKcmyk(60.5%, 0%, 40.3%, 53.3%)
CIE-LABlab(44.59, -34.08, 19.87)
CIE-LCHlch(44.59, 39.44, 149.76°)
OKLaboklab(51.06% -0.0923 0.0495)
OKLCHoklch(51.06% 0.105 151.8)
XYZxyz(8.9058, 14.2521, 8.2416)
Luminance0.1425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7747 #772F5F
analogous
#3B772F #2F7747 #2F776B
triadic
#2F7747 #472F77 #77472F
tetradic
#2F7747 #2F3B77 #772F5F #776B2F
square
#2F7747 #2F3B77 #772F5F #776B2F
split-complementary
#2F7747 #6B2F77 #772F3B
monochromatic
#0C1F13 #1E4B2D #2F7747 #40A361 #60C080

Accessibility & contrast

On white

5.45
#2F7747 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#2F7747 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7747
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7747#FFFFFF#000000##FFFFFF
##2F77471.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776E44
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#1A756B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2f7747;
/* rgb */ color: rgb(47, 119, 71);
/* oklch */ color: oklch(51.1% 0.105 151.8);
Tailwind
colors: {
  custom: {
    50: '#6f9f7a',
    500: '#2f7747',
    950: '#000000',
  },
}
SCSS
$custom: #2f7747;
$custom-light: #6f9f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7747",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 71
  },
  "hsl": {
    "h": 140,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.10473,
    "h": 151.8
  },
  "luminance": 0.14253
}

Semantic roles & 50–950 ramp

primary
#2F7747
secondary
#A75B8E
accent
#55A9D3
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #2F7747

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

Preview Lab → · Contrast checker → · Palette generator →

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