#2F784C#2F784C

#2F784C is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.101 H 154.1°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#2F784C
RGBrgb(47, 120, 76)
HSLhsl(144, 44%, 33%)
HSVhsv(144, 61%, 47%)
CMYKcmyk(60.8%, 0%, 36.7%, 52.9%)
CIE-LABlab(45.02, -33.52, 17.57)
CIE-LCHlch(45.02, 37.85, 152.34°)
OKLaboklab(51.45% -0.091 0.0441)
OKLCHoklch(51.45% 0.101 154.1)
XYZxyz(9.1925, 14.5582, 9.1617)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F784C #782F5B
analogous
#36782F #2F784C #2F7871
triadic
#2F784C #4C2F78 #784C2F
tetradic
#2F784C #2F3678 #782F5B #78712F
square
#2F784C #2F3678 #782F5B #78712F
split-complementary
#2F784C #712F78 #782F36
monochromatic
#0D2014 #1E4C30 #2F784C #40A468 #60C187

Accessibility & contrast

On white

5.37
#2F784C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#2F784C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F784C
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F784C#FFFFFF#000000##FFFFFF
##2F784C1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F49
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#17776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f784c;
/* rgb */ color: rgb(47, 120, 76);
/* oklch */ color: oklch(51.4% 0.101 154.1);
Tailwind
colors: {
  custom: {
    50: '#6f9f7e',
    500: '#2f784c',
    950: '#000000',
  },
}
SCSS
$custom: #2f784c;
$custom-light: #6f9f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f784c",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 76
  },
  "hsl": {
    "h": 143.836,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51448,
    "c": 0.10112,
    "h": 154.1
  },
  "luminance": 0.14559
}

Semantic roles & 50–950 ramp

primary
#2F784C
secondary
#A85B89
accent
#54A1D3
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #2F784C

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

Preview Lab → · Contrast checker → · Palette generator →

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