#2F774F#2F774F

#2F774F is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.2% C 0.097 H 156.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2F774F
RGBrgb(47, 119, 79)
HSLhsl(147, 43%, 33%)
HSVhsv(147, 61%, 47%)
CMYKcmyk(60.5%, 0%, 33.6%, 53.3%)
CIE-LABlab(44.75, -32.44, 15.46)
CIE-LCHlch(44.75, 35.93, 154.51°)
OKLaboklab(51.24% -0.0883 0.0391)
OKLCHoklch(51.24% 0.097 156.1)
XYZxyz(9.1796, 14.3616, 9.6839)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F774F #772F57
analogous
#33772F #2F774F #2F7773
triadic
#2F774F #4F2F77 #774F2F
tetradic
#2F774F #2F3377 #772F57 #77732F
square
#2F774F #2F3377 #772F57 #77732F
split-complementary
#2F774F #732F77 #772F33
monochromatic
#0C1F15 #1E4B32 #2F774F #40A36C #60C08B

Accessibility & contrast

On white

5.42
#2F774F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2F774F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F774F
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F774F#FFFFFF#000000##FFFFFF
##2F774F1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766E4D
Deuteranopia (green-blind)
#6C6752
Tritanopia (blue-blind)
#15766C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f774f;
/* rgb */ color: rgb(47, 119, 79);
/* oklch */ color: oklch(51.2% 0.097 156.1);
Tailwind
colors: {
  custom: {
    50: '#6f9f80',
    500: '#2f774f',
    950: '#000000',
  },
}
SCSS
$custom: #2f774f;
$custom-light: #6f9f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2f774f",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 79
  },
  "hsl": {
    "h": 146.667,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51241,
    "c": 0.09656,
    "h": 156.1
  },
  "luminance": 0.14363
}

Semantic roles & 50–950 ramp

primary
#2F774F
secondary
#A75B85
accent
#559BD3
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #2F774F

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

Preview Lab → · Contrast checker → · Palette generator →

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