#2F784D#2F784D

#2F784D is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.5% C 0.100 H 154.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2F784D
RGBrgb(47, 120, 77)
HSLhsl(145, 44%, 33%)
HSVhsv(145, 61%, 47%)
CMYKcmyk(60.8%, 0%, 35.8%, 52.9%)
CIE-LABlab(45.04, -33.31, 17.02)
CIE-LCHlch(45.04, 37.41, 152.93°)
OKLaboklab(51.47% -0.0905 0.0428)
OKLCHoklch(51.47% 0.1 154.7)
XYZxyz(9.2276, 14.5722, 9.3462)
Luminance0.1457 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F784D #782F5A
analogous
#35782F #2F784D #2F7872
triadic
#2F784D #4D2F78 #784D2F
tetradic
#2F784D #2F3578 #782F5A #78722F
square
#2F784D #2F3578 #782F5A #78722F
split-complementary
#2F784D #722F78 #782F35
monochromatic
#0D2015 #1E4C31 #2F784D #40A469 #60C188

Accessibility & contrast

On white

5.36
#2F784D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F784D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F784D#FFFFFF#000000##FFFFFF
##2F784D1.005.363.915.36
#FFFFFF5.361.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4A
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#16776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f784d;
/* rgb */ color: rgb(47, 120, 77);
/* oklch */ color: oklch(51.5% 0.100 154.7);
Tailwind
colors: {
  custom: {
    50: '#6f9f7f',
    500: '#2f784d',
    950: '#000000',
  },
}
SCSS
$custom: #2f784d;
$custom-light: #6f9f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f784d",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 77
  },
  "hsl": {
    "h": 144.658,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.5147,
    "c": 0.1001,
    "h": 154.7
  },
  "luminance": 0.14573
}

Semantic roles & 50–950 ramp

primary
#2F784D
secondary
#A85B88
accent
#549FD3
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #2F784D

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

Preview Lab → · Contrast checker → · Palette generator →

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