#2F784E#2F784E

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

Color values

HEX#2F784E
RGBrgb(47, 120, 78)
HSLhsl(145, 44%, 33%)
HSVhsv(145, 61%, 47%)
CMYKcmyk(60.8%, 0%, 35%, 52.9%)
CIE-LABlab(45.06, -33.10, 16.47)
CIE-LCHlch(45.06, 36.98, 153.55°)
OKLaboklab(51.49% -0.09 0.0415)
OKLCHoklch(51.49% 0.099 155.2)
XYZxyz(9.2631, 14.5865, 9.5336)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F784E #782F59
analogous
#35782F #2F784E #2F7872
triadic
#2F784E #4E2F78 #784E2F
tetradic
#2F784E #2F3578 #782F59 #78722F
square
#2F784E #2F3578 #782F59 #78722F
split-complementary
#2F784E #722F78 #782F35
monochromatic
#0D2015 #1E4C31 #2F784E #40A46B #60C189

Accessibility & contrast

On white

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

On black

3.92
#2F784E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2F784E#FFFFFF#000000##FFFFFF
##2F784E1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4B
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#15776D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2f784e;
/* rgb */ color: rgb(47, 120, 78);
/* oklch */ color: oklch(51.5% 0.099 155.2);
Tailwind
colors: {
  custom: {
    50: '#6f9f80',
    500: '#2f784e',
    950: '#000000',
  },
}
SCSS
$custom: #2f784e;
$custom-light: #6f9f80;
$custom-dark: #000000;
JSON
{
  "hex": "#2f784e",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 78
  },
  "hsl": {
    "h": 145.479,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51493,
    "c": 0.09909,
    "h": 155.2
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#2F784E
secondary
#A85B87
accent
#549DD3
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #2F784E

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

Preview Lab → · Contrast checker → · Palette generator →

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