#2F774D#2F774D

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

Color values

HEX#2F774D
RGBrgb(47, 119, 77)
HSLhsl(145, 43%, 33%)
HSVhsv(145, 61%, 47%)
CMYKcmyk(60.5%, 0%, 35.3%, 53.3%)
CIE-LABlab(44.71, -32.86, 16.57)
CIE-LCHlch(44.71, 36.80, 153.24°)
OKLaboklab(51.2% -0.0893 0.0417)
OKLCHoklch(51.2% 0.099 155)
XYZxyz(9.1079, 14.3330, 9.3063)
Luminance0.1433 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F774D #772F59
analogous
#35772F #2F774D #2F7771
triadic
#2F774D #4D2F77 #774D2F
tetradic
#2F774D #2F3577 #772F59 #77712F
square
#2F774D #2F3577 #772F59 #77712F
split-complementary
#2F774D #712F77 #772F35
monochromatic
#0C1F14 #1E4B31 #2F774D #40A369 #60C088

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F774D#FFFFFF#000000##FFFFFF
##2F774D1.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)
#776E4A
Deuteranopia (green-blind)
#6D6750
Tritanopia (blue-blind)
#16766C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f774d;
/* rgb */ color: rgb(47, 119, 77);
/* oklch */ color: oklch(51.2% 0.099 155.0);
Tailwind
colors: {
  custom: {
    50: '#6f9f7f',
    500: '#2f774d',
    950: '#000000',
  },
}
SCSS
$custom: #2f774d;
$custom-light: #6f9f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f774d",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 77
  },
  "hsl": {
    "h": 145,
    "s": 43.373,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51195,
    "c": 0.09857,
    "h": 155
  },
  "luminance": 0.14334
}

Semantic roles & 50–950 ramp

primary
#2F774D
secondary
#A75B87
accent
#559ED3
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #2F774D

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

Preview Lab → · Contrast checker → · Palette generator →

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