#2F774A#2F774A

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

Color values

HEX#2F774A
RGBrgb(47, 119, 74)
HSLhsl(143, 43%, 33%)
HSVhsv(143, 61%, 47%)
CMYKcmyk(60.5%, 0%, 37.8%, 53.3%)
CIE-LABlab(44.65, -33.48, 18.22)
CIE-LCHlch(44.65, 38.12, 151.44°)
OKLaboklab(51.13% -0.0908 0.0457)
OKLCHoklch(51.13% 0.102 153.3)
XYZxyz(9.0044, 14.2916, 8.7613)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F774A #772F5C
analogous
#38772F #2F774A #2F776E
triadic
#2F774A #4A2F77 #774A2F
tetradic
#2F774A #2F3877 #772F5C #776E2F
square
#2F774A #2F3877 #772F5C #776E2F
split-complementary
#2F774A #6E2F77 #772F38
monochromatic
#0C1F13 #1E4B2F #2F774A #40A365 #60C084

Accessibility & contrast

On white

5.44
#2F774A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2F774A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F774A
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F774A#FFFFFF#000000##FFFFFF
##2F774A1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776E47
Deuteranopia (green-blind)
#6D674D
Tritanopia (blue-blind)
#18766B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f774a;
/* rgb */ color: rgb(47, 119, 74);
/* oklch */ color: oklch(51.1% 0.102 153.3);
Tailwind
colors: {
  custom: {
    50: '#6f9f7d',
    500: '#2f774a',
    950: '#000000',
  },
}
SCSS
$custom: #2f774a;
$custom-light: #6f9f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f774a",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 74
  },
  "hsl": {
    "h": 142.5,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51128,
    "c": 0.10164,
    "h": 153.3
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#2F774A
secondary
#A75B8A
accent
#55A4D3
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #2F774A

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

Preview Lab → · Contrast checker → · Palette generator →

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