#2F784A#2F784A

#2F784A is a mid, moderate green. Relative luminance 0.145; OKLCH L 51.4% C 0.103 H 153.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#2F784A
RGBrgb(47, 120, 74)
HSLhsl(142, 44%, 33%)
HSVhsv(142, 61%, 47%)
CMYKcmyk(60.8%, 0%, 38.3%, 52.9%)
CIE-LABlab(44.98, -33.93, 18.67)
CIE-LCHlch(44.98, 38.72, 151.17°)
OKLaboklab(51.4% -0.092 0.0467)
OKLCHoklch(51.4% 0.103 153.1)
XYZxyz(9.1241, 14.5308, 8.8011)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F784A #782F5D
analogous
#38782F #2F784A #2F786F
triadic
#2F784A #4A2F78 #784A2F
tetradic
#2F784A #2F3878 #782F5D #786F2F
square
#2F784A #2F3878 #782F5D #786F2F
split-complementary
#2F784A #6F2F78 #782F38
monochromatic
#0D2014 #1E4C2F #2F784A #40A465 #60C184

Accessibility & contrast

On white

5.38
#2F784A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2F784A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F784A#FFFFFF#000000##FFFFFF
##2F784A1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F47
Deuteranopia (green-blind)
#6E684D
Tritanopia (blue-blind)
#18766C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2f784a;
/* rgb */ color: rgb(47, 120, 74);
/* oklch */ color: oklch(51.4% 0.103 153.1);
Tailwind
colors: {
  custom: {
    50: '#6f9f7d',
    500: '#2f784a',
    950: '#000000',
  },
}
SCSS
$custom: #2f784a;
$custom-light: #6f9f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#2f784a",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 74
  },
  "hsl": {
    "h": 142.192,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51404,
    "c": 0.10317,
    "h": 153.1
  },
  "luminance": 0.14532
}

Semantic roles & 50–950 ramp

primary
#2F784A
secondary
#A85B8B
accent
#54A4D3
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080F09
muted
#7B7E7B

Preview Lab

Preview with #2F784A

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

Preview Lab → · Contrast checker → · Palette generator →

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