#2F774E#2F774E

#2F774E is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.2% C 0.098 H 155.5°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2F774E
RGBrgb(47, 119, 78)
HSLhsl(146, 43%, 33%)
HSVhsv(146, 61%, 47%)
CMYKcmyk(60.5%, 0%, 34.5%, 53.3%)
CIE-LABlab(44.73, -32.65, 16.02)
CIE-LCHlch(44.73, 36.37, 153.87°)
OKLaboklab(51.22% -0.0888 0.0404)
OKLCHoklch(51.22% 0.098 155.5)
XYZxyz(9.1435, 14.3472, 9.4937)
Luminance0.1435 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F774E #772F58
analogous
#34772F #2F774E #2F7772
triadic
#2F774E #4E2F77 #774E2F
tetradic
#2F774E #2F3477 #772F58 #77722F
square
#2F774E #2F3477 #772F58 #77722F
split-complementary
#2F774E #722F77 #772F34
monochromatic
#0C1F14 #1E4B31 #2F774E #40A36B #60C08A

Accessibility & contrast

On white

5.43
#2F774E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F774E
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F774E#FFFFFF#000000##FFFFFF
##2F774E1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776E4B
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#16766C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f774e;
/* rgb */ color: rgb(47, 119, 78);
/* oklch */ color: oklch(51.2% 0.098 155.5);
Tailwind
colors: {
  custom: {
    50: '#6f9f80',
    500: '#2f774e',
    950: '#000000',
  },
}
SCSS
$custom: #2f774e;
$custom-light: #6f9f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2f774e",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 78
  },
  "hsl": {
    "h": 145.833,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51218,
    "c": 0.09756,
    "h": 155.5
  },
  "luminance": 0.14348
}

Semantic roles & 50–950 ramp

primary
#2F774E
secondary
#A75B86
accent
#559DD3
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #2F774E

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

Preview Lab → · Contrast checker → · Palette generator →

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